svn commit: r210968 - head/sys/dev/e1000
Jack F Vogel
jfv at FreeBSD.org
Fri Aug 6 20:55:50 UTC 2010
Author: jfv
Date: Fri Aug 6 20:55:49 2010
New Revision: 210968
URL: http://svn.freebsd.org/changeset/base/210968
Log:
Put the early setting of the MAC type back, its
removal resulted in broken code in MSIX setup.
Modified:
head/sys/dev/e1000/if_igb.c
Modified: head/sys/dev/e1000/if_igb.c
==============================================================================
--- head/sys/dev/e1000/if_igb.c Fri Aug 6 20:51:39 2010 (r210967)
+++ head/sys/dev/e1000/if_igb.c Fri Aug 6 20:55:49 2010 (r210968)
@@ -2070,6 +2070,9 @@ igb_identify_hardware(struct adapter *ad
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
More information about the svn-src-all
mailing list