igc: Add new device IDs for i225 part
authorSasha Neftin <sasha.neftin@intel.com>
Wed, 11 Mar 2020 09:35:06 +0000 (11:35 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 19 Apr 2020 18:34:11 +0000 (11:34 -0700)
Add new device IDs for the next step of i225

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc_base.c
drivers/net/ethernet/intel/igc/igc_hw.h
drivers/net/ethernet/intel/igc/igc_main.c

index 5a50644..f7fb18d 100644 (file)
@@ -212,6 +212,9 @@ static s32 igc_get_invariants_base(struct igc_hw *hw)
        case IGC_DEV_ID_I225_I:
        case IGC_DEV_ID_I220_V:
        case IGC_DEV_ID_I225_K:
+       case IGC_DEV_ID_I225_K2:
+       case IGC_DEV_ID_I225_LMVP:
+       case IGC_DEV_ID_I225_IT:
        case IGC_DEV_ID_I225_BLANK_NVM:
                mac->type = igc_i225;
                break;
index 90ac0e0..af34ae3 100644 (file)
@@ -21,6 +21,9 @@
 #define IGC_DEV_ID_I225_I                      0x15F8
 #define IGC_DEV_ID_I220_V                      0x15F7
 #define IGC_DEV_ID_I225_K                      0x3100
+#define IGC_DEV_ID_I225_K2                     0x3101
+#define IGC_DEV_ID_I225_LMVP                   0x5502
+#define IGC_DEV_ID_I225_IT                     0x0D9F
 #define IGC_DEV_ID_I225_BLANK_NVM              0x15FD
 
 /* Function pointers for the MAC. */
index 9d1792e..6a7c1b0 100644 (file)
@@ -47,6 +47,9 @@ static const struct pci_device_id igc_pci_tbl[] = {
        { PCI_VDEVICE(INTEL, IGC_DEV_ID_I225_I), board_base },
        { PCI_VDEVICE(INTEL, IGC_DEV_ID_I220_V), board_base },
        { PCI_VDEVICE(INTEL, IGC_DEV_ID_I225_K), board_base },
+       { PCI_VDEVICE(INTEL, IGC_DEV_ID_I225_K2), board_base },
+       { PCI_VDEVICE(INTEL, IGC_DEV_ID_I225_LMVP), board_base },
+       { PCI_VDEVICE(INTEL, IGC_DEV_ID_I225_IT), board_base },
        { PCI_VDEVICE(INTEL, IGC_DEV_ID_I225_BLANK_NVM), board_base },
        /* required last entry */
        {0, }