diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-03-24 06:18:24 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-24 10:33:28 -0500 |
commit | 74769abfcb430b839914f3fe91e23a4f628d9553 (patch) | |
tree | af7443e43f236d4d9e6c87ef777989989f1079ec /drivers/char/rio/rup.h | |
parent | 10e705f83c3e796893a70fb872895ba604901166 (diff) |
[PATCH] rio: more header cleanup
Strip some of the typedef mess out Remove a small subset of unused defines
and the like.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/rio/rup.h')
-rw-r--r-- | drivers/char/rio/rup.h | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/drivers/char/rio/rup.h b/drivers/char/rio/rup.h index f74f67c6f702..40c617436bd1 100644 --- a/drivers/char/rio/rup.h +++ b/drivers/char/rio/rup.h | |||
@@ -37,14 +37,7 @@ | |||
37 | #ifndef _rup_h | 37 | #ifndef _rup_h |
38 | #define _rup_h 1 | 38 | #define _rup_h 1 |
39 | 39 | ||
40 | #ifdef SCCS_LABELS | ||
41 | #ifndef lint | ||
42 | /* static char *_rio_rup_h_sccs = "@(#)rup.h 1.5"; */ | ||
43 | #endif | ||
44 | #endif | ||
45 | |||
46 | #define MAX_RUP ((short) 16) | 40 | #define MAX_RUP ((short) 16) |
47 | |||
48 | #define PKTS_PER_RUP ((short) 2) /* They are always used in pairs */ | 41 | #define PKTS_PER_RUP ((short) 2) /* They are always used in pairs */ |
49 | 42 | ||
50 | /************************************************* | 43 | /************************************************* |
@@ -62,13 +55,13 @@ | |||
62 | struct RUP { | 55 | struct RUP { |
63 | PKT_ptr txpkt; /* Outgoing packet */ | 56 | PKT_ptr txpkt; /* Outgoing packet */ |
64 | PKT_ptr rxpkt; /* Incoming packet */ | 57 | PKT_ptr rxpkt; /* Incoming packet */ |
65 | WORD link; /* Which link to send down? */ | 58 | u16 link; /* Which link to send down? */ |
66 | BYTE rup_dest_unit[2]; /* Destination unit */ | 59 | u8 rup_dest_unit[2]; /* Destination unit */ |
67 | WORD handshake; /* For handshaking */ | 60 | u16 handshake; /* For handshaking */ |
68 | WORD timeout; /* Timeout */ | 61 | u16 timeout; /* Timeout */ |
69 | WORD status; /* Status */ | 62 | u16 status; /* Status */ |
70 | WORD txcontrol; /* Transmit control */ | 63 | u16 txcontrol; /* Transmit control */ |
71 | WORD rxcontrol; /* Receive control */ | 64 | u16 rxcontrol; /* Receive control */ |
72 | }; | 65 | }; |
73 | 66 | ||
74 | #endif | 67 | #endif |