]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: remove phy_ethtool_sset()
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 22 Nov 2019 12:37:08 +0000 (12:37 +0000)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Sat, 23 Nov 2019 18:46:26 +0000 (10:46 -0800)
commit111879172023dcae8eb881d99b228412d35ae609
treed9f12ae3ac7a7685c908dd5a1e85bf7f8c0cf08d
parent03597d8f386757f78c942dd1b75372d130caf744
net: phy: remove phy_ethtool_sset()

There are no users of phy_ethtool_sset() in the kernel anymore, and
as of commit b3e9409876df ("net: ethernet: Convert phydev advertize
and supported from u32 to link mode"), the implementation is slightly
buggy - it doesn't correctly check the masked advertising mask as it
used to.

Remove it, and update the phy documentation to refer to its replacement
function.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Documentation/networking/phy.rst
drivers/net/phy/phy.c
include/linux/phy.h