aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/rio/formpkt.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/formpkt.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/formpkt.h')
-rw-r--r--drivers/char/rio/formpkt.h151
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
44static char *_rio_formpkt_h_sccs = "@(#)formpkt.h 1.1" ; 44static char *_rio_formpkt_h_sccs = "@(#)formpkt.h 1.1";
45#endif 45#endif
46#endif 46#endif
47 47
48typedef struct FORM_BOOT_PKT_1 FORM_BOOT_PKT_1 ; 48typedef struct FORM_BOOT_PKT_1 FORM_BOOT_PKT_1;
49struct FORM_BOOT_PKT_1 { 49struct 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
55typedef struct FORM_BOOT_PKT_2 FORM_BOOT_PKT_2 ; 55typedef struct FORM_BOOT_PKT_2 FORM_BOOT_PKT_2;
56struct FORM_BOOT_PKT_2 { 56struct 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
62typedef struct FORM_ATTACH_RTA FORM_ATTACH_RTA ; 62typedef struct FORM_ATTACH_RTA FORM_ATTACH_RTA;
63struct FORM_ATTACH_RTA { 63struct 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
72typedef struct FORM_BOOT_ID FORM_BOOT_ID ; 72typedef struct FORM_BOOT_ID FORM_BOOT_ID;
73struct FORM_BOOT_ID { 73struct 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
82typedef struct FORM_ROUTE_1 FORM_ROUTE_1 ; 82typedef struct FORM_ROUTE_1 FORM_ROUTE_1;
83struct FORM_ROUTE_1 { 83struct 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
91typedef struct FORM_ROUTE_2 FORM_ROUTE_2 ; 91typedef struct FORM_ROUTE_2 FORM_ROUTE_2;
92struct FORM_ROUTE_2 { 92struct 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
99typedef struct FORM_ROUTE_REQ FORM_ROUTE_REQ ; 99typedef struct FORM_ROUTE_REQ FORM_ROUTE_REQ;
100struct FORM_ROUTE_REQ { 100struct 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
108typedef struct FORM_ERROR FORM_ERROR ; 108typedef struct FORM_ERROR FORM_ERROR;
109struct FORM_ERROR { 109struct FORM_ERROR {
110 char cmd_code ; 110 char cmd_code;
111 char error_code ; 111 char error_code;
112 112
113 } ; 113};
114 114
115typedef struct FORM_STATUS FORM_STATUS ; 115typedef struct FORM_STATUS FORM_STATUS;
116struct FORM_STATUS { 116struct 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
127typedef struct FORM_LINK_STATUS FORM_LINK_STATUS ; 127typedef struct FORM_LINK_STATUS FORM_LINK_STATUS;
128struct FORM_LINK_STATUS { 128struct 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
140typedef struct FORM_PARTITION FORM_PARTITION ; 140typedef struct FORM_PARTITION FORM_PARTITION;
141struct FORM_PARTITION { 141struct 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