* [PATCH] r8169: add support for NCube 8168 network card
@ 2018-08-31 12:06 Anthony Wong
2018-09-04 2:05 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Anthony Wong @ 2018-08-31 12:06 UTC (permalink / raw)
To: nic_swsd, bhelgaas, netdev, davem, linux-kernel, linux-pci
This card identifies itself as:
Ethernet controller [0200]: NCube Device [10ff:8168] (rev 06)
Subsystem: TP-LINK Technologies Co., Ltd. Device [7470:3468]
Adding a new entry to rtl8169_pci_tbl makes the card work.
Link: http://launchpad.net/bugs/1788730
Cc: <stable@vger.kernel.org>
Signed-off-by: Anthony Wong <anthony.wong@ubuntu.com>
---
drivers/net/ethernet/realtek/r8169.c | 1 +
include/linux/pci_ids.h | 2 ++
2 files changed, 3 insertions(+)
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c
index ac30679..b08d51b 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -218,6 +218,7 @@ static const struct pci_device_id rtl8169_pci_tbl[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8161), 0, 0, RTL_CFG_1 },
{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8167), 0, 0, RTL_CFG_0 },
{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8168), 0, 0, RTL_CFG_1 },
+ { PCI_DEVICE(PCI_VENDOR_ID_NCUBE, 0x8168), 0, 0, RTL_CFG_1 },
{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8169), 0, 0, RTL_CFG_0 },
{ PCI_VENDOR_ID_DLINK, 0x4300,
PCI_VENDOR_ID_DLINK, 0x4b10, 0, 0, RTL_CFG_1 },
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 6656286..d4afd80 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -3088,4 +3088,6 @@
#define PCI_VENDOR_ID_OCZ 0x1b85
+#define PCI_VENDOR_ID_NCUBE 0x10ff
+
#endif /* _LINUX_PCI_IDS_H */
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] r8169: add support for NCube 8168 network card
2018-08-31 12:06 [PATCH] r8169: add support for NCube 8168 network card Anthony Wong
@ 2018-09-04 2:05 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-09-04 2:05 UTC (permalink / raw)
To: anthony.wong; +Cc: nic_swsd, bhelgaas, netdev, linux-kernel, linux-pci
From: Anthony Wong <anthony.wong@ubuntu.com>
Date: Fri, 31 Aug 2018 20:06:42 +0800
> This card identifies itself as:
> Ethernet controller [0200]: NCube Device [10ff:8168] (rev 06)
> Subsystem: TP-LINK Technologies Co., Ltd. Device [7470:3468]
>
> Adding a new entry to rtl8169_pci_tbl makes the card work.
>
> Link: http://launchpad.net/bugs/1788730
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Anthony Wong <anthony.wong@ubuntu.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-04 2:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-31 12:06 [PATCH] r8169: add support for NCube 8168 network card Anthony Wong
2018-09-04 2:05 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).