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/phb.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/phb.h')
-rw-r--r-- | drivers/char/rio/phb.h | 37 |
1 files changed, 15 insertions, 22 deletions
diff --git a/drivers/char/rio/phb.h b/drivers/char/rio/phb.h index 2663ca0306e2..05d59f4b9fb0 100644 --- a/drivers/char/rio/phb.h +++ b/drivers/char/rio/phb.h | |||
@@ -37,13 +37,6 @@ | |||
37 | #ifndef _phb_h | 37 | #ifndef _phb_h |
38 | #define _phb_h 1 | 38 | #define _phb_h 1 |
39 | 39 | ||
40 | #ifdef SCCS_LABELS | ||
41 | #ifndef lint | ||
42 | /* static char *_rio_phb_h_sccs = "@(#)phb.h 1.12"; */ | ||
43 | #endif | ||
44 | #endif | ||
45 | |||
46 | |||
47 | /************************************************* | 40 | /************************************************* |
48 | * Handshake asserted. Deasserted by the LTT(s) | 41 | * Handshake asserted. Deasserted by the LTT(s) |
49 | ************************************************/ | 42 | ************************************************/ |
@@ -126,21 +119,21 @@ | |||
126 | *************************************************************************/ | 119 | *************************************************************************/ |
127 | typedef struct PHB PHB; | 120 | typedef struct PHB PHB; |
128 | struct PHB { | 121 | struct PHB { |
129 | WORD source; | 122 | u8 source; |
130 | WORD handshake; | 123 | u8 handshake; |
131 | WORD status; | 124 | u8 status; |
132 | NUMBER timeout; /* Maximum of 1.9 seconds */ | 125 | u16 timeout; /* Maximum of 1.9 seconds */ |
133 | WORD link; /* Send down this link */ | 126 | u8 link; /* Send down this link */ |
134 | WORD destination; | 127 | u8 destination; |
135 | PKT_ptr_ptr tx_start; | 128 | u16 tx_start; |
136 | PKT_ptr_ptr tx_end; | 129 | u16 tx_end; |
137 | PKT_ptr_ptr tx_add; | 130 | u16 tx_add; |
138 | PKT_ptr_ptr tx_remove; | 131 | u16 tx_remove; |
139 | 132 | ||
140 | PKT_ptr_ptr rx_start; | 133 | u16 rx_start; |
141 | PKT_ptr_ptr rx_end; | 134 | u16 rx_end; |
142 | PKT_ptr_ptr rx_add; | 135 | u16 rx_add; |
143 | PKT_ptr_ptr rx_remove; | 136 | u16 rx_remove; |
144 | 137 | ||
145 | }; | 138 | }; |
146 | 139 | ||