drivers/net/r8168: Add support for Realtek RTL8111K
The Realtek RT8168 and RTL8111K have a similar programming interface,
therefore add the PCI device ID for the RTL8111K into driver for support.
BUG=b:226253265
TEST=emerge-brask coreboot chromeos-bootimage.
Signed-off-by: Raihow Shi <raihow_shi@wistron.corp-partner.google.com>
Change-Id: I5ad8f14483393d6f25026847cc0d4229d362bba0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63013
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Zhuohao Lee <zhuohao@google.com>
diff --git a/src/drivers/net/r8168.c b/src/drivers/net/r8168.c
index b4ef40e..32e0275 100644
--- a/src/drivers/net/r8168.c
+++ b/src/drivers/net/r8168.c
@@ -427,6 +427,7 @@
static const unsigned short pci_device_ids[] = {
PCI_DID_REALTEK_8168,
PCI_DID_REALTEK_8125,
+ PCI_DID_REALTEK_8111,
0
};
diff --git a/src/include/device/pci_ids.h b/src/include/device/pci_ids.h
index ff7d69a..7c460f9 100644
--- a/src/include/device/pci_ids.h
+++ b/src/include/device/pci_ids.h
@@ -1298,12 +1298,13 @@
#define PCI_VID_REALTEK 0x10ec
#define PCI_DID_REALTEK_5261 0x5261
#define PCI_DID_REALTEK_8029 0x8029
-#define PCI_DID_REALTEK_8125 0x8125
+#define PCI_DID_REALTEK_8111 0x8111
+#define PCI_DID_REALTEK_8125 0x8125
#define PCI_DID_REALTEK_8129 0x8129
#define PCI_DID_REALTEK_8139 0x8139
-#define PCI_DID_REALTEK_8168 0x8168
+#define PCI_DID_REALTEK_8168 0x8168
-#define PCI_VID_TYAN 0x10f1
+#define PCI_VID_TYAN 0x10f1
#define PCI_VID_XILINX 0x10ee
#define PCI_DID_TURBOPAM 0x4020