You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2026/01/08 12:49:13 UTC
(nuttx) 01/02: drivers/net/e1000.c: add PIDVID of e1000 NIC
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 446aecdd613269a335233a70cd3353f976f03294
Author: zhanghongyu <zh...@xiaomi.com>
AuthorDate: Fri Oct 11 23:54:21 2024 +0800
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 <zh...@xiaomi.com>
---
drivers/net/e1000.c | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c
index 707980757a5..4e5247ec44e 100644
--- a/drivers/net/e1000.c
+++ b/drivers/net/e1000.c
@@ -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