Add call to superclass init
This commit is contained in:
@@ -293,6 +293,8 @@ class MiiPhy:
|
|||||||
self.tx_clk = tx_clk
|
self.tx_clk = tx_clk
|
||||||
self.rx_clk = rx_clk
|
self.rx_clk = rx_clk
|
||||||
|
|
||||||
|
super().__init__(*args, **kwargs)
|
||||||
|
|
||||||
self.tx = MiiSink(txd, tx_er, tx_en, tx_clk, reset)
|
self.tx = MiiSink(txd, tx_er, tx_en, tx_clk, reset)
|
||||||
self.rx = MiiSource(rxd, rx_er, rx_dv, rx_clk, reset)
|
self.rx = MiiSource(rxd, rx_er, rx_dv, rx_clk, reset)
|
||||||
|
|
||||||
|
|||||||
@@ -319,6 +319,8 @@ class RgmiiPhy:
|
|||||||
self.tx_clk = tx_clk
|
self.tx_clk = tx_clk
|
||||||
self.rx_clk = rx_clk
|
self.rx_clk = rx_clk
|
||||||
|
|
||||||
|
super().__init__(*args, **kwargs)
|
||||||
|
|
||||||
self.tx = RgmiiSink(txd, tx_ctl, tx_clk, reset)
|
self.tx = RgmiiSink(txd, tx_ctl, tx_clk, reset)
|
||||||
self.rx = RgmiiSource(rxd, rx_ctl, rx_clk, reset)
|
self.rx = RgmiiSource(rxd, rx_ctl, rx_clk, reset)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user