kernel - Add quad intel gige PCIe ethernet adapter pci ids
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 13 Apr 2011 03:42:44 +0000 (20:42 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 13 Apr 2011 03:42:44 +0000 (20:42 -0700)
* Add E1000_DEV_ID_82576_QUAD_COPPER_ET2, probes igbX.

Taken-from: FreeBSD

sys/dev/netif/e1000/e1000_api.c
sys/dev/netif/e1000/e1000_hw.h
sys/dev/netif/e1000/if_igb.c

index bf9fa2a..4bf4b3b 100644 (file)
@@ -269,6 +269,7 @@ s32 e1000_set_mac_type(struct e1000_hw *hw)
        case E1000_DEV_ID_82576_FIBER:
        case E1000_DEV_ID_82576_SERDES:
        case E1000_DEV_ID_82576_QUAD_COPPER:
+       case E1000_DEV_ID_82576_QUAD_COPPER_ET2:
        case E1000_DEV_ID_82576_NS:
        case E1000_DEV_ID_82576_NS_SERDES:
        case E1000_DEV_ID_82576_SERDES_QUAD:
index fd30173..bc35cb3 100644 (file)
@@ -130,6 +130,7 @@ struct e1000_hw;
 #define E1000_DEV_ID_82576_FIBER              0x10E6
 #define E1000_DEV_ID_82576_SERDES             0x10E7
 #define E1000_DEV_ID_82576_QUAD_COPPER        0x10E8
+#define E1000_DEV_ID_82576_QUAD_COPPER_ET2    0x1526
 #define E1000_DEV_ID_82576_NS                 0x150A
 #define E1000_DEV_ID_82576_NS_SERDES          0x1518
 #define E1000_DEV_ID_82576_SERDES_QUAD        0x150D
index a4a07b8..8129c02 100644 (file)
@@ -128,6 +128,8 @@ static igb_vendor_info_t igb_vendor_info_array[] =
                                                PCI_ANY_ID, PCI_ANY_ID, 0},
        { 0x8086, E1000_DEV_ID_82576_QUAD_COPPER,
                                                PCI_ANY_ID, PCI_ANY_ID, 0},
+       { 0x8086, E1000_DEV_ID_82576_QUAD_COPPER_ET2,
+                                               PCI_ANY_ID, PCI_ANY_ID, 0},
        { 0x8086, E1000_DEV_ID_82580_COPPER,    PCI_ANY_ID, PCI_ANY_ID, 0},
        { 0x8086, E1000_DEV_ID_82580_FIBER,     PCI_ANY_ID, PCI_ANY_ID, 0},
        { 0x8086, E1000_DEV_ID_82580_SERDES,    PCI_ANY_ID, PCI_ANY_ID, 0},