linux/drivers/net/dsa/ocelot
Alex Marginean 8c6123e150 net: dsa: felix: Don't restart PCS SGMII AN if not needed
Some PHYs like VSC8234 don't like it when AN restarts on their system side
and they restart line side AN too, going into an endless link up/down loop.
Don't restart PCS AN if link is up already.

Although in theory this feedback loop should be possible with the other
in-band AN modes too, for some reason it was not seen with the VSC8514
QSGMII and AQR412 USXGMII PHYs. So keep this logic only for SGMII where
the problem was found.

Fixes: bdeced75b1 ("net: dsa: felix: Add PCS operations for PHYLINK")
Suggested-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-01-17 13:17:49 +01:00
..
felix_vsc9959.c net: dsa: felix: Don't restart PCS SGMII AN if not needed 2020-01-17 13:17:49 +01:00
felix.c net: dsa: Get information about stacked DSA protocol 2020-01-08 16:01:13 -08:00
felix.h net: dsa: felix: Add PCS operations for PHYLINK 2020-01-05 23:22:33 -08:00
Kconfig net: dsa: felix: Add PCS operations for PHYLINK 2020-01-05 23:22:33 -08:00
Makefile