diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/at91_emac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/at91_emac.c b/drivers/net/at91_emac.c index d82459b..6e42bfe 100644 --- a/drivers/net/at91_emac.c +++ b/drivers/net/at91_emac.c @@ -208,7 +208,7 @@ static int at91emac_phy_reset(struct eth_device *netdev) at91emac_write(emac, CONFIG_DRIVER_AT91EMAC_PHYADDR, MII_BMCR, (BMCR_ANENABLE | BMCR_ANRESTART)); - for (i = 0; i < 100000 / 100; i++) { + for (i = 0; i < 30000; i++) { at91emac_read(emac, CONFIG_DRIVER_AT91EMAC_PHYADDR, MII_BMSR, &status); if (status & BMSR_ANEGCOMPLETE) |