aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/rio/rio.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-01-11 15:17:49 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-11 21:42:14 -0500
commit8d8706e2f86d28814c1b40a116ffdeca35e4c949 (patch)
tree146567d7a807feb37a5368fbb4a6ee76d9d7bc7e /drivers/char/rio/rio.h
parenta9415644583ef344e02f84faf5fe24bfadb2af8e (diff)
[PATCH] lindent rio drivers
Run all rio files through indent -kr -i8 -bri0 -l255, as requested by Alan. rioboot.c and rioinit.c were skipped due to worrisome lindent warnings. Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/rio/rio.h')
-rw-r--r--drivers/char/rio/rio.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/drivers/char/rio/rio.h b/drivers/char/rio/rio.h
index 13a9931958b1..7f45e1ab5332 100644
--- a/drivers/char/rio/rio.h
+++ b/drivers/char/rio/rio.h
@@ -72,8 +72,8 @@ static char *_rio_h_sccs_ = "@(#)rio.h 1.3";
72#define RIO_HOSTS 4 /* number of hosts that can be found */ 72#define RIO_HOSTS 4 /* number of hosts that can be found */
73#define PORTS_PER_HOST 128 /* number of ports per host */ 73#define PORTS_PER_HOST 128 /* number of ports per host */
74#define LINKS_PER_UNIT 4 /* number of links from a host */ 74#define LINKS_PER_UNIT 4 /* number of links from a host */
75#define RIO_PORTS (PORTS_PER_HOST * RIO_HOSTS) /* max. no. of ports */ 75#define RIO_PORTS (PORTS_PER_HOST * RIO_HOSTS) /* max. no. of ports */
76#define RTAS_PER_HOST (MAX_RUP) /* number of RTAs per host */ 76#define RTAS_PER_HOST (MAX_RUP) /* number of RTAs per host */
77#define PORTS_PER_RTA (PORTS_PER_HOST/RTAS_PER_HOST) /* ports on a rta */ 77#define PORTS_PER_RTA (PORTS_PER_HOST/RTAS_PER_HOST) /* ports on a rta */
78#define PORTS_PER_MODULE 4 /* number of ports on a plug-in module */ 78#define PORTS_PER_MODULE 4 /* number of ports on a plug-in module */
79 /* number of modules on an RTA */ 79 /* number of modules on an RTA */
@@ -216,10 +216,9 @@ static char *_rio_h_sccs_ = "@(#)rio.h 1.3";
216#define RIO_PRI (PZERO+10) 216#define RIO_PRI (PZERO+10)
217#define RIO_CLOSE_PRI PZERO-1 /* uninterruptible sleeps for close */ 217#define RIO_CLOSE_PRI PZERO-1 /* uninterruptible sleeps for close */
218 218
219typedef struct DbInf 219typedef struct DbInf {
220{ 220 uint Flag;
221 uint Flag; 221 char Name[8];
222 char Name[8];
223} DbInf; 222} DbInf;
224 223
225#ifndef TRUE 224#ifndef TRUE
@@ -251,7 +250,7 @@ typedef struct DbInf
251 *((uint *)PK) = PP->PacketInfo; \ 250 *((uint *)PK) = PP->PacketInfo; \
252} 251}
253 252
254#define RIO_LINK_ENABLE 0x80FF /* FF is a hack, mainly for Mips, to */ 253#define RIO_LINK_ENABLE 0x80FF /* FF is a hack, mainly for Mips, to */
255 /* prevent a really stupid race condition. */ 254 /* prevent a really stupid race condition. */
256 255
257#define NOT_INITIALISED 0 256#define NOT_INITIALISED 0
@@ -291,4 +290,4 @@ typedef struct DbInf
291#define DIST_LINESW_OUTPUT 0x40 290#define DIST_LINESW_OUTPUT 0x40
292#define DIST_LINESW_MDMINT 0x80 291#define DIST_LINESW_MDMINT 0x80
293 292
294#endif /* __rio_h__ */ 293#endif /* __rio_h__ */