]> err.no Git - linux-2.6/commitdiff
[MIPS] BCM1480: Init pci controller io_map_base
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sat, 8 Mar 2008 18:51:55 +0000 (19:51 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 12 Mar 2008 14:14:42 +0000 (14:14 +0000)
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/pci-bcm1480.c

index 30ed36125bcdb73173f859823a77c3dbffce6d01..ab68c4318a308554dd3a598cbee493d9096ac08c 100644 (file)
@@ -249,8 +249,9 @@ static int __init bcm1480_pcibios_init(void)
         * XXX ehs: Should this happen in PCI Device mode?
         */
 
-       set_io_port_base((unsigned long)
-               ioremap(A_BCM1480_PHYS_PCI_IO_MATCH_BYTES, 65536));
+       bcm1480_controller.io_map_base = (unsigned long)
+               ioremap(A_BCM1480_PHYS_PCI_IO_MATCH_BYTES, 65536);
+       set_io_port_base(bcm1480_controller.io_map_base);
        isa_slot_offset = (unsigned long)
                ioremap(A_BCM1480_PHYS_PCI_MEM_MATCH_BYTES, 1024*1024);