From: Arne Fitzenreiter Date: Thu, 22 Oct 2009 17:44:58 +0000 (+0200) Subject: More realtek pci id patches. X-Git-Tag: v2.9-beta1~660 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=7d7238bee3b8320cfc2f3a12e11c2fc82f53650e More realtek pci id patches. --- diff --git a/lfs/r8101 b/lfs/r8101 index 57509b6a40..6b582506b5 100644 --- a/lfs/r8101 +++ b/lfs/r8101 @@ -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) diff --git a/src/patches/r8101_add_missing_pciids.patch b/src/patches/r8101_add_missing_pciids.patch new file mode 100644 index 0000000000..a065493e29 --- /dev/null +++ b/src/patches/r8101_add_missing_pciids.patch @@ -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,}, + }; + diff --git a/src/patches/r8169_add_missing_pciids.patch b/src/patches/r8169_add_missing_pciids.patch index 592ba9a26c..dab3af0d20 100644 --- a/src/patches/r8169_add_missing_pciids.patch +++ b/src/patches/r8169_add_missing_pciids.patch @@ -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,}, };