aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/nile4.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-01-22 06:59:30 -0500
committerRalf Baechle <ralf@linux-mips.org>2013-02-01 04:00:22 -0500
commit7034228792cc561e79ff8600f02884bd4c80e287 (patch)
tree89b77af37d087d9de236fc5d21f60bf552d0a2c6 /arch/mips/include/asm/nile4.h
parent405ab01c70e18058d9c01a1256769a61fc65413e (diff)
MIPS: Whitespace cleanup.
Having received another series of whitespace patches I decided to do this once and for all rather than dealing with this kind of patches trickling in forever. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/nile4.h')
-rw-r--r--arch/mips/include/asm/nile4.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/arch/mips/include/asm/nile4.h b/arch/mips/include/asm/nile4.h
index af0e51a9f68a..2e2436d0e94e 100644
--- a/arch/mips/include/asm/nile4.h
+++ b/arch/mips/include/asm/nile4.h
@@ -2,7 +2,7 @@
2 * asm-mips/nile4.h -- NEC Vrc-5074 Nile 4 definitions 2 * asm-mips/nile4.h -- NEC Vrc-5074 Nile 4 definitions
3 * 3 *
4 * Copyright (C) 2000 Geert Uytterhoeven <geert@sonycom.com> 4 * Copyright (C) 2000 Geert Uytterhoeven <geert@sonycom.com>
5 * Sony Software Development Center Europe (SDCE), Brussels 5 * Sony Software Development Center Europe (SDCE), Brussels
6 * 6 *
7 * This file is based on the following documentation: 7 * This file is based on the following documentation:
8 * 8 *
@@ -17,7 +17,7 @@
17 17
18 18
19 /* 19 /*
20 * Physical Device Address Registers (PDARs) 20 * Physical Device Address Registers (PDARs)
21 */ 21 */
22 22
23#define NILE4_SDRAM0 0x0000 /* SDRAM Bank 0 [R/W] */ 23#define NILE4_SDRAM0 0x0000 /* SDRAM Bank 0 [R/W] */
@@ -37,7 +37,7 @@
37 37
38 38
39 /* 39 /*
40 * CPU Interface Registers 40 * CPU Interface Registers
41 */ 41 */
42 42
43#define NILE4_CPUSTAT 0x0080 /* CPU Status [R/W] */ 43#define NILE4_CPUSTAT 0x0080 /* CPU Status [R/W] */
@@ -50,7 +50,7 @@
50 50
51 51
52 /* 52 /*
53 * Memory-Interface Registers 53 * Memory-Interface Registers
54 */ 54 */
55 55
56#define NILE4_MEMCTRL 0x00C0 /* Memory Control */ 56#define NILE4_MEMCTRL 0x00C0 /* Memory Control */
@@ -59,7 +59,7 @@
59 59
60 60
61 /* 61 /*
62 * PCI-Bus Registers 62 * PCI-Bus Registers
63 */ 63 */
64 64
65#define NILE4_PCICTRL 0x00E0 /* PCI Control [R/W] */ 65#define NILE4_PCICTRL 0x00E0 /* PCI Control [R/W] */
@@ -70,7 +70,7 @@
70 70
71 71
72 /* 72 /*
73 * Local-Bus Registers 73 * Local-Bus Registers
74 */ 74 */
75 75
76#define NILE4_LCNFG 0x0100 /* Local Bus Configuration [R/W] */ 76#define NILE4_LCNFG 0x0100 /* Local Bus Configuration [R/W] */
@@ -88,7 +88,7 @@
88 88
89 89
90 /* 90 /*
91 * DMA Registers 91 * DMA Registers
92 */ 92 */
93 93
94#define NILE4_DMACTRL0 0x0180 /* DMA Control 0 [R/W] */ 94#define NILE4_DMACTRL0 0x0180 /* DMA Control 0 [R/W] */
@@ -100,7 +100,7 @@
100 100
101 101
102 /* 102 /*
103 * Timer Registers 103 * Timer Registers
104 */ 104 */
105 105
106#define NILE4_T0CTRL 0x01C0 /* SDRAM Refresh Control [R/W] */ 106#define NILE4_T0CTRL 0x01C0 /* SDRAM Refresh Control [R/W] */
@@ -114,7 +114,7 @@
114 114
115 115
116 /* 116 /*
117 * PCI Configuration Space Registers 117 * PCI Configuration Space Registers
118 */ 118 */
119 119
120#define NILE4_PCI_BASE 0x0200 120#define NILE4_PCI_BASE 0x0200
@@ -153,10 +153,10 @@
153 153
154 154
155 /* 155 /*
156 * Serial-Port Registers 156 * Serial-Port Registers
157 */ 157 */
158 158
159#define NILE4_UART_BASE 0x0300 159#define NILE4_UART_BASE 0x0300
160 160
161#define NILE4_UARTRBR 0x0300 /* UART Receiver Data Buffer [R] */ 161#define NILE4_UARTRBR 0x0300 /* UART Receiver Data Buffer [R] */
162#define NILE4_UARTTHR 0x0300 /* UART Transmitter Data Holding [W] */ 162#define NILE4_UARTTHR 0x0300 /* UART Transmitter Data Holding [W] */
@@ -175,7 +175,7 @@
175 175
176 176
177 /* 177 /*
178 * Interrupt Lines 178 * Interrupt Lines
179 */ 179 */
180 180
181#define NILE4_INT_CPCE 0 /* CPU-Interface Parity-Error Interrupt */ 181#define NILE4_INT_CPCE 0 /* CPU-Interface Parity-Error Interrupt */
@@ -185,7 +185,7 @@
185#define NILE4_INT_UART 4 /* UART Interrupt */ 185#define NILE4_INT_UART 4 /* UART Interrupt */
186#define NILE4_INT_WDOG 5 /* Watchdog Timer Interrupt */ 186#define NILE4_INT_WDOG 5 /* Watchdog Timer Interrupt */
187#define NILE4_INT_GPT 6 /* General-Purpose Timer Interrupt */ 187#define NILE4_INT_GPT 6 /* General-Purpose Timer Interrupt */
188#define NILE4_INT_LBRTD 7 /* Local-Bus Ready Timer Interrupt */ 188#define NILE4_INT_LBRTD 7 /* Local-Bus Ready Timer Interrupt */
189#define NILE4_INT_INTA 8 /* PCI Interrupt Signal INTA# */ 189#define NILE4_INT_INTA 8 /* PCI Interrupt Signal INTA# */
190#define NILE4_INT_INTB 9 /* PCI Interrupt Signal INTB# */ 190#define NILE4_INT_INTB 9 /* PCI Interrupt Signal INTB# */
191#define NILE4_INT_INTC 10 /* PCI Interrupt Signal INTC# */ 191#define NILE4_INT_INTC 10 /* PCI Interrupt Signal INTC# */
@@ -197,7 +197,7 @@
197 197
198 198
199 /* 199 /*
200 * Nile 4 Register Access 200 * Nile 4 Register Access
201 */ 201 */
202 202
203static inline void nile4_sync(void) 203static inline void nile4_sync(void)
@@ -247,7 +247,7 @@ static inline u8 nile4_in8(u32 offset)
247 247
248 248
249 /* 249 /*
250 * Physical Device Address Registers 250 * Physical Device Address Registers
251 */ 251 */
252 252
253extern void nile4_set_pdar(u32 pdar, u32 phys, u32 size, int width, 253extern void nile4_set_pdar(u32 pdar, u32 phys, u32 size, int width,
@@ -255,7 +255,7 @@ extern void nile4_set_pdar(u32 pdar, u32 phys, u32 size, int width,
255 255
256 256
257 /* 257 /*
258 * PCI Master Registers 258 * PCI Master Registers
259 */ 259 */
260 260
261#define NILE4_PCICMD_IACK 0 /* PCI Interrupt Acknowledge */ 261#define NILE4_PCICMD_IACK 0 /* PCI Interrupt Acknowledge */
@@ -265,9 +265,9 @@ extern void nile4_set_pdar(u32 pdar, u32 phys, u32 size, int width,
265 265
266 266
267 /* 267 /*
268 * PCI Address Spaces 268 * PCI Address Spaces
269 * 269 *
270 * Note that these are multiplexed using PCIINIT[01]! 270 * Note that these are multiplexed using PCIINIT[01]!
271 */ 271 */
272 272
273#define NILE4_PCI_IO_BASE 0xa6000000 273#define NILE4_PCI_IO_BASE 0xa6000000
@@ -280,7 +280,7 @@ extern void nile4_set_pmr(u32 pmr, u32 type, u32 addr);
280 280
281 281
282 /* 282 /*
283 * Interrupt Programming 283 * Interrupt Programming
284 */ 284 */
285 285
286#define NUM_I8259_INTERRUPTS 16 286#define NUM_I8259_INTERRUPTS 16