mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 02:36:11 +08:00
net/igc: Support Intel I226V.
This commit supported Intel I226V. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
{ }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user