diff options
Diffstat (limited to 'arch/mips/pci/pci-rc32434.c')
| -rw-r--r-- | arch/mips/pci/pci-rc32434.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/pci/pci-rc32434.c b/arch/mips/pci/pci-rc32434.c index 5f3a69cebad..b128cb973eb 100644 --- a/arch/mips/pci/pci-rc32434.c +++ b/arch/mips/pci/pci-rc32434.c @@ -33,7 +33,7 @@  #include <asm/mach-rc32434/rc32434.h>  #include <asm/mach-rc32434/pci.h> -#define PCI_ACCESS_READ  0 +#define PCI_ACCESS_READ	 0  #define PCI_ACCESS_WRITE 1  /* define an unsigned array for the PCI registers */ @@ -82,11 +82,11 @@ extern struct pci_ops rc32434_pci_ops;  #define PCI_MEM2_START	(PCI_ADDR_START + CPUTOPCI_MEM_WIN)  #define PCI_MEM2_END	(PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN)  - 1)  #define PCI_IO1_START	(PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN)) -#define PCI_IO1_END 							\ +#define PCI_IO1_END							\  	(PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN) + CPUTOPCI_IO_WIN - 1)  #define PCI_IO2_START							\  	(PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN) + CPUTOPCI_IO_WIN) -#define PCI_IO2_END 							\ +#define PCI_IO2_END							\  	(PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN) + (2 * CPUTOPCI_IO_WIN) - 1)  struct pci_controller rc32434_controller2;  |