summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-01-25 16:34:35 +0000
committerRussell King <rmk+kernel@armlinux.org.uk>2019-07-09 16:42:09 +0100
commit4a689bac2247a02e8ef279d798ea92e778d0e753 (patch)
treef6f4e003f81bb861b4be822b5f08cf10f2b0f5f2
parent76e534a0594e19add944a6133dacb8a12ab0d39f (diff)
net: marvell: mvpp2x: avoid link status flood
eth2 on the Macchiatobin board floods the system with link status interrupts whilethe link is down. This appears to be caused by the AN bypass logic causing spurious link status change interrupts, despite the port status register indicating that the link remains down. Avoid this by not setting the AN bypass bit for SGMII links. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
-rw-r--r--drivers/net/ethernet/marvell/mvpp2x/mv_gop110_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/mvpp2x/mv_gop110_hw.c b/drivers/net/ethernet/marvell/mvpp2x/mv_gop110_hw.c
index e06d124f831f..1ed2bc5e7c50 100644
--- a/drivers/net/ethernet/marvell/mvpp2x/mv_gop110_hw.c
+++ b/drivers/net/ethernet/marvell/mvpp2x/mv_gop110_hw.c
@@ -264,7 +264,7 @@ static void mv_gop110_gmac_sgmii_cfg(struct gop_hw *gop, int mac_num)
/* configure AN */
an = MV_GMAC_PORT_AUTO_NEG_CFG_EN_PCS_AN_MASK |
- MV_GMAC_PORT_AUTO_NEG_CFG_AN_BYPASS_EN_MASK |
+// MV_GMAC_PORT_AUTO_NEG_CFG_AN_BYPASS_EN_MASK |
MV_GMAC_PORT_AUTO_NEG_CFG_EN_AN_SPEED_MASK |
MV_GMAC_PORT_AUTO_NEG_CFG_EN_FC_AN_MASK |
MV_GMAC_PORT_AUTO_NEG_CFG_EN_FDX_AN_MASK |