diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-11-22 12:11:45 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2019-12-08 14:41:38 +0000 |
commit | 8bd4cd88362239081e62f9080429254f2dfaccf7 (patch) | |
tree | 5f6750d0a20f2d390163ba571df8650ed7cac885 /Documentation/networking | |
parent | ff685fedf94661166ddb0899f925ed283f6c22c5 (diff) |
net: phy: remove phy_ethtool_sset()
There are no users of phy_ethtool_sset() in the kernel anymore, and
as of 3c1bcc8614db ("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>
Diffstat (limited to 'Documentation/networking')
-rw-r--r-- | Documentation/networking/phy.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/networking/phy.rst b/Documentation/networking/phy.rst index a689966bc4be..cda1c0a0492a 100644 --- a/Documentation/networking/phy.rst +++ b/Documentation/networking/phy.rst @@ -352,7 +352,8 @@ Fills the phydev structure with up-to-date information about the current settings in the PHY. :: - int phy_ethtool_sset(struct phy_device *phydev, struct ethtool_cmd *cmd); + int phy_ethtool_ksettings_set(struct phy_device *phydev, + const struct ethtool_link_ksettings *cmd); Ethtool convenience functions. :: |