net/igc: Support Intel I226V.

This commit supported Intel I226V.

Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
This commit is contained in:
ouyangxiangzhen
2024-11-04 21:03:57 +08:00
committed by archer
parent f6a72ad0f4
commit 5450b50951
2 changed files with 20 additions and 0 deletions
+4
View File
@@ -818,6 +818,10 @@ config NET_IGC_I225LM
bool "Intel I225LM"
default n
config NET_IGC_I226V
bool "Intel I226V"
default n
endif # NET_IGC
endif # NETDEVICES
+16
View File
@@ -213,6 +213,16 @@ static const struct igc_type_s g_igc_i225lm =
};
#endif
#ifdef CONFIG_NET_IGC_I226V
/* Intel I226V */
static const struct igc_type_s g_igc_i226v =
{
.desc_align = 128,
.mta_regs = 128
};
#endif
static const struct pci_device_id_s g_igc_id_table[] =
{
#ifdef CONFIG_NET_IGC_I225LM
@@ -220,6 +230,12 @@ static const struct pci_device_id_s g_igc_id_table[] =
PCI_DEVICE(0x8086, 0x15f2),
.driver_data = (uintptr_t)&g_igc_i225lm
},
#endif
#ifdef CONFIG_NET_IGC_I226V
{
PCI_DEVICE(0x8086, 0x125c),
.driver_data = (uintptr_t)&g_igc_i226v
},
#endif
{ }
};