aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igb/e1000_mac.c
diff options
context:
space:
mode:
authorCarolyn Wyborny <carolyn.wyborny@intel.com>2014-04-11 01:46:40 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2014-04-24 17:41:15 -0700
commit0d451e79567f0c5b51004354e08c95f442491cb4 (patch)
tree715a5c452af1c1346bea5bcdab816347f1e1a47f /drivers/net/ethernet/intel/igb/e1000_mac.c
parentigb: Cleanups to fix line length warnings (diff)
downloadlinux-dev-0d451e79567f0c5b51004354e08c95f442491cb4.tar.xz
linux-dev-0d451e79567f0c5b51004354e08c95f442491cb4.zip
igb: Cleanups to fix msleep warnings
This patch fixes WARNING:MSLEEP found by checkpatch check. Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/e1000_mac.c')
-rw-r--r--drivers/net/ethernet/intel/igb/e1000_mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/igb/e1000_mac.c b/drivers/net/ethernet/intel/igb/e1000_mac.c
index 41fe59c92f7e..2a88595f956c 100644
--- a/drivers/net/ethernet/intel/igb/e1000_mac.c
+++ b/drivers/net/ethernet/intel/igb/e1000_mac.c
@@ -1261,7 +1261,7 @@ s32 igb_get_auto_rd_done(struct e1000_hw *hw)
while (i < AUTO_READ_DONE_TIMEOUT) {
if (rd32(E1000_EECD) & E1000_EECD_AUTO_RD)
break;
- msleep(1);
+ usleep_range(1000, 2000);
i++;
}