mbox series

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

Message ID 79f347c6-ac14-475a-8c93-f1a4efc3e15b@gmail.com (mailing list archive)
Headers show
Series microchip/micrel switch: replace MICREL_NO_EEE workaround | expand

Message

Heiner Kallweit Jan. 6, 2025, 1:20 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 erratum handling by calling
phy_disable_eee() for this PHY type.

v2:
- Use phy_disable_eee() instead of clearing supported_eee in patch 1

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(-)