diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2023-02-22 06:50:41 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-02-23 13:43:23 +0100 |
commit | b6478b8c93304fa0483e4657779b44634a1711c7 (patch) | |
tree | f841dd7706a12d3a12ffd8ddb5b44cc184378a64 /include | |
parent | net: phy: c45: use "supported_eee" instead of supported for access validation (diff) | |
download | linux-b6478b8c93304fa0483e4657779b44634a1711c7.tar.xz linux-b6478b8c93304fa0483e4657779b44634a1711c7.zip |
net: phy: c45: add genphy_c45_an_config_eee_aneg() function
Add new genphy_c45_an_config_eee_aneg() function and replace some of
genphy_c45_write_eee_adv() calls. This will be needed by the next patch.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include')
-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 727bff531a14..19d83e112beb 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -1765,6 +1765,7 @@ int genphy_c45_ethtool_get_eee(struct phy_device *phydev, int genphy_c45_ethtool_set_eee(struct phy_device *phydev, struct ethtool_eee *data); int genphy_c45_write_eee_adv(struct phy_device *phydev, unsigned long *adv); +int genphy_c45_an_config_eee_aneg(struct phy_device *phydev); /* Generic C45 PHY driver */ extern struct phy_driver genphy_c45_driver; |