]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: Register ethtool PHY operations
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 6 Jul 2020 04:27:57 +0000 (21:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jul 2020 22:41:04 +0000 (15:41 -0700)
commit00cbcfaebc8764d89a04e9b2eee7409e16d148f0
tree867b3c8ddc717c0ee8865e44549765f05c0ba15d
parent77a64a134958107d218ab08ab2abd3ff02715ae1
net: phy: Register ethtool PHY operations

Utilize ethtool_set_ethtool_phy_ops to register a suitable set of PHY
ethtool operations in a dynamic fashion such that ethtool will no longer
directy reference PHY library symbols.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c