aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2023-10-16 16:43:03 +0100
committerJakub Kicinski <kuba@kernel.org>2023-10-17 17:51:53 -0700
commitda5f6b80ad6417f7cf50d273c1c0ecb885e511e8 (patch)
treec30b061111d117dc207c4ec8a680d80d2b493ce4 /Documentation/networking
parent2141297d4257f93ce214a2019d240cb602106973 (diff)
downloadlinux-da5f6b80ad6417f7cf50d273c1c0ecb885e511e8.tar.gz
net: phylink: remove .validate() method
The MAC .validate() method is no longer used, so remove it from the phylink_mac_ops structure, and remove the callsite in phylink_validate_mac_and_pcs(). Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://lore.kernel.org/r/E1qsPkF-009wij-QM@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/networking')
-rw-r--r--Documentation/networking/sfp-phylink.rst5
1 files changed, 0 insertions, 5 deletions
diff --git a/Documentation/networking/sfp-phylink.rst b/Documentation/networking/sfp-phylink.rst
index b069d34d7f5cf1..8054d33f449f56 100644
--- a/Documentation/networking/sfp-phylink.rst
+++ b/Documentation/networking/sfp-phylink.rst
@@ -207,11 +207,6 @@ this documentation.
capabilities for ``interface`` to determine the allowable ethtool link
modes.
- The :c:func:`validate` method should mask the supplied supported mask,
- and ``state->advertising`` with the supported ethtool link modes.
- These are the new ethtool link modes, so bitmask operations must be
- used. For an example, see ``drivers/net/ethernet/marvell/mvneta.c``.
-
The :c:func:`mac_link_state` method is used to read the link state
from the MAC, and report back the settings that the MAC is currently
using. This is particularly important for in-band negotiation