ixgbe: cleanup short msleep's (<20ms) to use usleep_range
authorDon Skidmore <donald.c.skidmore@intel.com>
Fri, 18 Mar 2011 09:32:53 +0000 (09:32 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 14 Apr 2011 02:23:11 +0000 (19:23 -0700)
commit032b4325b61b03f87f0346d0e92e39f785e24105
tree10d20725cd30ad4c5daed140c779307f9f393f3f
parent0fa6d83258252695203d24c8818092644df10fd7
ixgbe: cleanup short msleep's (<20ms) to use usleep_range

Since msleep might not sleep for the desired amount when less
than 20ms use usleep_range.

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_82598.c
drivers/net/ixgbe/ixgbe_82599.c
drivers/net/ixgbe/ixgbe_common.c
drivers/net/ixgbe/ixgbe_dcb_nl.c
drivers/net/ixgbe/ixgbe_ethtool.c
drivers/net/ixgbe/ixgbe_main.c
drivers/net/ixgbe/ixgbe_phy.c
drivers/net/ixgbe/ixgbe_x540.c