aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/lasat/lasat.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/lasat/lasat.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/lasat/lasat.h')
-rw-r--r--arch/mips/include/asm/lasat/lasat.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/mips/include/asm/lasat/lasat.h b/arch/mips/include/asm/lasat/lasat.h
index e8ff70f80e13..9e32b4da99e2 100644
--- a/arch/mips/include/asm/lasat/lasat.h
+++ b/arch/mips/include/asm/lasat/lasat.h
@@ -100,7 +100,7 @@ struct lasat_eeprom_struct_pre7 {
100 100
101/* Configuration descriptor encoding - see the doc for details */ 101/* Configuration descriptor encoding - see the doc for details */
102 102
103#define LASAT_W0_DSCTYPE(v) (((v)) & 0xf) 103#define LASAT_W0_DSCTYPE(v) (((v)) & 0xf)
104#define LASAT_W0_BMID(v) (((v) >> 0x04) & 0xf) 104#define LASAT_W0_BMID(v) (((v) >> 0x04) & 0xf)
105#define LASAT_W0_CPUTYPE(v) (((v) >> 0x08) & 0xf) 105#define LASAT_W0_CPUTYPE(v) (((v) >> 0x08) & 0xf)
106#define LASAT_W0_BUSSPEED(v) (((v) >> 0x0c) & 0xf) 106#define LASAT_W0_BUSSPEED(v) (((v) >> 0x0c) & 0xf)
@@ -109,7 +109,7 @@ struct lasat_eeprom_struct_pre7 {
109#define LASAT_W0_SDRAMBANKS(v) (((v) >> 0x18) & 0xf) 109#define LASAT_W0_SDRAMBANKS(v) (((v) >> 0x18) & 0xf)
110#define LASAT_W0_L2CACHE(v) (((v) >> 0x1c) & 0xf) 110#define LASAT_W0_L2CACHE(v) (((v) >> 0x1c) & 0xf)
111 111
112#define LASAT_W1_EDHAC(v) (((v)) & 0xf) 112#define LASAT_W1_EDHAC(v) (((v)) & 0xf)
113#define LASAT_W1_HIFN(v) (((v) >> 0x04) & 0x1) 113#define LASAT_W1_HIFN(v) (((v) >> 0x04) & 0x1)
114#define LASAT_W1_ISDN(v) (((v) >> 0x05) & 0x1) 114#define LASAT_W1_ISDN(v) (((v) >> 0x05) & 0x1)
115#define LASAT_W1_IDE(v) (((v) >> 0x06) & 0x1) 115#define LASAT_W1_IDE(v) (((v) >> 0x06) & 0x1)
@@ -239,7 +239,7 @@ static inline void lasat_ndelay(unsigned int ns)
239 __delay(ns / lasat_ndelay_divider); 239 __delay(ns / lasat_ndelay_divider);
240} 240}
241 241
242#define IS_LASAT_200() (current_cpu_data.cputype == CPU_R5000) 242#define IS_LASAT_200() (current_cpu_data.cputype == CPU_R5000)
243 243
244#endif /* !defined (_LANGUAGE_ASSEMBLY) */ 244#endif /* !defined (_LANGUAGE_ASSEMBLY) */
245 245
@@ -247,11 +247,11 @@ static inline void lasat_ndelay(unsigned int ns)
247#define LASAT_SERVICEMODE_MAGIC_2 0xfedeabba 247#define LASAT_SERVICEMODE_MAGIC_2 0xfedeabba
248 248
249/* Lasat 100 boards */ 249/* Lasat 100 boards */
250#define LASAT_GT_BASE (KSEG1ADDR(0x14000000)) 250#define LASAT_GT_BASE (KSEG1ADDR(0x14000000))
251 251
252/* Lasat 200 boards */ 252/* Lasat 200 boards */
253#define Vrc5074_PHYS_BASE 0x1fa00000 253#define Vrc5074_PHYS_BASE 0x1fa00000
254#define Vrc5074_BASE (KSEG1ADDR(Vrc5074_PHYS_BASE)) 254#define Vrc5074_BASE (KSEG1ADDR(Vrc5074_PHYS_BASE))
255#define PCI_WINDOW1 0x1a000000 255#define PCI_WINDOW1 0x1a000000
256 256
257#endif /* _LASAT_H */ 257#endif /* _LASAT_H */