]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
net: phy: realtek: convert RTL8211F to .disable_autonomous_eee
authorNicolai Buchwitz <nb@tipi-net.de>
Mon, 6 Apr 2026 07:13:09 +0000 (09:13 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sun, 12 Apr 2026 18:33:23 +0000 (11:33 -0700)
commitbb14e3b63c63a48307843c82180bc8abb34e1acc
tree03c239902b0a9275636774c48f93a46648137dd4
parentbcb3e89fc0ecbe7a2b7ce614b72deda39083ac74
net: phy: realtek: convert RTL8211F to .disable_autonomous_eee

The RTL8211F previously unconditionally disabled PHY-mode EEE in
config_init. Convert this to use the new .disable_autonomous_eee
callback so it is only disabled when the MAC indicates EEE support
via phy_support_eee().

This preserves PHY-autonomous EEE for MACs that do not support EEE,
while still disabling it when the MAC manages LPI.

Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de>
Link: https://patch.msgid.link/20260406-devel-autonomous-eee-v1-3-b335e7143711@tipi-net.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/realtek/realtek_main.c