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

Commit 84efb7b9 authored by Bruce Allan's avatar Bruce Allan Committed by David S. Miller
Browse files

e1000e: provide comment for 82571 workaround

parent fe401674
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1114,6 +1114,13 @@ static void e1000_initialize_hw_bits_82571(struct e1000_hw *hw)
		reg |= (1 << 22);
		ew32(GCR, reg);

		/*
		 * Workaround for hardware errata.
		 * apply workaround for hardware errata documented in errata
		 * docs Fixes issue where some error prone or unreliable PCIe
		 * completions are occurring, particularly with ASPM enabled.
		 * Without fix, issue can cause tx timeouts.
		 */
		reg = er32(GCR2);
		reg |= 1;
		ew32(GCR2, reg);