From cff30ffcfea978a5262b36f4b5d58acfaad1fd36 Mon Sep 17 00:00:00 2001 From: Jim Ma Date: Thu, 3 Nov 2022 12:42:22 +0000 Subject: [PATCH] igc: Add new device ID I226_LMVP backport from https://github.com/torvalds/linux/commit/8f20571db5270d549a087318840fd1312fad4051 Signed-off-by: Jim Ma --- igc_base.c | 1 + igc_hw.h | 3 ++- igc_main.c | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/igc_base.c b/igc_base.c index d0700d4..e1be963 100644 --- a/igc_base.c +++ b/igc_base.c @@ -215,6 +215,7 @@ static s32 igc_get_invariants_base(struct igc_hw *hw) case IGC_DEV_ID_I225_K2: case IGC_DEV_ID_I226_K: case IGC_DEV_ID_I225_LMVP: + case IGC_DEV_ID_I226_LMVP: case IGC_DEV_ID_I225_IT: case IGC_DEV_ID_I226_LM: case IGC_DEV_ID_I226_V: diff --git a/igc_hw.h b/igc_hw.h index 4e02033..8683458 100644 --- a/igc_hw.h +++ b/igc_hw.h @@ -23,7 +23,8 @@ #define IGC_DEV_ID_I225_K 0x3100 #define IGC_DEV_ID_I225_K2 0x3101 #define IGC_DEV_ID_I226_K 0x3102 -#define IGC_DEV_ID_I225_LMVP 0x5502 +#define IGC_DEV_ID_I225_LMVP 0x5502 +#define IGC_DEV_ID_I226_LMVP 0x5503 #define IGC_DEV_ID_I225_IT 0x0D9F #define IGC_DEV_ID_I226_LM 0x125B #define IGC_DEV_ID_I226_V 0x125C diff --git a/igc_main.c b/igc_main.c index 945f312..288820f 100644 --- a/igc_main.c +++ b/igc_main.c @@ -52,6 +52,7 @@ static const struct pci_device_id igc_pci_tbl[] = { { PCI_VDEVICE(INTEL, IGC_DEV_ID_I225_K2), board_base }, { PCI_VDEVICE(INTEL, IGC_DEV_ID_I226_K), board_base }, { PCI_VDEVICE(INTEL, IGC_DEV_ID_I225_LMVP), board_base }, + { PCI_VDEVICE(INTEL, IGC_DEV_ID_I226_LMVP), board_base }, { PCI_VDEVICE(INTEL, IGC_DEV_ID_I225_IT), board_base }, { PCI_VDEVICE(INTEL, IGC_DEV_ID_I226_LM), board_base }, { PCI_VDEVICE(INTEL, IGC_DEV_ID_I226_V), board_base },