From 6012099d55026c6cbd29a14d153654da62664943 Mon Sep 17 00:00:00 2001 From: jfv Date: Fri, 6 Aug 2010 20:55:49 +0000 Subject: [PATCH] Put the early setting of the MAC type back, its removal resulted in broken code in MSIX setup. --- sys/dev/e1000/if_igb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/e1000/if_igb.c b/sys/dev/e1000/if_igb.c index e6f6bdb5a08b..c908517e45c3 100644 --- a/sys/dev/e1000/if_igb.c +++ b/sys/dev/e1000/if_igb.c @@ -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