mbox series

[net-next,0/2] microchip/micrel switch: replace MICREL_NO_EEE workaround

Message ID 942da603-ec84-4cb8-b452-22b5d8651ec1@gmail.com (mailing list archive)
Headers show
Series microchip/micrel switch: replace MICREL_NO_EEE workaround | expand

Message

Heiner Kallweit Dec. 20, 2024, 1:50 p.m. UTC
On several supported switches the integrated PHY's have buggy EEE.
On the GBit-capable ones it's always the same type of PHY with PHY ID
0x00221631, so I think we can assume that all PHY's with this id
have this EEE issue. Let's simplify the erratum handling by simply
clearing phydev->supported_eee for this PHY type.

Heiner Kallweit (2):
  net: phy: micrel: disable EEE on KSZ9477-type PHY
  net: dsa: microchip: remove MICREL_NO_EEE workaround

 drivers/net/dsa/microchip/ksz_common.c | 25 -------------------------
 drivers/net/phy/micrel.c               | 12 ++++++------
 include/linux/micrel_phy.h             |  1 -
 3 files changed, 6 insertions(+), 32 deletions(-)