summaryrefslogtreecommitdiff
path: root/drivers/char/rio/formpkt.h
diff options
context:
space:
mode:
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 a8b65ae..3c7c91a 100644
--- a/drivers/char/rio/formpkt.h
+++ b/drivers/char/rio/formpkt.h
@@ -41,114 +41,113 @@
#ifndef lint
#ifdef SCCS
-static char *_rio_formpkt_h_sccs = "@(#)formpkt.h 1.1" ;
+static char *_rio_formpkt_h_sccs = "@(#)formpkt.h 1.1";
#endif
#endif
-typedef struct FORM_BOOT_PKT_1 FORM_BOOT_PKT_1 ;
+typedef struct FORM_BOOT_PKT_1 FORM_BOOT_PKT_1;
struct FORM_BOOT_PKT_1 {
- ushort pkt_number ;
- ushort pkt_total ;
- ushort boot_top ;
- } ;
+ ushort pkt_number;
+ ushort pkt_total;
+ ushort boot_top;
+};
-typedef struct FORM_BOOT_PKT_2 FORM_BOOT_PKT_2 ;
+typedef struct FORM_BOOT_PKT_2 FORM_BOOT_PKT_2;
struct FORM_BOOT_PKT_2 {
- ushort pkt_number ;
- char boot_data[10] ;
- } ;
+ ushort pkt_number;
+ char boot_data[10];
+};
-typedef struct FORM_ATTACH_RTA FORM_ATTACH_RTA ;
-struct FORM_ATTACH_RTA {
- char cmd_code ;
- char booter_serial[4] ;
- char booter_link ;
- char bootee_serial[4] ;
- char bootee_link ;
- } ;
+typedef struct FORM_ATTACH_RTA FORM_ATTACH_RTA;
+struct FORM_ATTACH_RTA {
+ char cmd_code;
+ char booter_serial[4];
+ char booter_link;
+ char bootee_serial[4];
+ char bootee_link;
+};
-typedef struct FORM_BOOT_ID FORM_BOOT_ID ;
-struct FORM_BOOT_ID {
- char cmd_code ;
- char bootee_serial[4] ;
- char bootee_prod_id ;
- char bootee_link ;
- } ;
+typedef struct FORM_BOOT_ID FORM_BOOT_ID;
+struct FORM_BOOT_ID {
+ char cmd_code;
+ char bootee_serial[4];
+ char bootee_prod_id;
+ char bootee_link;
+};
-typedef struct FORM_ROUTE_1 FORM_ROUTE_1 ;
+typedef struct FORM_ROUTE_1 FORM_ROUTE_1;
struct FORM_ROUTE_1 {
- char cmd_code ;
- char pkt_number ;
- char total_in_sequence ;
- char unit_id ;
- char host_unit_id ;
- } ;
-
-typedef struct FORM_ROUTE_2 FORM_ROUTE_2 ;
+ char cmd_code;
+ char pkt_number;
+ char total_in_sequence;
+ char unit_id;
+ char host_unit_id;
+};
+
+typedef struct FORM_ROUTE_2 FORM_ROUTE_2;
struct FORM_ROUTE_2 {
- char cmd_code ;
- char pkt_number ;
- char total_in_sequence ;
- char route_data[9] ;
- } ;
+ char cmd_code;
+ char pkt_number;
+ char total_in_sequence;
+ char route_data[9];
+};
-typedef struct FORM_ROUTE_REQ FORM_ROUTE_REQ ;
+typedef struct FORM_ROUTE_REQ FORM_ROUTE_REQ;
struct FORM_ROUTE_REQ {
- char cmd_code ;
- char pkt_number ;
- char total_in_sequence ;
- char route_data[10] ;
- } ;
+ char cmd_code;
+ char pkt_number;
+ char total_in_sequence;
+ char route_data[10];
+};
-typedef struct FORM_ERROR FORM_ERROR ;
+typedef struct FORM_ERROR FORM_ERROR;
struct FORM_ERROR {
- char cmd_code ;
- char error_code ;
+ char cmd_code;
+ char error_code;
- } ;
+};
-typedef struct FORM_STATUS FORM_STATUS ;
+typedef struct FORM_STATUS FORM_STATUS;
struct FORM_STATUS {
- char cmd_code ;
- char status_code ;
- char last_packet_valid ;
- char tx_buffer ;
- char rx_buffer ;
- char port_status ;
- char phb_status ;
- } ;
+ char cmd_code;
+ char status_code;
+ char last_packet_valid;
+ char tx_buffer;
+ char rx_buffer;
+ char port_status;
+ char phb_status;
+};
-typedef struct FORM_LINK_STATUS FORM_LINK_STATUS ;
+typedef struct FORM_LINK_STATUS FORM_LINK_STATUS;
struct FORM_LINK_STATUS {
- char cmd_code ;
- char status_code ;
- char link_number ;
- ushort rx_errors ;
- ushort tx_errors ;
- ushort csum_errors ;
- ushort disconnects ;
- } ;
+ char cmd_code;
+ char status_code;
+ char link_number;
+ ushort rx_errors;
+ ushort tx_errors;
+ ushort csum_errors;
+ ushort disconnects;
+};
-typedef struct FORM_PARTITION FORM_PARTITION ;
+typedef struct FORM_PARTITION FORM_PARTITION;
struct FORM_PARTITION {
- char cmd_code ;
- char status_code ;
- char port_number ;
- char tx_max ;
- char rx_max ;
- char rx_limit ;
- } ;
+ char cmd_code;
+ char status_code;
+ char port_number;
+ char tx_max;
+ char rx_max;
+ char rx_limit;
+};
#endif
/*********** end of file ***********/
-