diff options
Diffstat (limited to 'drivers/net/e1000e/es2lan.c')
-rw-r--r-- | drivers/net/e1000e/es2lan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/e1000e/es2lan.c b/drivers/net/e1000e/es2lan.c index 2fefa820302b..0279695b6942 100644 --- a/drivers/net/e1000e/es2lan.c +++ b/drivers/net/e1000e/es2lan.c | |||
@@ -612,7 +612,7 @@ static s32 e1000_get_cfg_done_80003es2lan(struct e1000_hw *hw) | |||
612 | while (timeout) { | 612 | while (timeout) { |
613 | if (er32(EEMNGCTL) & mask) | 613 | if (er32(EEMNGCTL) & mask) |
614 | break; | 614 | break; |
615 | msleep(1); | 615 | usleep_range(1000, 2000); |
616 | timeout--; | 616 | timeout--; |
617 | } | 617 | } |
618 | if (!timeout) { | 618 | if (!timeout) { |
@@ -802,7 +802,7 @@ static s32 e1000_reset_hw_80003es2lan(struct e1000_hw *hw) | |||
802 | ew32(TCTL, E1000_TCTL_PSP); | 802 | ew32(TCTL, E1000_TCTL_PSP); |
803 | e1e_flush(); | 803 | e1e_flush(); |
804 | 804 | ||
805 | msleep(10); | 805 | usleep_range(10000, 20000); |
806 | 806 | ||
807 | ctrl = er32(CTRL); | 807 | ctrl = er32(CTRL); |
808 | 808 | ||