Go to the source code of this file.
#define CR0_INT_ACK (1 << 7) /* 0=No ack, 1=acknowledge */ |
#define CR0_STATUS_0 0x00 |
#define CR0_STATUS_1 0x20 |
#define CR0_STATUS_2 0x40 |
#define CR0_STATUS_3 0x60 |
#define CR1_STATUS_4 0x00 |
#define CR1_STATUS_5 0x20 |
#define CR1_STATUS_6 0x40 |
#define CR1_STOP_REG_UPDATE (1 << 7) |
#define I82593_MAX_MULTICAST_ADDRESSES 128 /* Hardware hashed filter */ |
#define OP0_FIX_PTR 15 /* CHNL = 1 */ |
#define OP0_NOP 0 /* CHNL = 0 */ |
#define OP0_RCV_DISABLE 10 |
#define OP0_RETRANSMIT 12 |
#define OP0_RLS_PTR 15 /* CHNL = 0 */ |
#define OP0_SWIT_TO_PORT_1 0 /* CHNL = 1 */ |
#define OP0_TRANSMIT_NO_CRC 9 |
#define OP1_INT_DISABLE 2 |
#define OP1_RESET_RING_MNGMT 11 |
#define OP1_SWIT_TO_PORT_0 1 |
#define RX_ALG_ERR (1 << 10) |
#define RX_CRC_ERR (1 << 11) |
#define RX_IA_MATCH (1 << 1) |
#define RX_LEN_ERR (1 << 12) |
#define RX_NO_AD_MATCH (1 << 2) |
#define RX_NO_SFD (1 << 3) |
#define RX_OVRRUN (1 << 8) |
#define RX_RCV_OK (1 << 13) |
#define RX_SRT_FRM (1 << 7) |
#define RX_TYP_LEN (1 << 15) |
#define SR0_CHNL (1 << 4) |
#define SR0_CONFIGURE_DONE 2 |
#define SR0_DIAGNOSE_FAILED 15 |
#define SR0_DIAGNOSE_PASSED 7 |
#define SR0_END_OF_FRAME 8 |
#define SR0_EVENT_MASK 0x0f |
#define SR0_EXECUTION (1 << 5) |
#define SR0_EXECUTION_ABORTED 13 |
#define SR0_IA_SETUP_DONE 1 |
#define SR0_INTERRUPT (1 << 7) |
#define SR0_MC_SETUP_DONE 3 |
#define SR0_NO_RESULT 0 /* dummy */ |
#define SR0_RECEPTION (1 << 6) |
#define SR0_RECEPTION_ABORTED 10 |
#define SR0_RETRANSMIT_DONE 12 |
#define SR0_STOP_REG_HIT 11 |
#define SR0_TRANSMIT_DONE 4 |
#define SR0_TRANSMIT_NO_CRC_DONE 9 |
#define SR3_ABORT_IN_PROGRESS 3 |
#define SR3_EXEC_ACTIVE 2 |
#define SR3_EXEC_CHNL (1 << 2) |
#define SR3_EXEC_STATE_MASK 0x03 |
#define SR3_RCV_ACTIVE 0x40 |
#define SR3_RCV_CHNL (1 << 7) |
#define SR3_RCV_IDLE 0x00 |
#define SR3_RCV_READY 0x20 |
#define SR3_RCV_STATE_MASK 0x60 |
#define SR3_RCV_STOP_IN_PROG 0x60 |
#define SR3_RCVING_NO_RSRC (1 << 4) |
#define SR3_STP_ON_NO_RSRC (1 << 3) |
#define SR3_TX_ABORT_IN_PROGRESS 1 |
#define TX_COLL (1 << 15) |
#define TX_DEFER (1 << 7) |
#define TX_HRT_BEAT (1 << 6) |
#define TX_LOST_CRS (1 << 10) |
#define TX_LOST_CTS (1 << 9) |
#define TX_LTCOL (1 << 11) |
#define TX_MAX_COL (1 << 5) |
#define TX_NCOL_MASK 0x0f |
#define TX_UND_RUN (1 << 8) |