1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 05:04:40 +02:00

fixed up the au1000 pci support, was caused by the au1000 having a 36bit io bus and the max add being set to 32bit

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8145 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2007-07-24 20:33:35 +00:00
parent 57487af59e
commit 69c3d2d458
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,8 @@
1683c1683
< #define IOPORT_RESOURCE_END 0xffffffff
---
> #define IOPORT_RESOURCE_END 0xfffffffffULL
1685c1685
< #define IOMEM_RESOURCE_END 0xffffffff
---
> #define IOMEM_RESOURCE_END 0xfffffffffULL

View File

@ -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
{