aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/rio/cmdblk.h
diff options
context:
space:
mode:
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))