Alan Huang has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/59086 )
Change subject: mb/google/brya/var/brask: Make LAN driver to support RT8125 ......................................................................
mb/google/brya/var/brask: Make LAN driver to support RT8125
Add new device id 0x8125 to the driver.
BUG=b:193750191 BRANCH=None TEST=emerge-brask coreboot chromeos-bootimage
Signed-off-by: Alan Huang alan-huang@quanta.corp-partner.google.com Change-Id: Iaa4c41f94fd6e5fd6393abbb30bfc22a149f5d71 --- M src/drivers/net/r8168.c 1 file changed, 7 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/86/59086/1
diff --git a/src/drivers/net/r8168.c b/src/drivers/net/r8168.c index 18e2aff..87fc151 100644 --- a/src/drivers/net/r8168.c +++ b/src/drivers/net/r8168.c @@ -360,10 +360,16 @@ #endif };
+static const unsigned short pci_device_ids[] = { + 0x8186, + 0x8125, + 0 +}; + static const struct pci_driver r8168_driver __pci_driver = { .ops = &r8168_ops, .vendor = 0x10ec, - .device = 0x8168, + .devices = pci_device_ids, };
struct chip_operations drivers_net_ops = {