]> Gentwo Git Trees - linux/.git/commit
net: phy: micrel: Add Fast link failure support for lan8842
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Wed, 17 Sep 2025 10:46:30 +0000 (12:46 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 18 Sep 2025 22:50:28 +0000 (15:50 -0700)
commit5a26346e6250475038f4b23b5c9348dc8333e6e4
tree416f176215ad2a34d16a75c20338f4f17a5cbfe6
parent38c5b9c38be8303b536d0c15a5f955715bfba534
net: phy: micrel: Add Fast link failure support for lan8842

Add support for fast link failure for lan8842, when this is enabled the
PHY will detect link down immediately (~1ms). The disadvantage of this
is that also small instability might be reported as link down.
Therefore add this feature as a tunable configuration and the user will
know when to enable or not. By default it is not enabled.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250917104630.3931969-1-horatiu.vultur@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/micrel.c