diff options
author | Luo Jie <luoj@codeaurora.org> | 2021-10-24 16:27:34 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-25 14:04:18 +0100 |
commit | 63c67f526db86d3102a77437a510c949f6debb08 (patch) | |
tree | 8758679654a3dcc908998e0c510bdc0473de10b6 /include/linux/phy.h | |
parent | 1cf4e9a6fbdbc9850216a2a6d8ed52888679a077 (diff) | |
download | linux-stable-63c67f526db86d3102a77437a510c949f6debb08.tar.gz linux-stable-63c67f526db86d3102a77437a510c949f6debb08.tar.bz2 linux-stable-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.h | 1 |
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; |