Thread (17 messages) 17 messages, 4 authors, 2021-02-25

Re: [PATCH V1 net-next 0/3] net: stmmac: implement clocks

flat view

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-02-24 13:11:25

Understood. Please double check ethtool callbacks work fine. People
often forget about those when disabling clocks in .close.
The MDIO bus can also be used at any time, not just when the interface
is open. For example the MAC could be connected to an Ethernet switch,
which is managed by the MDIO bus. Or some PHYs have a temperature
sensor which is registered with HWMON when the PHY is probed.

You said you copied the FEC driver. Take a look at that, it was
initially broken in this way, and i needed to extend it when i got a
board with an Ethernet switch attached to the FEC.

      Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help