diff options
author | Andrew Lunn <andrew@lunn.ch> | 2024-03-02 20:53:04 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-03-05 19:21:17 -0800 |
commit | 49168d1980e220cf3d1b761e1eafac62041cb94d (patch) | |
tree | c1d841812d9e1d14dae1f81307b2d98086775411 /scripts/get_feat.pl | |
parent | 3e43b903da04927f60894a603678f761c66d6e37 (diff) | |
download | linux-49168d1980e220cf3d1b761e1eafac62041cb94d.tar.gz linux-49168d1980e220cf3d1b761e1eafac62041cb94d.tar.bz2 linux-49168d1980e220cf3d1b761e1eafac62041cb94d.zip |
net: phy: Add phy_support_eee() indicating MAC support EEE
In order for EEE to operate, both the MAC and the PHY need to support
it, similar to how pause works. With some exception - a number of PHYs
have SmartEEE or AutoGrEEEn support in order to provide some EEE-like
power savings with non-EEE capable MACs.
Copy the pause concept and add the call phy_support_eee() which the MAC
makes after connecting the PHY to indicate it supports EEE. phylib will
then advertise EEE when auto-neg is performed.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/r/20240302195306.3207716-6-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/get_feat.pl')
0 files changed, 0 insertions, 0 deletions