diff options
author | jfv <jfv@FreeBSD.org> | 2010-08-06 20:55:49 +0000 |
---|---|---|
committer | jfv <jfv@FreeBSD.org> | 2010-08-06 20:55:49 +0000 |
commit | 6012099d55026c6cbd29a14d153654da62664943 (patch) | |
tree | 008be797cf66c074353538c45fe21657df278811 /sys/dev/e1000 | |
parent | 0d945e4c125762f628055ca0f04631e6257d834b (diff) | |
download | FreeBSD-src-6012099d55026c6cbd29a14d153654da62664943.zip FreeBSD-src-6012099d55026c6cbd29a14d153654da62664943.tar.gz |
Put the early setting of the MAC type back, its
removal resulted in broken code in MSIX setup.
Diffstat (limited to 'sys/dev/e1000')
-rw-r--r-- | sys/dev/e1000/if_igb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/e1000/if_igb.c b/sys/dev/e1000/if_igb.c index e6f6bdb..c908517 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 |