2 * 3COM "EtherLink MC/32" Descriptions
10 #define HOST_CMD_START_RX (1<<3)
11 #define HOST_CMD_SUSPND_RX (3<<3)
12 #define HOST_CMD_RESTRT_RX (5<<3)
14 #define HOST_CMD_SUSPND_TX 3
15 #define HOST_CMD_RESTRT_TX 5
19 #define HOST_STATUS_CRR (1<<6)
20 #define HOST_STATUS_CWR (1<<5)
24 #define HOST_CTRL_ATTN (1<<7)
25 #define HOST_CTRL_RESET (1<<6)
26 #define HOST_CTRL_INTE (1<<2)
28 #define HOST_RAMPAGE 8
37 } __attribute((packed));
43 u16 next; /* Do not change! */
46 } __attribute((packed));
52 u32 rx_alignment_errors;
53 u32 rx_overrun_errors;
54 u32 rx_tooshort_errors;
55 u32 rx_toolong_errors;
56 u32 rx_outofresource_errors;
58 u32 rx_discarded; /* via card pattern match filter */
61 u32 tx_max_collisions;
62 u32 tx_carrier_errors;
63 u32 tx_underrun_errors;
65 u32 tx_timeout_errors;
71 } __attribute((packed));
73 #define STATUS_MASK 0x0F
74 #define COMPLETED (1<<7)
75 #define COMPLETED_OK (1<<6)
76 #define BUFFER_BUSY (1<<5)
78 #define CONTROL_EOP (1<<7) /* End Of Packet */
79 #define CONTROL_EOL (1<<6) /* End of List */
81 #define MCA_MC32_ID 0x0041 /* Our MCA ident */