Skip to content

Commit 152c0a9

Browse files
Yanir LubetkinJeff Kirsher
authored andcommitted
e1000e: NVM write protect access removed from SPT HW
The call to e1000e_write_protect_nvm_ich8lan() is no longer supported by HW. Access to these registers causes a system freeze in A step hardware and is ignored in B step hardware. This function must not be called in hardware newer than LPT. 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>
1 parent a60a132 commit 152c0a9

File tree

1 file changed

+2
-1
lines changed
  • drivers/net/ethernet/intel/e1000e

1 file changed

+2
-1
lines changed

drivers/net/ethernet/intel/e1000e/netdev.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6874,7 +6874,8 @@ static int e1000_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
68746874
goto err_hw_init;
68756875

68766876
if ((adapter->flags & FLAG_IS_ICH) &&
6877-
(adapter->flags & FLAG_READ_ONLY_NVM))
6877+
(adapter->flags & FLAG_READ_ONLY_NVM) &&
6878+
(hw->mac.type < e1000_pch_spt))
68786879
e1000e_write_protect_nvm_ich8lan(&adapter->hw);
68796880

68806881
hw->mac.ops.get_bus_info(&adapter->hw);

0 commit comments

Comments
 (0)