commit | 4895d7808e7030c831f2ef83a3cc6ec0d46c30b1 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Sun Jul 05 21:27:56 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 07 15:41:04 2020 -0700 |
tree | 5ce4027f9658bae6ae1a8223a18eb1f022ebd2ca | |
parent | 1a4d681634fad302157afcb53a178c4c59cb75ee [diff] |
net: ethtool: Introduce ethtool_phy_ops In order to decouple ethtool from its PHY library dependency, define an ethtool_phy_ops singleton which can be overriden by the PHY library when it loads with an appropriate set of function pointers. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>