diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-11-22 15:37:08 +0300 |
---|---|---|
committer | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-11-23 21:46:26 +0300 |
commit | e3cf8b3668a808c1d252269ffc34a5723cfb9a7b (patch) | |
tree | d9f12ae3ac7a7685c908dd5a1e85bf7f8c0cf08d /Documentation/networking | |
parent | 84bb46cd62283cc371769ec1f77ff7924099f584 (diff) | |
download | linux-e3cf8b3668a808c1d252269ffc34a5723cfb9a7b.tar.xz |
net: phy: remove phy_ethtool_sset()
There are no users of phy_ethtool_sset() in the kernel anymore, and
as of commit 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>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
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. :: |