diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2024-12-20 06:07:54 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-20 06:07:55 +0300 |
| commit | 5fde7edadea66eb2a71ab4ceef2cd8e5a0273da9 (patch) | |
| tree | 418d622a3cbc1b5bc69fefb747e22d132aeb6aa8 /include/linux/phy.h | |
| parent | e8f33238052b41d20a115bce527e4ee532dc509c (diff) | |
| parent | c9f5a5dabbf5ab53a6392d7c782d373d2c892e21 (diff) | |
| download | linux-5fde7edadea66eb2a71ab4ceef2cd8e5a0273da9.tar.xz | |
Merge branch 'net-add-and-use-phy_disable_eee'
Heiner Kallweit says:
====================
net: add and use phy_disable_eee
If a MAC driver doesn't support EEE, then the PHY shouldn't advertise it.
Add phy_disable_eee() for this purpose, and use it in cpsw driver.
====================
Link: https://patch.msgid.link/5139374e-7151-4d0d-8ba9-9ec3d9b52f67@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
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 e597a32cc787..5bc71d59910c 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -2071,6 +2071,7 @@ void phy_advertise_eee_all(struct phy_device *phydev); void phy_support_sym_pause(struct phy_device *phydev); void phy_support_asym_pause(struct phy_device *phydev); void phy_support_eee(struct phy_device *phydev); +void phy_disable_eee(struct phy_device *phydev); void phy_set_sym_pause(struct phy_device *phydev, bool rx, bool tx, bool autoneg); void phy_set_asym_pause(struct phy_device *phydev, bool rx, bool tx); |
