1 /*
2 * 3COM "EtherLink MC/32" Descriptions
3 */
4
5 /*
6 * Registers
7 */
8
9 #define HOST_CMD 0
10
11 #define HOST_STATUS 2
12 #define HOST_STATUS_CRR (1<<6)
13 #define HOST_STATUS_CWR (1<<5)
14
15 #define HOST_CTRL 6
16 #define HOST_CTRL_ATTN (1<<7)
17 #define HOST_CTRL_RESET (1<<6)
18 #define HOST_CTRL_INTE (1<<2)
19
20 #define HOST_RAMPAGE 8
21
22 struct skb_header
23 {
24 u8 status __attribute((packed));
25 u8 control __attribute((packed));
26 u16 next __attribute((packed)); /* Do not change! */
27 u16 length __attribute((packed));
28 u32 data __attribute((packed));
29 };
30
31 #define STATUS_MASK 0x0F
32 #define COMPLETED 0x80
33 #define COMPLETED_OK 0x40
34 #define BUFFER_BUSY 0x20
35
36 #define CONTROL_EOP 0x80 /* End Of Packet */
37 #define CONTROL_EL 0x40 /* End of List */
38
39
40 #define MCA_MC32_ID 0x0041 /* Our MCA ident */
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.