drivers/net/e1000.c: add PIDVID of e1000 NIC

add the network card models whose functions have been confirmed to the
id table.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
zhanghongyu 2024-10-11 23:54:21 +08:00 committed by Alan C. Assis
parent 380bcabba8
commit 446aecdd61

View file

@ -261,10 +261,30 @@ static const struct e1000_type_s g_e1000_82574l =
static const struct pci_device_id_s g_e1000_id_table[] =
{
{
PCI_DEVICE(0x8086, 0x1a1c),
.driver_data = (uintptr_t)&g_e1000_i219
},
{
PCI_DEVICE(0x8086, 0x1a1e),
.driver_data = (uintptr_t)&g_e1000_i219
},
{
PCI_DEVICE(0x8086, 0x0d4c),
.driver_data = (uintptr_t)&g_e1000_i219
},
{
PCI_DEVICE(0x8086, 0x0d4d),
.driver_data = (uintptr_t)&g_e1000_i219
},
{
PCI_DEVICE(0x8086, 0x15b8),
.driver_data = (uintptr_t)&g_e1000_i219
},
{
PCI_DEVICE(0x8086, 0x15bb),
.driver_data = (uintptr_t)&g_e1000_i219
},
{
PCI_DEVICE(0x8086, 0x100e),
.driver_data = (uintptr_t)&g_e1000_82540em