From: Jakub Kicinski Date: Wed, 9 Jul 2025 01:12:55 +0000 (-0700) Subject: Merge branch 'net-phy-smsc-robustness-fixes-for-lan87xx-lan9500' X-Git-Tag: v6.16-rc6~18^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3c78f91e82d65d8927dc7976636bc5fae666370a;p=thirdparty%2Flinux.git Merge branch 'net-phy-smsc-robustness-fixes-for-lan87xx-lan9500' Oleksij Rempel says: ==================== net: phy: smsc: robustness fixes for LAN87xx/LAN9500 The SMSC 10/100 PHYs (LAN87xx family) found in smsc95xx (lan95xx) USB-Ethernet adapters show several quirks around the Auto-MDIX feature: - A hardware strap (AUTOMDIX_EN) may boot the PHY in fixed-MDI mode, and the current driver cannot always override it. - When Auto-MDIX is left enabled while autonegotiation is forced off, the PHY endlessly swaps the TX/RX pairs and never links up. - The driver sets the enable bit for Auto-MDIX but forgets the override bit, so userspace requests are silently ignored. - Rapid configuration changes can wedge the link if PHY IRQs are enabled. The four patches below make the MDIX state fully predictable and prevent link failures in every tested strap / autoneg / MDI-X permutation. Tested on LAN9512 Eval board. ==================== Link: https://patch.msgid.link/20250703114941.3243890-1-o.rempel@pengutronix.de Signed-off-by: Jakub Kicinski --- 3c78f91e82d65d8927dc7976636bc5fae666370a