aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/phy.h
diff options
context:
space:
mode:
authorLuo Jie <luoj@codeaurora.org>2021-10-24 16:27:34 +0800
committerDavid S. Miller <davem@davemloft.net>2021-10-25 14:04:18 +0100
commit63c67f526db86d3102a77437a510c949f6debb08 (patch)
tree8758679654a3dcc908998e0c510bdc0473de10b6 /include/linux/phy.h
parentnet: phy: add constants for fast retrain related register (diff)
downloadlinux-dev-63c67f526db86d3102a77437a510c949f6debb08.tar.xz
linux-dev-63c67f526db86d3102a77437a510c949f6debb08.zip
net: phy: add genphy_c45_fast_retrain
Add generic fast retrain auto-negotiation function for C45 PHYs. Signed-off-by: Luo Jie <luoj@codeaurora.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/phy.h')
-rw-r--r--include/linux/phy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h
index 736e1d1a47c4..04e90423fa88 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -1584,6 +1584,7 @@ int genphy_c45_config_aneg(struct phy_device *phydev);
int genphy_c45_loopback(struct phy_device *phydev, bool enable);
int genphy_c45_pma_resume(struct phy_device *phydev);
int genphy_c45_pma_suspend(struct phy_device *phydev);
+int genphy_c45_fast_retrain(struct phy_device *phydev, bool enable);
/* Generic C45 PHY driver */
extern struct phy_driver genphy_c45_driver;