phylib: Add support for PHYs with broken forced mode

Add support for PHYs which only supported auto-negotiated
speed modes. This prevents a kernel warning and stack-trace within the
phy_state_machine when PHYs return -EOPNOTSUPP from config_aneg()
because they do not support forced modes.

Signed-off-by: Birger Koblitz <mail@birger-koblitz.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Nicolai Buchwitz <nb@tipi-net.de>
Link: https://patch.msgid.link/20261114-ax88179a-v21-2-c2d34410bcbe@birger-koblitz.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2 files changed