]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
r8169: improve handling of Abit Fatal1ty F-190HD
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 15 Jun 2019 07:58:21 +0000 (09:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jun 2019 21:04:34 +0000 (14:04 -0700)
The Abit Fatal1ty F-190HD has a PCI ID quirk and the entry marks this
board as not GBit-capable, what is wrong. According to [0] the board
has a RTL8111B that is GBit-capable, therefore remove the
RTL_CFG_NO_GBIT flag.

[0] https://www.centos.org/forums/viewtopic.php?t=23390

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c

index ef900ebf9203df116562c9b43ad310114bf585bb..2e2a74aa025c47cc4ef2ac421d5c6571252ae5f8 100644 (file)
@@ -214,14 +214,12 @@ static const struct pci_device_id rtl8169_pci_tbl[] = {
        { PCI_VDEVICE(REALTEK,  0x8169) },
        { PCI_VENDOR_ID_DLINK,  0x4300,
                PCI_VENDOR_ID_DLINK, 0x4b10, 0, 0 },
-       { PCI_VDEVICE(DLINK,    0x4300), },
-       { PCI_VDEVICE(DLINK,    0x4302), },
-       { PCI_VDEVICE(AT,       0xc107), },
-       { PCI_VDEVICE(USR,      0x0116), },
-       { PCI_VENDOR_ID_LINKSYS,                0x1032,
-               PCI_ANY_ID, 0x0024, 0, 0 },
-       { 0x0001,                               0x8168,
-               PCI_ANY_ID, 0x2410, 0, 0, RTL_CFG_NO_GBIT },
+       { PCI_VDEVICE(DLINK,    0x4300) },
+       { PCI_VDEVICE(DLINK,    0x4302) },
+       { PCI_VDEVICE(AT,       0xc107) },
+       { PCI_VDEVICE(USR,      0x0116) },
+       { PCI_VENDOR_ID_LINKSYS, 0x1032, PCI_ANY_ID, 0x0024 },
+       { 0x0001, 0x8168, PCI_ANY_ID, 0x2410 },
        {}
 };