Changeset 30562 for trunk


Ignore:
Timestamp:
2012-02-15T22:13:21+01:00 (4 years ago)
Author:
florian
Message:

[ramips] correct PCI IO/Mem resource swapping

File:
1 edited

Legend:

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

    r18141 r30562  
    127127}; 
    128128 
    129 static struct resource rt2880_pci_io_resource = { 
     129static struct resource rt2880_pci_mem_resource = { 
    130130        .name   = "PCI MEM space", 
    131131        .start  = RT2880_PCI_MEM_BASE, 
     
    134134}; 
    135135 
    136 static struct resource rt2880_pci_mem_resource = { 
     136static struct resource rt2880_pci_io_resource = { 
    137137        .name   = "PCI IO space", 
    138138        .start  = RT2880_PCI_IO_BASE, 
     
    143143static struct pci_controller rt2880_pci_controller = { 
    144144        .pci_ops        = &rt2880_pci_ops, 
    145         .mem_resource   = &rt2880_pci_io_resource, 
    146         .io_resource    = &rt2880_pci_mem_resource, 
     145        .mem_resource   = &rt2880_pci_mem_resource, 
     146        .io_resource    = &rt2880_pci_io_resource, 
    147147}; 
    148148 
Note: See TracChangeset for help on using the changeset viewer.