diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-10-22 21:31:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-24 06:42:52 +0300 |
commit | fa6e98cee558622565c97924e922b97340aeabd8 (patch) | |
tree | 643c050b23cf2a8a78921885c43310f4739e1e8d /include | |
parent | e7312efbd5dec50d791dd98bd92ec9ae4f05a832 (diff) | |
download | linux-fa6e98cee558622565c97924e922b97340aeabd8.tar.xz |
net: phy: add support for clause 37 auto-negotiation
This patch adds support for clause 37 1000Base-X auto-negotiation.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Tao Ren <taoren@fb.com>
Tested-by: René van Dorst <opensource@vdorst.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/phy.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 9a0e981df502..78436d58ce7c 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -1106,6 +1106,10 @@ int genphy_read_mmd_unsupported(struct phy_device *phdev, int devad, int genphy_write_mmd_unsupported(struct phy_device *phdev, int devnum, u16 regnum, u16 val); +/* Clause 37 */ +int genphy_c37_config_aneg(struct phy_device *phydev); +int genphy_c37_read_status(struct phy_device *phydev); + /* Clause 45 PHY */ int genphy_c45_restart_aneg(struct phy_device *phydev); int genphy_c45_check_and_restart_aneg(struct phy_device *phydev, bool restart); |