aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2024-11-25 09:40:50 +0100
committerJakub Kicinski <kuba@kernel.org>2024-12-02 18:56:41 -0800
commitccb989e4d1efe0dd81b28c437443532d80d9ecee (patch)
tree797ba0f99a623be36810d826532f424b1701b9e9 /drivers/net/ethernet/intel/ice/ice_main.c
parent51ee075d698bb3e8df8287ac80447a18c723dd5a (diff)
downloadlinux-ccb989e4d1efe0dd81b28c437443532d80d9ecee.tar.gz
linux-ccb989e4d1efe0dd81b28c437443532d80d9ecee.tar.bz2
linux-ccb989e4d1efe0dd81b28c437443532d80d9ecee.zip
net: phy: microchip: Reset LAN88xx PHY to ensure clean link state on LAN7800/7850
Fix outdated MII_LPA data in the LAN88xx PHY, which is used in LAN7800 and LAN7850 USB Ethernet controllers. Due to a hardware limitation, the PHY cannot reliably update link status after parallel detection when the link partner does not support auto-negotiation. To mitigate this, add a PHY reset in `lan88xx_link_change_notify()` when `phydev->state` is `PHY_NOLINK`, ensuring the PHY starts in a clean state and reports accurate fixed link parallel detection results. Fixes: 792aec47d59d9 ("add microchip LAN88xx phy driver") Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://patch.msgid.link/20241125084050.414352-1-o.rempel@pengutronix.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions