From 5ffbedd300f3f7794942f8854d610537f26a2c3e Mon Sep 17 00:00:00 2001 From: Shawn Lin Date: Thu, 21 Feb 2019 15:13:26 +0800 Subject: [PATCH] r8169: add new device ID support It's found a new r8169 ethernet card with a device ID of 0x0000 read from its config header which wasn't in the ID tables of r8169. Add it in order to probe this card. Change-Id: I27c542a10cc571a6e1a4e7a8af62ce560b8b1fc4 Signed-off-by: Shawn Lin --- drivers/net/ethernet/realtek/r8169.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index 5f45ffeeecb4..cc1e004e3b8b 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c @@ -216,6 +216,7 @@ enum cfg_version { static const struct pci_device_id rtl8169_pci_tbl[] = { { PCI_VDEVICE(REALTEK, 0x2502), RTL_CFG_1 }, { PCI_VDEVICE(REALTEK, 0x2600), RTL_CFG_1 }, + { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x0000), 0, 0, RTL_CFG_1 }, { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8129), 0, 0, RTL_CFG_0 }, { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8136), 0, 0, RTL_CFG_2 }, { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8161), 0, 0, RTL_CFG_1 },