diff options
Diffstat (limited to 'drivers/net/igb/igb_main.c')
-rw-r--r-- | drivers/net/igb/igb_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c index cb3ac349f3b..e3a3582fec9 100644 --- a/drivers/net/igb/igb_main.c +++ b/drivers/net/igb/igb_main.c | |||
@@ -1243,8 +1243,7 @@ static int __devinit igb_probe(struct pci_dev *pdev, | |||
1243 | 1243 | ||
1244 | if (hw->bus.func == 0 || | 1244 | if (hw->bus.func == 0 || |
1245 | hw->device_id == E1000_DEV_ID_82575EB_COPPER) | 1245 | hw->device_id == E1000_DEV_ID_82575EB_COPPER) |
1246 | hw->nvm.ops.read_nvm(hw, NVM_INIT_CONTROL3_PORT_A, 1, | 1246 | hw->nvm.ops.read(hw, NVM_INIT_CONTROL3_PORT_A, 1, &eeprom_data); |
1247 | &eeprom_data); | ||
1248 | 1247 | ||
1249 | if (eeprom_data & eeprom_apme_mask) | 1248 | if (eeprom_data & eeprom_apme_mask) |
1250 | adapter->eeprom_wol |= E1000_WUFC_MAG; | 1249 | adapter->eeprom_wol |= E1000_WUFC_MAG; |