diff options
Diffstat (limited to 'drivers/net/chelsio/mv88e1xxx.c')
-rw-r--r-- | drivers/net/chelsio/mv88e1xxx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/chelsio/mv88e1xxx.c b/drivers/net/chelsio/mv88e1xxx.c index c7c5854715be..5867e3b0a887 100644 --- a/drivers/net/chelsio/mv88e1xxx.c +++ b/drivers/net/chelsio/mv88e1xxx.c | |||
@@ -312,9 +312,9 @@ static int mv88e1xxx_interrupt_handler(struct cphy *cphy) | |||
312 | (void) simple_mdio_read(cphy, | 312 | (void) simple_mdio_read(cphy, |
313 | MV88E1XXX_SPECIFIC_STATUS_REGISTER, &status); | 313 | MV88E1XXX_SPECIFIC_STATUS_REGISTER, &status); |
314 | 314 | ||
315 | if (status & MV88E1XXX_INTR_LINK_CHNG) { | 315 | if (status & MV88E1XXX_INTR_LINK_CHNG) |
316 | cphy->state |= PHY_LINK_UP; | 316 | cphy->state |= PHY_LINK_UP; |
317 | } else { | 317 | else { |
318 | cphy->state &= ~PHY_LINK_UP; | 318 | cphy->state &= ~PHY_LINK_UP; |
319 | if (cphy->state & PHY_AUTONEG_EN) | 319 | if (cphy->state & PHY_AUTONEG_EN) |
320 | cphy->state &= ~PHY_AUTONEG_RDY; | 320 | cphy->state &= ~PHY_AUTONEG_RDY; |