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 5f3a69cebad1..b128cb973ebe 100644 --- a/arch/mips/pci/pci-rc32434.c +++ b/arch/mips/pci/pci-rc32434.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include <asm/mach-rc32434/rc32434.h> | 33 | #include <asm/mach-rc32434/rc32434.h> |
34 | #include <asm/mach-rc32434/pci.h> | 34 | #include <asm/mach-rc32434/pci.h> |
35 | 35 | ||
36 | #define PCI_ACCESS_READ 0 | 36 | #define PCI_ACCESS_READ 0 |
37 | #define PCI_ACCESS_WRITE 1 | 37 | #define PCI_ACCESS_WRITE 1 |
38 | 38 | ||
39 | /* define an unsigned array for the PCI registers */ | 39 | /* define an unsigned array for the PCI registers */ |
@@ -82,11 +82,11 @@ extern struct pci_ops rc32434_pci_ops; | |||
82 | #define PCI_MEM2_START (PCI_ADDR_START + CPUTOPCI_MEM_WIN) | 82 | #define PCI_MEM2_START (PCI_ADDR_START + CPUTOPCI_MEM_WIN) |
83 | #define PCI_MEM2_END (PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN) - 1) | 83 | #define PCI_MEM2_END (PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN) - 1) |
84 | #define PCI_IO1_START (PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN)) | 84 | #define PCI_IO1_START (PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN)) |
85 | #define PCI_IO1_END \ | 85 | #define PCI_IO1_END \ |
86 | (PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN) + CPUTOPCI_IO_WIN - 1) | 86 | (PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN) + CPUTOPCI_IO_WIN - 1) |
87 | #define PCI_IO2_START \ | 87 | #define PCI_IO2_START \ |
88 | (PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN) + CPUTOPCI_IO_WIN) | 88 | (PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN) + CPUTOPCI_IO_WIN) |
89 | #define PCI_IO2_END \ | 89 | #define PCI_IO2_END \ |
90 | (PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN) + (2 * CPUTOPCI_IO_WIN) - 1) | 90 | (PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN) + (2 * CPUTOPCI_IO_WIN) - 1) |
91 | 91 | ||
92 | struct pci_controller rc32434_controller2; | 92 | struct pci_controller rc32434_controller2; |