Skip to content

Commit 9fd0e09

Browse files
anthonywongdavem330
authored andcommitted
r8169: add support for NCube 8168 network card
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 Signed-off-by: Anthony Wong <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 36feaac commit 9fd0e09

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

drivers/net/ethernet/realtek/r8169.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ static const struct pci_device_id rtl8169_pci_tbl[] = {
218218
{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8161), 0, 0, RTL_CFG_1 },
219219
{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8167), 0, 0, RTL_CFG_0 },
220220
{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8168), 0, 0, RTL_CFG_1 },
221+
{ PCI_DEVICE(PCI_VENDOR_ID_NCUBE, 0x8168), 0, 0, RTL_CFG_1 },
221222
{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8169), 0, 0, RTL_CFG_0 },
222223
{ PCI_VENDOR_ID_DLINK, 0x4300,
223224
PCI_VENDOR_ID_DLINK, 0x4b10, 0, 0, RTL_CFG_1 },

include/linux/pci_ids.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3084,4 +3084,6 @@
30843084

30853085
#define PCI_VENDOR_ID_OCZ 0x1b85
30863086

3087+
#define PCI_VENDOR_ID_NCUBE 0x10ff
3088+
30873089
#endif /* _LINUX_PCI_IDS_H */

0 commit comments

Comments
 (0)