linux/drivers/net/pcs
Vladimir Oltean c46e78ba9a net: pcs: xpcs: fix C73 AN not getting enabled
The XPCS expects clause 73 (copper backplane) autoneg to follow the
ethtool autoneg bit. It actually did that until the blamed
commit inaptly replaced state->an_enabled (coming from ethtool) with
phylink_autoneg_inband() (coming from the device tree or struct
phylink_config), as part of an unrelated phylink_pcs API conversion.

Russell King suggests that state->an_enabled from the original code was
just a proxy for the ethtool Autoneg bit, and that the correct way of
restoring the functionality is to check for this bit in the advertising
mask.

Fixes: 11059740e6 ("net: pcs: xpcs: convert to phylink_pcs_ops")
Link: https://lore.kernel.org/netdev/ZGNt2MFeRolKGFck@shell.armlinux.org.uk/
Suggested-by: Russell King (Oracle) <linux@armlinux.org.uk>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-05-17 12:59:53 +01:00
..
Kconfig net: pcs: add driver for MediaTek SGMII PCS 2023-03-20 19:48:26 -07:00
Makefile net: pcs: add driver for MediaTek SGMII PCS 2023-03-20 19:48:26 -07:00
pcs-altera-tse.c net: pcs: altera-tse: remove unnecessary register definitions 2022-11-29 20:29:55 -08:00
pcs-lynx.c net: pcs: lynx: don't print an_enabled in pcs_get_state() 2023-03-17 08:19:03 +00:00
pcs-mtk-lynxi.c net: pcs: add driver for MediaTek SGMII PCS 2023-03-20 19:48:26 -07:00
pcs-rzn1-miic.c net: pcs: rzn1-miic: remove unused struct members and use miic variable 2023-02-09 22:47:16 -08:00
pcs-xpcs-nxp.c net: update NXP copyright text 2021-09-17 13:52:17 +01:00
pcs-xpcs.c net: pcs: xpcs: fix C73 AN not getting enabled 2023-05-17 12:59:53 +01:00
pcs-xpcs.h net: pcs: xpcs: add CL37 1000BASE-X AN support 2022-06-17 10:55:35 +01:00