[TG3]: Set minimal hw interrupt mitigation.
[linux-2.6/verdex.git] / drivers / char / rio / formpkt.h
bloba8b65ae0de90dc9e976923eeea1928c9a6e67f83
3 /****************************************************************************
4 ******* *******
5 ******* F O R M P A C K E T H E A D E R F I L E
6 ******* *******
7 ****************************************************************************
9 Author : Ian Nandhra
10 Date :
13 * (C) 1990 - 2000 Specialix International Ltd., Byfleet, Surrey, UK.
15 * This program is free software; you can redistribute it and/or modify
16 * it under the terms of the GNU General Public License as published by
17 * the Free Software Foundation; either version 2 of the License, or
18 * (at your option) any later version.
20 * This program is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
25 * You should have received a copy of the GNU General Public License
26 * along with this program; if not, write to the Free Software
27 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29 Version : 0.01
32 Mods
33 ----------------------------------------------------------------------------
34 Date By Description
35 ----------------------------------------------------------------------------
37 ***************************************************************************/
39 #ifndef _formpkt_h
40 #define _formpkt_h 1
42 #ifndef lint
43 #ifdef SCCS
44 static char *_rio_formpkt_h_sccs = "@(#)formpkt.h 1.1" ;
45 #endif
46 #endif
48 typedef struct FORM_BOOT_PKT_1 FORM_BOOT_PKT_1 ;
49 struct FORM_BOOT_PKT_1 {
50 ushort pkt_number ;
51 ushort pkt_total ;
52 ushort boot_top ;
53 } ;
55 typedef struct FORM_BOOT_PKT_2 FORM_BOOT_PKT_2 ;
56 struct FORM_BOOT_PKT_2 {
57 ushort pkt_number ;
58 char boot_data[10] ;
59 } ;
62 typedef struct FORM_ATTACH_RTA FORM_ATTACH_RTA ;
63 struct FORM_ATTACH_RTA {
64 char cmd_code ;
65 char booter_serial[4] ;
66 char booter_link ;
67 char bootee_serial[4] ;
68 char bootee_link ;
69 } ;
72 typedef struct FORM_BOOT_ID FORM_BOOT_ID ;
73 struct FORM_BOOT_ID {
74 char cmd_code ;
75 char bootee_serial[4] ;
76 char bootee_prod_id ;
77 char bootee_link ;
78 } ;
82 typedef struct FORM_ROUTE_1 FORM_ROUTE_1 ;
83 struct FORM_ROUTE_1 {
84 char cmd_code ;
85 char pkt_number ;
86 char total_in_sequence ;
87 char unit_id ;
88 char host_unit_id ;
89 } ;
91 typedef struct FORM_ROUTE_2 FORM_ROUTE_2 ;
92 struct FORM_ROUTE_2 {
93 char cmd_code ;
94 char pkt_number ;
95 char total_in_sequence ;
96 char route_data[9] ;
97 } ;
99 typedef struct FORM_ROUTE_REQ FORM_ROUTE_REQ ;
100 struct FORM_ROUTE_REQ {
101 char cmd_code ;
102 char pkt_number ;
103 char total_in_sequence ;
104 char route_data[10] ;
108 typedef struct FORM_ERROR FORM_ERROR ;
109 struct FORM_ERROR {
110 char cmd_code ;
111 char error_code ;
115 typedef struct FORM_STATUS FORM_STATUS ;
116 struct FORM_STATUS {
117 char cmd_code ;
118 char status_code ;
119 char last_packet_valid ;
120 char tx_buffer ;
121 char rx_buffer ;
122 char port_status ;
123 char phb_status ;
127 typedef struct FORM_LINK_STATUS FORM_LINK_STATUS ;
128 struct FORM_LINK_STATUS {
129 char cmd_code ;
130 char status_code ;
131 char link_number ;
132 ushort rx_errors ;
133 ushort tx_errors ;
134 ushort csum_errors ;
135 ushort disconnects ;
140 typedef struct FORM_PARTITION FORM_PARTITION ;
141 struct FORM_PARTITION {
142 char cmd_code ;
143 char status_code ;
144 char port_number ;
145 char tx_max ;
146 char rx_max ;
147 char rx_limit ;
151 #endif
153 /*********** end of file ***********/