[MIPS] Au1000: set the PCI controller IO base
authorFlorian Fainelli <florian.fainelli@telecomint.eu>
Tue, 25 Sep 2007 15:07:30 +0000 (17:07 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 9 Oct 2007 11:47:48 +0000 (12:47 +0100)
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>
arch/mips/au1000/common/pci.c

index 6c25e6c..9be99a6 100644 (file)
@@ -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
        {