[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 6c25e6c09f7835ed4c3183b316e157d86d2db174..9be99a68932aca8c83d7aba6b548a1b161b4a531 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
        {