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>
This commit is contained in:
Raihow Shi 2022-03-23 11:24:33 +08:00 committed by Felix Held
parent 2ac95f42a2
commit cb772e54a3
2 changed files with 5 additions and 3 deletions

View File

@ -427,6 +427,7 @@ static struct device_operations r8168_ops = {
static const unsigned short pci_device_ids[] = { static const unsigned short pci_device_ids[] = {
PCI_DID_REALTEK_8168, PCI_DID_REALTEK_8168,
PCI_DID_REALTEK_8125, PCI_DID_REALTEK_8125,
PCI_DID_REALTEK_8111,
0 0
}; };

View File

@ -1298,12 +1298,13 @@
#define PCI_VID_REALTEK 0x10ec #define PCI_VID_REALTEK 0x10ec
#define PCI_DID_REALTEK_5261 0x5261 #define PCI_DID_REALTEK_5261 0x5261
#define PCI_DID_REALTEK_8029 0x8029 #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_8129 0x8129
#define PCI_DID_REALTEK_8139 0x8139 #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_VID_XILINX 0x10ee
#define PCI_DID_TURBOPAM 0x4020 #define PCI_DID_TURBOPAM 0x4020