mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
net: phy: do not force EEE support
With following patches: commit9b01c885be("net: phy: c22: migrate to genphy_c45_write_eee_adv()") commit5827b16812("net: phy: c45: migrate to genphy_c45_write_eee_adv()") we set the advertisement to potentially supported values. This behavior may introduce new regressions on systems where EEE was disabled by default (BIOS or boot loader configuration or by other ways.) At same time, with this patches, we would overwrite EEE advertisement configuration made over ethtool. To avoid this issues, we need to cache initial and ethtool advertisement configuration and store it for later use. Fixes:9b01c885be("net: phy: c22: migrate to genphy_c45_write_eee_adv()") Fixes:5827b16812("net: phy: c45: migrate to genphy_c45_write_eee_adv()") Fixes:022c3f87f8("net: phy: add genphy_c45_ethtool_get/set_eee() support") 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>
This commit is contained in:
parent
b6478b8c93
commit
3eeca4e199
3 changed files with 41 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue