Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6a60569 authored by Alexander Duyck's avatar Alexander Duyck Committed by David S. Miller
Browse files

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: default avatarAlexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d1a8c9e1
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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