]> git.baikalelectronics.ru Git - kernel.git/commitdiff
r8169: Add support for new Realtek Ethernet
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Wed, 2 Jan 2019 06:45:07 +0000 (14:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Jan 2019 20:49:37 +0000 (12:49 -0800)
There are two new Realtek Ethernet devices which are re-branded r8168h.
Add the IDs to to support them.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Reviewed-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c

index 298930d39b7945aa216aa17418d032473b8b4e0e..7fe9180261b880f9f5cc7fd2a7b842798aaa5bf1 100644 (file)
@@ -205,6 +205,8 @@ 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_VDEVICE(REALTEK,  0x8129), RTL_CFG_0 },
        { PCI_VDEVICE(REALTEK,  0x8136), RTL_CFG_2 },
        { PCI_VDEVICE(REALTEK,  0x8161), RTL_CFG_1 },