aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/au1000-2.6/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-12-09 19:54:43 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-12-09 19:54:43 +0000
commite1b330937344516ec3fe7362c134ba88d4c98c54 (patch)
treeb4b8d44b187fac2ccb4f61d14a1c6eb4827330fd /target/linux/au1000-2.6/patches
parent4696c72e6eb56b048b97d6bdf55b1ff9be5daaea (diff)
downloadupstream-e1b330937344516ec3fe7362c134ba88d4c98c54.tar.gz
upstream-e1b330937344516ec3fe7362c134ba88d4c98c54.tar.bz2
upstream-e1b330937344516ec3fe7362c134ba88d4c98c54.zip
fix pci on the meshcubes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5742 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/au1000-2.6/patches')
-rw-r--r--target/linux/au1000-2.6/patches/009-pci_fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/au1000-2.6/patches/009-pci_fix.patch b/target/linux/au1000-2.6/patches/009-pci_fix.patch
new file mode 100644
index 0000000000..5b2a87f16b
--- /dev/null
+++ b/target/linux/au1000-2.6/patches/009-pci_fix.patch
@@ -0,0 +1,12 @@
+diff -ur linux.old/arch/mips/pci/ops-au1000.c linux.dev/arch/mips/pci/ops-au1000.c
+--- linux.old/arch/mips/pci/ops-au1000.c 2006-06-18 03:49:35.000000000 +0200
++++ linux.dev/arch/mips/pci/ops-au1000.c 2006-12-09 20:51:29.000000000 +0100
+@@ -111,7 +111,7 @@
+ if (first_cfg) {
+ /* reserve a wired entry for pci config accesses */
+ first_cfg = 0;
+- pci_cfg_vm = get_vm_area(0x2000, 0);
++ pci_cfg_vm = get_vm_area(0x2000, VM_IOREMAP);
+ if (!pci_cfg_vm)
+ panic (KERN_ERR "PCI unable to get vm area\n");
+ pci_cfg_wired_entry = read_c0_wired();