Put the early setting of the MAC type back, its

removal resulted in broken code in MSIX setup.
This commit is contained in:
jfv 2010-08-06 20:55:49 +00:00
parent 0d945e4c12
commit 6012099d55

View File

@ -2070,6 +2070,9 @@ igb_identify_hardware(struct adapter *adapter)
pci_read_config(dev, PCIR_SUBVEND_0, 2);
adapter->hw.subsystem_device_id =
pci_read_config(dev, PCIR_SUBDEV_0, 2);
/* Set MAC type early for PCI setup */
e1000_set_mac_type(&adapter->hw);
}
static int