diff options
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_phy.c')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_phy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ixgbe/ixgbe_phy.c b/drivers/net/ixgbe/ixgbe_phy.c index df5b8aa4795..31cc29ed137 100644 --- a/drivers/net/ixgbe/ixgbe_phy.c +++ b/drivers/net/ixgbe/ixgbe_phy.c | |||
@@ -753,7 +753,7 @@ s32 ixgbe_reset_phy_nl(struct ixgbe_hw *hw) | |||
753 | &phy_data); | 753 | &phy_data); |
754 | if ((phy_data & MDIO_CTRL1_RESET) == 0) | 754 | if ((phy_data & MDIO_CTRL1_RESET) == 0) |
755 | break; | 755 | break; |
756 | msleep(10); | 756 | usleep_range(10000, 20000); |
757 | } | 757 | } |
758 | 758 | ||
759 | if ((phy_data & MDIO_CTRL1_RESET) != 0) { | 759 | if ((phy_data & MDIO_CTRL1_RESET) != 0) { |
@@ -782,7 +782,7 @@ s32 ixgbe_reset_phy_nl(struct ixgbe_hw *hw) | |||
782 | case IXGBE_DELAY_NL: | 782 | case IXGBE_DELAY_NL: |
783 | data_offset++; | 783 | data_offset++; |
784 | hw_dbg(hw, "DELAY: %d MS\n", edata); | 784 | hw_dbg(hw, "DELAY: %d MS\n", edata); |
785 | msleep(edata); | 785 | usleep_range(edata * 1000, edata * 2000); |
786 | break; | 786 | break; |
787 | case IXGBE_DATA_NL: | 787 | case IXGBE_DATA_NL: |
788 | hw_dbg(hw, "DATA:\n"); | 788 | hw_dbg(hw, "DATA:\n"); |