Put the early setting of the MAC type back, its

removal resulted in broken code in MSIX setup.
This commit is contained in:
Jack F Vogel 2010-08-06 20:55:49 +00:00
parent bbbc67e6ff
commit 3b9b3fc3bf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=210968

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