[PATCH net-next v1 0/3] net: phy: micrel: add extended PHY support for KSZ9477-class devices

From: Oleksij Rempel
Date: Tue Jun 10 2025 - 05:15:26 EST


Hi all,

This patch series extends the PHY driver support for the Microchip
KSZ9477-class switch-integrated PHYs. These changes enhance ethtool
functionality and diagnostic capabilities by implementing the following
features:
- MDI/MDI-X configuration support
All crossover modes (auto, MDI, MDI-X) are now configurable.

- RX error counter reporting
The RXER counter (reg 0x15) is now accumulated and exported via
ethtool stats.

- Cable test support
Reuses the KSZ9131 implementation to enable open/short fault
detection and approximate fault length reporting.

Oleksij Rempel (3):
net: phy: micrel: add MDI/MDI-X control support for KSZ9477
switch-integrated PHYs
net: phy: micrel: Add RX error counter support for KSZ9477
switch-integrated PHYs
net: phy: micrel: add cable test support for KSZ9477-class PHYs

drivers/net/phy/micrel.c | 111 ++++++++++++++++++++++++++++++++++++++-
1 file changed, 109 insertions(+), 2 deletions(-)

--
2.39.5