linux-stable/drivers/net/pcs
Vladimir Oltean 2f4503f94c net: pcs: lynx: fix lynx_pcs_link_up_sgmii() not doing anything in fixed-link mode
lynx_pcs_link_up_sgmii() is supposed to update the PCS speed and duplex
for the non-inband operating modes, and prior to the blamed commit, it
did just that, but a mistake sneaked into the conversion and reversed
the condition.

It is easy for this to go undetected on platforms that also initialize
the PCS in the bootloader, because Linux doesn't reset it (although
maybe it should). The nature of the bug is that phylink will not touch
the IF_MODE_HALF_DUPLEX | IF_MODE_SPEED_MSK fields when it should, and
it will apparently keep working if the previous values set by the
bootloader were correct.

Fixes: c689a6528c ("net: pcs: lynx: update PCS driver to use neg_mode")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-08-13 12:32:44 +01:00
..
Kconfig net: pcs: Drop the TSE PCS driver 2023-06-05 09:56:36 +01:00
Makefile net: pcs: Drop the TSE PCS driver 2023-06-05 09:56:36 +01:00
pcs-lynx.c net: pcs: lynx: fix lynx_pcs_link_up_sgmii() not doing anything in fixed-link mode 2023-08-13 12:32:44 +01:00
pcs-mtk-lynxi.c net: pcs: lynxi: update PCS driver to use neg_mode 2023-06-22 19:41:01 -07:00
pcs-rzn1-miic.c net: phy/pcs: Explicitly include correct DT includes 2023-07-26 21:55:37 -07:00
pcs-xpcs-nxp.c net: update NXP copyright text 2021-09-17 13:52:17 +01:00
pcs-xpcs.c net: pcs: xpcs: update PCS driver to use neg_mode 2023-06-22 19:41:01 -07:00
pcs-xpcs.h net: pcs: xpcs: clean up reading clause 73 link partner advertisement 2023-05-24 09:13:22 -07:00