Ignore:
Timestamp:
2012-02-15T22:19:02+01:00 (5 years ago)
Author:
juhosg
Message:

ramips: rt288x: fix PCI resource conflict

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c

    r30562 r30563  
    213213static int __init rt2880_pci_init(void) 
    214214{ 
     215        void __iomem *io_map_base; 
    215216        int i; 
    216217 
    217218        rt2880_pci_base = ioremap_nocache(RT2880_PCI_BASE, PAGE_SIZE); 
     219 
     220        io_map_base = ioremap(RT2880_PCI_IO_BASE, RT2880_PCI_IO_SIZE); 
     221        rt2880_pci_controller.io_map_base = (unsigned long) io_map_base; 
     222        set_io_port_base((unsigned long) io_map_base); 
     223 
     224        ioport_resource.start = RT2880_PCI_IO_BASE; 
     225        ioport_resource.end = RT2880_PCI_IO_BASE + RT2880_PCI_IO_SIZE - 1; 
    218226 
    219227        rt2880_pci_reg_write(0, RT2880_PCI_REG_PCICFG_ADDR); 
Note: See TracChangeset for help on using the changeset viewer.