More realtek pci id patches.

This commit is contained in:
Arne Fitzenreiter
2009-10-22 19:44:58 +02:00
parent fa85048ef3
commit 7d7238bee3
3 changed files with 17 additions and 5 deletions

View File

@@ -79,6 +79,7 @@ $(subst %,%_MD5,$(objects)) :
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/r8101_add_missing_pciids.patch
cd $(DIR_APP) && make -C /lib/modules/$(KVER)-$(VERSUFIX)/build/ SUBDIRS=$(DIR_APP)/src modules
cd $(DIR_APP)/src && install -m 644 r8101.ko /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net
@rm -rf $(DIR_APP)

View File

@@ -0,0 +1,11 @@
diff -Naur r8101-1.013.00.org/src/r8101_n.c r8101-1.013.00/src/r8101_n.c
--- r8101-1.013.00.org/src/r8101_n.c 2009-07-14 09:10:53.000000000 +0200
+++ r8101-1.013.00/src/r8101_n.c 2009-10-22 18:19:07.000000000 +0200
@@ -103,6 +103,7 @@
static struct pci_device_id rtl8101_pci_tbl[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8136), },
+ { 0x0001, 0x8168, PCI_ANY_ID, 0x2410, },
{0,},
};

View File

@@ -1,15 +1,15 @@
diff -Naur r8169-6.011.00.org/src/r8169_n.c r8169-6.011.00/src/r8169_n.c
--- r8169-6.011.00.org/src/r8169_n.c 2009-07-14 08:39:25.000000000 +0200
+++ r8169-6.011.00/src/r8169_n.c 2009-10-21 23:24:26.000000000 +0200
+++ r8169-6.011.00/src/r8169_n.c 2009-10-22 19:18:42.000000000 +0200
@@ -114,6 +114,11 @@
static struct pci_device_id rtl8169_pci_tbl[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8167), 0, 0, RTL_CFG_0 },
{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8169), 0, 0, RTL_CFG_0 },
+ { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8129), 0, 0, RTL_CFG_0 },
+ { 0x1186,0x4300, 0, 0, RTL_CFG_0 },
+ { 0x1737,0x1032, 0, 0, RTL_CFG_0 },
+ { 0x1259,0xC107, 0, 0, RTL_CFG_0 },
+ { 0x16EC,0x8129, 0, 0, RTL_CFG_0 },
+ { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4300), 0, 0, RTL_CFG_0 },
+ { PCI_DEVICE(PCI_VENDOR_ID_AT, 0xC107), 0, 0, RTL_CFG_0 },
+ { PCI_DEVICE(0x16EC, 0x0116), 0, 0, RTL_CFG_0 },
+ { PCI_VENDOR_ID_LINKSYS, 0x1032, PCI_ANY_ID, 0x0024, 0, 0, RTL_CFG_0 },
{0,},
};