diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2009-03-31 16:38:38 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-02 03:59:07 -0400 |
commit | a6a605691f666482a261d69da7e0cef7048a434b (patch) | |
tree | 9bdb28002577e1751b4f5fd45bd8cf766c2a40b3 | |
parent | d1a8c9e1c8a49afccc85dfeccd731ccbec52e724 (diff) |
igb: increase delay for copper link setup
Increase the delay for copper phy init from 15ms to 100ms. This is to
address issues seen in which ethtool -t was failing in some cases on 82576
based adapters.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/igb/e1000_phy.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/net/igb/e1000_phy.c b/drivers/net/igb/e1000_phy.c index de2d48624683..f50fac25be40 100644 --- a/drivers/net/igb/e1000_phy.c +++ b/drivers/net/igb/e1000_phy.c | |||
@@ -448,8 +448,11 @@ s32 igb_copper_link_setup_igp(struct e1000_hw *hw) | |||
448 | goto out; | 448 | goto out; |
449 | } | 449 | } |
450 | 450 | ||
451 | /* Wait 15ms for MAC to configure PHY from NVM settings. */ | 451 | /* |
452 | msleep(15); | 452 | * Wait 100ms for MAC to configure PHY from NVM settings, to avoid |
453 | * timeout issues when LFS is enabled. | ||
454 | */ | ||
455 | msleep(100); | ||
453 | 456 | ||
454 | /* | 457 | /* |
455 | * The NVM settings will configure LPLU in D3 for | 458 | * The NVM settings will configure LPLU in D3 for |