diff options
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r-- | drivers/net/tg3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 8af2cdf181dd..ab3159ef4c56 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -6348,14 +6348,14 @@ static int tg3_chip_reset(struct tg3 *tp) | |||
6348 | tw32_f(MAC_MODE, 0); | 6348 | tw32_f(MAC_MODE, 0); |
6349 | udelay(40); | 6349 | udelay(40); |
6350 | 6350 | ||
6351 | tg3_mdio_start(tp); | ||
6352 | |||
6353 | tg3_ape_unlock(tp, TG3_APE_LOCK_GRC); | 6351 | tg3_ape_unlock(tp, TG3_APE_LOCK_GRC); |
6354 | 6352 | ||
6355 | err = tg3_poll_fw(tp); | 6353 | err = tg3_poll_fw(tp); |
6356 | if (err) | 6354 | if (err) |
6357 | return err; | 6355 | return err; |
6358 | 6356 | ||
6357 | tg3_mdio_start(tp); | ||
6358 | |||
6359 | if ((tp->tg3_flags2 & TG3_FLG2_PCI_EXPRESS) && | 6359 | if ((tp->tg3_flags2 & TG3_FLG2_PCI_EXPRESS) && |
6360 | tp->pci_chip_rev_id != CHIPREV_ID_5750_A0) { | 6360 | tp->pci_chip_rev_id != CHIPREV_ID_5750_A0) { |
6361 | val = tr32(0x7c00); | 6361 | val = tr32(0x7c00); |