fixed up the au1000 pci support, was caused by the au1000 having a 36bit io bus and...
[openwrt/svn-archive/archive.git] / target / linux / au1000-2.6 / patches / 016-pci-io_map.patch
diff --git a/target/linux/au1000-2.6/patches/016-pci-io_map.patch b/target/linux/au1000-2.6/patches/016-pci-io_map.patch
new file mode 100644 (file)
index 0000000..6a80f7c
--- /dev/null
@@ -0,0 +1,10 @@
+--- linux-2.6.22.1.orig/arch/mips/au1000/common/pci.c  2007-07-24 18:42:21.031908123 +0200
++++ linux-2.6.22.1/arch/mips/au1000/common/pci.c       2007-07-24 22:12:07.373162835 +0200
+@@ -74,6 +74,7 @@
+               printk(KERN_ERR "Unable to ioremap pci space\n");
+               return 1;
+       }
++      au1x_controller.io_map_base = virt_io_addr;
+ #ifdef CONFIG_DMA_NONCOHERENT
+       {