]> git.ipfire.org Git - thirdparty/linux.git/commit
net: macb: fix SGMII with inband aneg disabled
authorCharles Perry <charles.perry@microchip.com>
Tue, 24 Feb 2026 20:28:52 +0000 (12:28 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 27 Feb 2026 03:19:24 +0000 (19:19 -0800)
commit1338cfef1ff1b95891990f8677631a834c2cf22d
tree8023e8e8a3c1c227e272b157674329e41a9d9b53
parent363c5108e4e2b3b5f99243e61d524dd9c23d8c1b
net: macb: fix SGMII with inband aneg disabled

Make it possible to connect a PHY which does not use inband
autoneg to a gem MAC using phylink's information.

The previous implementation relied on whether or not the link
was a fixed-link to disable SGMII autoneg. This commit extend
this to all link which are not configured for inband
autonegotiation.

Signed-off-by: Charles Perry <charles.perry@microchip.com>
Link: https://patch.msgid.link/20260224202854.112813-2-charles.perry@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cadence/macb_main.c