summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaihow Shi <raihow_shi@wistron.corp-partner.google.com>2022-03-23 11:24:33 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-03-24 15:47:37 +0000
commitcb772e54a3bdd95da1e86750baacbb92275bbbda (patch)
tree8c581d10d3810051c16eed0cb915d49a9f7e212e
parent2ac95f42a2579b2973648335259226ae48bd22e6 (diff)
downloadcoreboot-cb772e54a3bdd95da1e86750baacbb92275bbbda.tar.gz
coreboot-cb772e54a3bdd95da1e86750baacbb92275bbbda.tar.bz2
coreboot-cb772e54a3bdd95da1e86750baacbb92275bbbda.zip
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>
-rw-r--r--src/drivers/net/r8168.c1
-rw-r--r--src/include/device/pci_ids.h7
2 files changed, 5 insertions, 3 deletions
diff --git a/src/drivers/net/r8168.c b/src/drivers/net/r8168.c
index b4ef40e4269a..32e02759c141 100644
--- a/src/drivers/net/r8168.c
+++ b/src/drivers/net/r8168.c
@@ -427,6 +427,7 @@ static struct device_operations r8168_ops = {
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 ff7d69ad0a5d..7c460f905279 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