diff options
Diffstat (limited to 'drivers/char/rio/pkt.h')
-rw-r--r-- | drivers/char/rio/pkt.h | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/drivers/char/rio/pkt.h b/drivers/char/rio/pkt.h index 7011e52e82db..a9458164f02f 100644 --- a/drivers/char/rio/pkt.h +++ b/drivers/char/rio/pkt.h | |||
@@ -37,14 +37,6 @@ | |||
37 | #ifndef _pkt_h | 37 | #ifndef _pkt_h |
38 | #define _pkt_h 1 | 38 | #define _pkt_h 1 |
39 | 39 | ||
40 | |||
41 | #ifdef SCCS_LABELS | ||
42 | #ifndef lint | ||
43 | /* static char *_rio_pkt_h_sccs = "@(#)pkt.h 1.8"; */ | ||
44 | #endif | ||
45 | #endif | ||
46 | |||
47 | #define MAX_TTL 0xf | ||
48 | #define PKT_CMD_BIT ((ushort) 0x080) | 40 | #define PKT_CMD_BIT ((ushort) 0x080) |
49 | #define PKT_CMD_DATA ((ushort) 0x080) | 41 | #define PKT_CMD_DATA ((ushort) 0x080) |
50 | 42 | ||
@@ -70,15 +62,15 @@ | |||
70 | #define CONTROL_DATA_WNDW (DATA_WNDW << 8) | 62 | #define CONTROL_DATA_WNDW (DATA_WNDW << 8) |
71 | 63 | ||
72 | struct PKT { | 64 | struct PKT { |
73 | BYTE dest_unit; /* Destination Unit Id */ | 65 | u8 dest_unit; /* Destination Unit Id */ |
74 | BYTE dest_port; /* Destination POrt */ | 66 | u8 dest_port; /* Destination POrt */ |
75 | BYTE src_unit; /* Source Unit Id */ | 67 | u8 src_unit; /* Source Unit Id */ |
76 | BYTE src_port; /* Source POrt */ | 68 | u8 src_port; /* Source POrt */ |
77 | BYTE len; | 69 | u8 len; |
78 | BYTE control; | 70 | u8 control; |
79 | BYTE data[PKT_MAX_DATA_LEN]; | 71 | u8 data[PKT_MAX_DATA_LEN]; |
80 | /* Actual data :-) */ | 72 | /* Actual data :-) */ |
81 | WORD csum; /* C-SUM */ | 73 | u16 csum; /* C-SUM */ |
82 | }; | 74 | }; |
83 | #endif | 75 | #endif |
84 | 76 | ||