summaryrefslogtreecommitdiff
path: root/target/linux/rdc
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-10-15 17:04:34 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-10-15 17:04:34 +0000
commitf61a627092dfbebf7ee8ae6a23c7d3d882182847 (patch)
treeb483e0924980a37d9494adc35ce08dc05fc9ef10 /target/linux/rdc
parent9dc51096e6359769946224ea5ce03a88c14c8b8a (diff)
downloadmtk-20170518-f61a627092dfbebf7ee8ae6a23c7d3d882182847.zip
mtk-20170518-f61a627092dfbebf7ee8ae6a23c7d3d882182847.tar.gz
mtk-20170518-f61a627092dfbebf7ee8ae6a23c7d3d882182847.tar.bz2
Typo on PCI ids
SVN-Revision: 9328
Diffstat (limited to 'target/linux/rdc')
-rw-r--r--target/linux/rdc/files/drivers/net/r6040.c3
-rw-r--r--target/linux/rdc/patches/004-rdc_fixes.patch2
2 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/rdc/files/drivers/net/r6040.c b/target/linux/rdc/files/drivers/net/r6040.c
index e2044c9..6678f01 100644
--- a/target/linux/rdc/files/drivers/net/r6040.c
+++ b/target/linux/rdc/files/drivers/net/r6040.c
@@ -1002,8 +1002,7 @@ enum {
};
static struct pci_device_id r6040_pci_tbl[] = {
- {0x17F3, 0x6040, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RDC_6040},
- /* {PCI_VENDOR_ID_RDC, PCI_DEVICE_ID_R6040, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RDC_6040},*/
+ {PCI_VENDOR_ID_RDC, PCI_DEVICE_ID_RDC_R6040, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RDC_6040},
/*{0x1106, 0x3065, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RDC_6040},*/
{0,}
};
diff --git a/target/linux/rdc/patches/004-rdc_fixes.patch b/target/linux/rdc/patches/004-rdc_fixes.patch
index e67678a..7b87773 100644
--- a/target/linux/rdc/patches/004-rdc_fixes.patch
+++ b/target/linux/rdc/patches/004-rdc_fixes.patch
@@ -67,7 +67,7 @@ diff -urN linux-2.6.19/arch/i386/Makefile linux-2.6.19.new/arch/i386/Makefile
};
static struct device_fixup fixups_table[] = {
-+{ PCI_VENDOR_ID_RDC, PCI_DEVICE_ID_R6030, r8610_reset },
++{ PCI_VENDOR_ID_RDC, PCI_DEVICE_ID_RDC_R6030, r8610_reset },
{ PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_5530_LEGACY, cs5530a_warm_reset },
{ PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CS5536_ISA, cs5536_warm_reset },
};