Skip to content

Commit e790a46

Browse files
tsbogendralfbaechle
authored andcommitted
[MIPS] BCM1480: Init pci controller io_map_base
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 41d1f19 commit e790a46

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎arch/mips/pci/pci-bcm1480.c‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,9 @@ static int __init bcm1480_pcibios_init(void)
249249
* XXX ehs: Should this happen in PCI Device mode?
250250
*/
251251

252-
set_io_port_base((unsigned long)
253-
ioremap(A_BCM1480_PHYS_PCI_IO_MATCH_BYTES, 65536));
252+
bcm1480_controller.io_map_base = (unsigned long)
253+
ioremap(A_BCM1480_PHYS_PCI_IO_MATCH_BYTES, 65536);
254+
set_io_port_base(bcm1480_controller.io_map_base);
254255
isa_slot_offset = (unsigned long)
255256
ioremap(A_BCM1480_PHYS_PCI_MEM_MATCH_BYTES, 1024*1024);
256257

0 commit comments

Comments
 (0)