|
@@ -1728,7 +1728,10 @@ s32 igb_phy_has_link(struct e1000_hw *hw, u32 iterations,
|
|
|
* ownership of the resources, wait and try again to
|
|
|
* see if they have relinquished the resources yet.
|
|
|
*/
|
|
|
- udelay(usec_interval);
|
|
|
+ if (usec_interval >= 1000)
|
|
|
+ mdelay(usec_interval/1000);
|
|
|
+ else
|
|
|
+ udelay(usec_interval);
|
|
|
}
|
|
|
ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status);
|
|
|
if (ret_val)
|