]> git.itanic.dy.fi Git - linux-stable/commit
net: sunhme: Just restart autonegotiation if we can't bring the link up
authorSean Anderson <seanga2@gmail.com>
Fri, 24 Mar 2023 17:51:28 +0000 (13:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Mar 2023 07:41:56 +0000 (08:41 +0100)
commit70b1b4b86227c024c29ad54278fa5b80ec535ca9
tree026a2c340e603a0fde199dbbadecad5bcdb62263
parentd61157414d0a591d10d27d0ce5873916614e5e31
net: sunhme: Just restart autonegotiation if we can't bring the link up

If we've tried regular autonegotiation and forcing the link mode, just
restart autonegotiation instead of reinitializing the whole NIC.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunhme.c