[PATCH net v1 4/4] net: phy: smsc: Disable IRQ support to prevent link state corruption
From: Oleksij Rempel
Date: Tue Jul 01 2025 - 08:22:15 EST
Disable interrupt handling for the LAN87xx PHY to prevent the network
interface from entering a corrupted state after rapid configuration
changes.
When the link configuration is changed quickly, the PHY can get stuck in
a non-functional state. In this state, 'ethtool' reports that a link is
present, but 'ip link' shows NO-CARRIER, and the interface is unable to
transfer data.
Fixes: 1ce8b37241ed ("usbnet: smsc95xx: Forward PHY interrupts to PHY driver to avoid polling")
Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
Cc: Lukas Wunner <lukas@xxxxxxxxx>
---
drivers/net/phy/smsc.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c
index b6489da5cfcd..dac6bf156d15 100644
--- a/drivers/net/phy/smsc.c
+++ b/drivers/net/phy/smsc.c
@@ -746,10 +746,6 @@ static struct phy_driver smsc_phy_driver[] = {
.soft_reset = smsc_phy_reset,
.config_aneg = lan87xx_config_aneg,
- /* IRQ related */
- .config_intr = smsc_phy_config_intr,
- .handle_interrupt = smsc_phy_handle_interrupt,
-
/* Statistics */
.get_sset_count = smsc_get_sset_count,
.get_strings = smsc_get_strings,
--
2.39.5