Compaq AA-RNG2A-TE Network Card User Manual


 
};
#define TX_INT 0x8000
5
#define W1_RXDATA 0x0 6
#define W1_TXDATA 0x0 7
#define W1_FREETX 0xc 8
1 Defines the offset for the receive status register.
2 Defines an enumerated data type called w1_rxstat. The if_el device
driver can assign one of the following values to W1_RXSTAT (the receive
status register):
RX_IC
Indicates an incomplete operation.
RX_ER
Indicates an error in the operation.
RX_EM
If any of the bits are set in the mask, indicates
that an error has occurred.
RX_EOR
Indicates an overrun error in the operation.
RX_ERT
Indicates a run-time error.
RX_EAL
Indicates an alignment error.
RX_ECR
Indicates a CRC error.
RX_EOS
Indicates an oversize error.
RX_BYTES
Mask used to determine the number of bytes received.
3 Defines the offset for the transmit status register.
4 Defines an enumerated data type called w1_txstat. The if_el
device driver can assign one of the following values to W1_TXSTAT (the
transmit status register):
TX_CM
Indicates that the transmission completed.
TX_IS
Indicates that the device should interrupt when a
transmission is successfully completed.
TX_JB
Indicates a jabber error.
TX_UN
Indicates an underrun. This is a serious error
that requires a reset.
TX_MC
Indicates the maximum number of colli-
sions that occurred.
TX_OF
Indicates an overflow error.
TX_RE
Not currently used.
5 Defines the offset for the request interrupt after completion register.
6 Defines the offset for the receive data register.
7 Defines the offset for the transmit data register.
210 Defining Device Register Offsets