Skip to content

Commit 5450b50

Browse files
Fix-Pointanchao
authored andcommitted
net/igc: Support Intel I226V.
This commit supported Intel I226V. Signed-off-by: ouyangxiangzhen <[email protected]>
1 parent f6a72ad commit 5450b50

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

drivers/net/Kconfig

+4
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,10 @@ config NET_IGC_I225LM
818818
bool "Intel I225LM"
819819
default n
820820

821+
config NET_IGC_I226V
822+
bool "Intel I226V"
823+
default n
824+
821825
endif # NET_IGC
822826

823827
endif # NETDEVICES

drivers/net/igc.c

+16
Original file line numberDiff line numberDiff line change
@@ -213,13 +213,29 @@ static const struct igc_type_s g_igc_i225lm =
213213
};
214214
#endif
215215

216+
#ifdef CONFIG_NET_IGC_I226V
217+
/* Intel I226V */
218+
219+
static const struct igc_type_s g_igc_i226v =
220+
{
221+
.desc_align = 128,
222+
.mta_regs = 128
223+
};
224+
#endif
225+
216226
static const struct pci_device_id_s g_igc_id_table[] =
217227
{
218228
#ifdef CONFIG_NET_IGC_I225LM
219229
{
220230
PCI_DEVICE(0x8086, 0x15f2),
221231
.driver_data = (uintptr_t)&g_igc_i225lm
222232
},
233+
#endif
234+
#ifdef CONFIG_NET_IGC_I226V
235+
{
236+
PCI_DEVICE(0x8086, 0x125c),
237+
.driver_data = (uintptr_t)&g_igc_i226v
238+
},
223239
#endif
224240
{ }
225241
};

0 commit comments

Comments
 (0)