Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

e1000e: i219 - k1 workaround for LPT is not required for SPT

In SPT hardware does not require this driver workaround.
Removed the conditional that caused K1 workaround execution on SPT.

Signed-off-by: Yanir Lubetkin <yanirx.lubetkin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

authored by

Yanir Lubetkin and committed by
Jeff Kirsher
352f8ead 93cbfc70

+1 -2
+1 -2
drivers/net/ethernet/intel/e1000e/ich8lan.c
··· 1489 1489 if ((hw->adapter->pdev->device == E1000_DEV_ID_PCH_LPTLP_I218_LM) || 1490 1490 (hw->adapter->pdev->device == E1000_DEV_ID_PCH_LPTLP_I218_V) || 1491 1491 (hw->adapter->pdev->device == E1000_DEV_ID_PCH_I218_LM3) || 1492 - (hw->adapter->pdev->device == E1000_DEV_ID_PCH_I218_V3) || 1493 - (hw->mac.type == e1000_pch_spt)) { 1492 + (hw->adapter->pdev->device == E1000_DEV_ID_PCH_I218_V3)) { 1494 1493 ret_val = e1000_k1_workaround_lpt_lp(hw, link); 1495 1494 if (ret_val) 1496 1495 return ret_val;