aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/rio/cmdblk.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/cmdblk.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/cmdblk.h')
-rw-r--r--drivers/char/rio/cmdblk.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/drivers/char/rio/cmdblk.h b/drivers/char/rio/cmdblk.h
index 2b8efbdbee1c..a9a8c45631d7 100644
--- a/drivers/char/rio/cmdblk.h
+++ b/drivers/char/rio/cmdblk.h
@@ -44,16 +44,15 @@ static char *_cmdblk_h_sccs_ = "@(#)cmdblk.h 1.2";
44** a rup. 44** a rup.
45*/ 45*/
46 46
47struct CmdBlk 47struct CmdBlk {
48{ 48 struct CmdBlk *NextP; /* Pointer to next command block */
49 struct CmdBlk *NextP; /* Pointer to next command block */ 49 struct PKT Packet; /* A packet, to copy to the rup */
50 struct PKT Packet; /* A packet, to copy to the rup */ 50 /* The func to call to check if OK */
51 /* The func to call to check if OK */ 51 int (*PreFuncP) (int, struct CmdBlk *);
52 int (*PreFuncP)(int, struct CmdBlk *); 52 int PreArg; /* The arg for the func */
53 int PreArg; /* The arg for the func */ 53 /* The func to call when completed */
54 /* The func to call when completed */ 54 int (*PostFuncP) (int, struct CmdBlk *);
55 int (*PostFuncP)(int, struct CmdBlk *); 55 int PostArg; /* The arg for the func */
56 int PostArg; /* The arg for the func */
57}; 56};
58 57
59#define NUM_RIO_CMD_BLKS (3 * (MAX_RUP * 4 + LINKS_PER_UNIT * 4)) 58#define NUM_RIO_CMD_BLKS (3 * (MAX_RUP * 4 + LINKS_PER_UNIT * 4))