]> www.infradead.org Git - users/hch/misc.git/commit
net: phylink: provide fixed state for 1000base-X and 2500base-X
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 13 Jan 2025 09:22:44 +0000 (09:22 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 15 Jan 2025 21:23:30 +0000 (13:23 -0800)
commite432ffc14b177f2394dd7dad04eae6d5a83c61e1
tree749e7007316b2f32cf23bef766c344e05d120ed3
parent60a331fff5e80a1f89260e2b1701c22e2ba08daf
net: phylink: provide fixed state for 1000base-X and 2500base-X

When decoding clause 22 state, if in-band is disabled and using either
1000base-X or 2500base-X, rather than reporting link-down, we know the
speed, and we only support full duplex. Pause modes taken from XPCS.

This fixes a problem reported by Eric Woudstra.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Tested-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/E1tXGei-000EtL-Fn@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/phylink.c