diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2009-03-31 22:38:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-02 09:59:07 +0200 |
commit | a6a605691f666482a261d69da7e0cef7048a434b (patch) | |
tree | 9bdb28002577e1751b4f5fd45bd8cf766c2a40b3 | |
parent | igb: set num_rx/tx_queues to 0 when queues are freed (diff) | |
download | linux-a6a605691f666482a261d69da7e0cef7048a434b.tar.xz linux-a6a605691f666482a261d69da7e0cef7048a434b.zip |
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) goto out; } - /* Wait 15ms for MAC to configure PHY from NVM settings. */ - msleep(15); + /* + * Wait 100ms for MAC to configure PHY from NVM settings, to avoid + * timeout issues when LFS is enabled. + */ + msleep(100); /* * The NVM settings will configure LPLU in D3 for |