aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_x540.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_x540.c')
-rw-r--r--drivers/net/ixgbe/ixgbe_x540.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ixgbe/ixgbe_x540.c b/drivers/net/ixgbe/ixgbe_x540.c
index 295c17003d6..8aa1dc1155a 100644
--- a/drivers/net/ixgbe/ixgbe_x540.c
+++ b/drivers/net/ixgbe/ixgbe_x540.c
@@ -563,7 +563,7 @@ static s32 ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw *hw, u16 mask)
563 * resource (swmask) 563 * resource (swmask)
564 */ 564 */
565 ixgbe_release_swfw_sync_semaphore(hw); 565 ixgbe_release_swfw_sync_semaphore(hw);
566 msleep(5); 566 usleep_range(5000, 10000);
567 } 567 }
568 } 568 }
569 569
@@ -585,7 +585,7 @@ static s32 ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw *hw, u16 mask)
585 } 585 }
586 } 586 }
587 587
588 msleep(5); 588 usleep_range(5000, 10000);
589 return 0; 589 return 0;
590} 590}
591 591
@@ -609,7 +609,7 @@ static void ixgbe_release_swfw_sync_X540(struct ixgbe_hw *hw, u16 mask)
609 IXGBE_WRITE_REG(hw, IXGBE_SWFW_SYNC, swfw_sync); 609 IXGBE_WRITE_REG(hw, IXGBE_SWFW_SYNC, swfw_sync);
610 610
611 ixgbe_release_swfw_sync_semaphore(hw); 611 ixgbe_release_swfw_sync_semaphore(hw);
612 msleep(5); 612 usleep_range(5000, 10000);
613} 613}
614 614
615/** 615/**