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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to