aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <florian.fainelli@telecomint.eu>2007-09-25 17:07:30 +0200
committerRalf Baechle <ralf@linux-mips.org>2007-10-09 12:47:48 +0100
commit2da23247935526da567e18caddb4533cfa194aa9 (patch)
tree0c10f270d4be38c1af5330f90a8ea9572915db2a
parentf708631ac75c901b20c7622be9abdbc29d4d2dd7 (diff)
[MIPS] Au1000: set the PCI controller IO base
The PCI controller IO base was not set in the au1000 pci code. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/au1000/common/pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/au1000/common/pci.c b/arch/mips/au1000/common/pci.c
index 6c25e6c09f7..9be99a68932 100644
--- a/arch/mips/au1000/common/pci.c
+++ b/arch/mips/au1000/common/pci.c
@@ -74,6 +74,7 @@ static int __init au1x_pci_setup(void)
printk(KERN_ERR "Unable to ioremap pci space\n");
return 1;
}
+ au1x_controller.io_map_base = virt_io_addr;
#ifdef CONFIG_DMA_NONCOHERENT
{