mirror-linux/drivers/net/pcs
Russell King (Oracle) 07782db81e net: pcs: xpcs: remove double-read of link state when using AN
[ Upstream commit ef63461caf ]

Phylink does not want the current state of the link when reading the
PCS link state - it wants the latched state. Don't double-read the
MII status register. Phylink will re-read as necessary to capture
transient link-down events as of dbae3388ea ("net: phylink: Force
retrigger in case of latched link-fail indicator").

The above referenced commit is a dependency for this change, and thus
this change should not be backported to any kernel that does not
contain the above referenced commit.

Fixes: fcb26bd2b6 ("net: phy: Add Synopsys DesignWare XPCS MDIO module")
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-11 23:03:18 +09:00
..
Kconfig net: pcs: add new PCS driver for altera TSE PCS 2022-09-05 10:16:53 +01:00
Makefile net: pcs: add new PCS driver for altera TSE PCS 2022-09-05 10:16:53 +01:00
pcs-altera-tse.c net: pcs: add new PCS driver for altera TSE PCS 2022-09-05 10:16:53 +01:00
pcs-lynx.c net: pcs: lynx: consolidate sgmii and 1000base-x config code 2022-06-24 11:27:24 -07:00
pcs-rzn1-miic.c net: pcs: rzn1-miic: update speed only if interface is changed 2022-07-01 19:16:00 -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: remove double-read of link state when using AN 2023-05-11 23:03:18 +09:00
pcs-xpcs.h net: pcs: xpcs: add CL37 1000BASE-X AN support 2022-06-17 10:55:35 +01:00