net: phy: micrel: remove KSZ9477 EEE quirks now handled by phylink
authorOleksij Rempel <o.rempel@pengutronix.de>
Sun, 4 May 2025 08:14:34 +0000 (10:14 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 13 May 2025 08:23:24 +0000 (10:23 +0200)
commit8c619eb21b8e87ae95877e9cca9fcb0e3115776e
tree134d3cb0ac680e665b93c99dfa58001b19a34e31
parent76ca05e0abe31a4f47a5b5a85041b5a22c03baf8
net: phy: micrel: remove KSZ9477 EEE quirks now handled by phylink

The KSZ9477 PHY driver contained workarounds for broken EEE capability
advertisements by manually masking supported EEE modes and forcibly
disabling EEE if MICREL_NO_EEE was set.

With proper MAC-side EEE handling implemented via phylink, these quirks
are no longer necessary. Remove MICREL_NO_EEE handling and the use of
ksz9477_get_features().

This simplifies the PHY driver and avoids duplicated EEE management logic.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: stable@vger.kernel.org # v6.14+
Link: https://patch.msgid.link/20250504081434.424489-3-o.rempel@pengutronix.de
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/micrel.c
include/linux/micrel_phy.h