summaryrefslogtreecommitdiff
path: root/include/linux/phylink.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2020-03-17 17:52:41 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-18 08:51:16 +0300
commitb8679ef8bedfe2bae90c97bc4c8a1826cfd98bba (patch)
treefd25a60497744832cafe42fdb2b8a68764b69e36 /include/linux/phylink.h
parent74db1c18d80aaacdc42e6d00d7aca2bb5c97c7ea (diff)
downloadlinux-b8679ef8bedfe2bae90c97bc4c8a1826cfd98bba.tar.xz
net: phylink: pcs: add 802.3 clause 45 helpers
Implement helpers for PCS accessed via the MII bus using 802.3 clause 45 cycles for 10GBASE-R. Only link up/down is supported, 10G full duplex is assumed. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/phylink.h')
-rw-r--r--include/linux/phylink.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/phylink.h b/include/linux/phylink.h
index de591c2fb37e..8fa6df3b881b 100644
--- a/include/linux/phylink.h
+++ b/include/linux/phylink.h
@@ -323,4 +323,6 @@ int phylink_mii_c22_pcs_set_advertisement(struct mdio_device *pcs,
const struct phylink_link_state *state);
void phylink_mii_c22_pcs_an_restart(struct mdio_device *pcs);
+void phylink_mii_c45_pcs_get_state(struct mdio_device *pcs,
+ struct phylink_link_state *state);
#endif