diff options
author | Andrew Morton <akpm@osdl.org> | 2006-01-11 15:17:49 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-11 21:42:14 -0500 |
commit | 8d8706e2f86d28814c1b40a116ffdeca35e4c949 (patch) | |
tree | 146567d7a807feb37a5368fbb4a6ee76d9d7bc7e /drivers/char/rio/formpkt.h | |
parent | a9415644583ef344e02f84faf5fe24bfadb2af8e (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/formpkt.h')
-rw-r--r-- | drivers/char/rio/formpkt.h | 151 |
1 files changed, 75 insertions, 76 deletions
diff --git a/drivers/char/rio/formpkt.h b/drivers/char/rio/formpkt.h index a8b65ae0de90..3c7c91ace3ee 100644 --- a/drivers/char/rio/formpkt.h +++ b/drivers/char/rio/formpkt.h | |||
@@ -41,114 +41,113 @@ | |||
41 | 41 | ||
42 | #ifndef lint | 42 | #ifndef lint |
43 | #ifdef SCCS | 43 | #ifdef SCCS |
44 | static char *_rio_formpkt_h_sccs = "@(#)formpkt.h 1.1" ; | 44 | static char *_rio_formpkt_h_sccs = "@(#)formpkt.h 1.1"; |
45 | #endif | 45 | #endif |
46 | #endif | 46 | #endif |
47 | 47 | ||
48 | typedef struct FORM_BOOT_PKT_1 FORM_BOOT_PKT_1 ; | 48 | typedef struct FORM_BOOT_PKT_1 FORM_BOOT_PKT_1; |
49 | struct FORM_BOOT_PKT_1 { | 49 | struct FORM_BOOT_PKT_1 { |
50 | ushort pkt_number ; | 50 | ushort pkt_number; |
51 | ushort pkt_total ; | 51 | ushort pkt_total; |
52 | ushort boot_top ; | 52 | ushort boot_top; |
53 | } ; | 53 | }; |
54 | 54 | ||
55 | typedef struct FORM_BOOT_PKT_2 FORM_BOOT_PKT_2 ; | 55 | typedef struct FORM_BOOT_PKT_2 FORM_BOOT_PKT_2; |
56 | struct FORM_BOOT_PKT_2 { | 56 | struct FORM_BOOT_PKT_2 { |
57 | ushort pkt_number ; | 57 | ushort pkt_number; |
58 | char boot_data[10] ; | 58 | char boot_data[10]; |
59 | } ; | 59 | }; |
60 | 60 | ||
61 | 61 | ||
62 | typedef struct FORM_ATTACH_RTA FORM_ATTACH_RTA ; | 62 | typedef struct FORM_ATTACH_RTA FORM_ATTACH_RTA; |
63 | struct FORM_ATTACH_RTA { | 63 | struct FORM_ATTACH_RTA { |
64 | char cmd_code ; | 64 | char cmd_code; |
65 | char booter_serial[4] ; | 65 | char booter_serial[4]; |
66 | char booter_link ; | 66 | char booter_link; |
67 | char bootee_serial[4] ; | 67 | char bootee_serial[4]; |
68 | char bootee_link ; | 68 | char bootee_link; |
69 | } ; | 69 | }; |
70 | 70 | ||
71 | 71 | ||
72 | typedef struct FORM_BOOT_ID FORM_BOOT_ID ; | 72 | typedef struct FORM_BOOT_ID FORM_BOOT_ID; |
73 | struct FORM_BOOT_ID { | 73 | struct FORM_BOOT_ID { |
74 | char cmd_code ; | 74 | char cmd_code; |
75 | char bootee_serial[4] ; | 75 | char bootee_serial[4]; |
76 | char bootee_prod_id ; | 76 | char bootee_prod_id; |
77 | char bootee_link ; | 77 | char bootee_link; |
78 | } ; | 78 | }; |
79 | 79 | ||
80 | 80 | ||
81 | 81 | ||
82 | typedef struct FORM_ROUTE_1 FORM_ROUTE_1 ; | 82 | typedef struct FORM_ROUTE_1 FORM_ROUTE_1; |
83 | struct FORM_ROUTE_1 { | 83 | struct FORM_ROUTE_1 { |
84 | char cmd_code ; | 84 | char cmd_code; |
85 | char pkt_number ; | 85 | char pkt_number; |
86 | char total_in_sequence ; | 86 | char total_in_sequence; |
87 | char unit_id ; | 87 | char unit_id; |
88 | char host_unit_id ; | 88 | char host_unit_id; |
89 | } ; | 89 | }; |
90 | 90 | ||
91 | typedef struct FORM_ROUTE_2 FORM_ROUTE_2 ; | 91 | typedef struct FORM_ROUTE_2 FORM_ROUTE_2; |
92 | struct FORM_ROUTE_2 { | 92 | struct FORM_ROUTE_2 { |
93 | char cmd_code ; | 93 | char cmd_code; |
94 | char pkt_number ; | 94 | char pkt_number; |
95 | char total_in_sequence ; | 95 | char total_in_sequence; |
96 | char route_data[9] ; | 96 | char route_data[9]; |
97 | } ; | 97 | }; |
98 | 98 | ||
99 | typedef struct FORM_ROUTE_REQ FORM_ROUTE_REQ ; | 99 | typedef struct FORM_ROUTE_REQ FORM_ROUTE_REQ; |
100 | struct FORM_ROUTE_REQ { | 100 | struct FORM_ROUTE_REQ { |
101 | char cmd_code ; | 101 | char cmd_code; |
102 | char pkt_number ; | 102 | char pkt_number; |
103 | char total_in_sequence ; | 103 | char total_in_sequence; |
104 | char route_data[10] ; | 104 | char route_data[10]; |
105 | } ; | 105 | }; |
106 | 106 | ||
107 | 107 | ||
108 | typedef struct FORM_ERROR FORM_ERROR ; | 108 | typedef struct FORM_ERROR FORM_ERROR; |
109 | struct FORM_ERROR { | 109 | struct FORM_ERROR { |
110 | char cmd_code ; | 110 | char cmd_code; |
111 | char error_code ; | 111 | char error_code; |
112 | 112 | ||
113 | } ; | 113 | }; |
114 | 114 | ||
115 | typedef struct FORM_STATUS FORM_STATUS ; | 115 | typedef struct FORM_STATUS FORM_STATUS; |
116 | struct FORM_STATUS { | 116 | struct FORM_STATUS { |
117 | char cmd_code ; | 117 | char cmd_code; |
118 | char status_code ; | 118 | char status_code; |
119 | char last_packet_valid ; | 119 | char last_packet_valid; |
120 | char tx_buffer ; | 120 | char tx_buffer; |
121 | char rx_buffer ; | 121 | char rx_buffer; |
122 | char port_status ; | 122 | char port_status; |
123 | char phb_status ; | 123 | char phb_status; |
124 | } ; | 124 | }; |
125 | 125 | ||
126 | 126 | ||
127 | typedef struct FORM_LINK_STATUS FORM_LINK_STATUS ; | 127 | typedef struct FORM_LINK_STATUS FORM_LINK_STATUS; |
128 | struct FORM_LINK_STATUS { | 128 | struct FORM_LINK_STATUS { |
129 | char cmd_code ; | 129 | char cmd_code; |
130 | char status_code ; | 130 | char status_code; |
131 | char link_number ; | 131 | char link_number; |
132 | ushort rx_errors ; | 132 | ushort rx_errors; |
133 | ushort tx_errors ; | 133 | ushort tx_errors; |
134 | ushort csum_errors ; | 134 | ushort csum_errors; |
135 | ushort disconnects ; | 135 | ushort disconnects; |
136 | } ; | 136 | }; |
137 | 137 | ||
138 | 138 | ||
139 | 139 | ||
140 | typedef struct FORM_PARTITION FORM_PARTITION ; | 140 | typedef struct FORM_PARTITION FORM_PARTITION; |
141 | struct FORM_PARTITION { | 141 | struct FORM_PARTITION { |
142 | char cmd_code ; | 142 | char cmd_code; |
143 | char status_code ; | 143 | char status_code; |
144 | char port_number ; | 144 | char port_number; |
145 | char tx_max ; | 145 | char tx_max; |
146 | char rx_max ; | 146 | char rx_max; |
147 | char rx_limit ; | 147 | char rx_limit; |
148 | } ; | 148 | }; |
149 | 149 | ||
150 | 150 | ||
151 | #endif | 151 | #endif |
152 | 152 | ||
153 | /*********** end of file ***********/ | 153 | /*********** end of file ***********/ |
154 | |||