Go to the source code of this file.
#define CAM_DESCRIPTORS 16 |
#define SIZEOF_SONIC_CD 4 |
#define SIZEOF_SONIC_DESC |
#define SIZEOF_SONIC_RD 7 |
#define SIZEOF_SONIC_RR 4 |
#define SIZEOF_SONIC_TD 8 |
#define SONIC_BITMODE16 0 |
#define SONIC_BITMODE32 1 |
#define SONIC_BUS_SCALE |
( |
|
bitmode | ) |
((bitmode) ? 4 : 2) |
#define SONIC_CD_ENTRY_POINTER 0 |
#define SONIC_CR_HTX 0x0001 |
#define SONIC_CR_LCAM 0x0200 |
#define SONIC_CR_RRRA 0x0100 |
#define SONIC_CR_RST 0x0080 |
#define SONIC_CR_RXDIS 0x0004 |
#define SONIC_CR_RXEN 0x0008 |
#define SONIC_CR_ST 0x0020 |
#define SONIC_CR_STP 0x0010 |
#define SONIC_CR_TXP 0x0002 |
#define SONIC_DCR_BMS 0x0010 |
#define SONIC_DCR_DW 0x0020 |
#define SONIC_DCR_EXBUS 0x8000 |
#define SONIC_DCR_LBR 0x2000 |
#define SONIC_DCR_PO0 0x0800 |
#define SONIC_DCR_PO1 0x1000 |
#define SONIC_DCR_RFT0 0x0004 |
#define SONIC_DCR_RFT1 0x0008 |
#define SONIC_DCR_SBUS 0x0400 |
#define SONIC_DCR_TFT0 0x0001 |
#define SONIC_DCR_TFT1 0x0002 |
#define SONIC_DCR_USR0 0x0100 |
#define SONIC_DCR_USR1 0x0200 |
#define SONIC_DCR_WC0 0x0040 |
#define SONIC_DCR_WC1 0x0080 |
#define SONIC_IMR_DEFAULT |
Value:
SONIC_INT_LCD | \
SONIC_INT_RFO | \
SONIC_INT_PKTRX | \
SONIC_INT_TXDN | \
SONIC_INT_TXER | \
SONIC_INT_RDE | \
SONIC_INT_RBAE | \
SONIC_INT_CRC | \
SONIC_INT_FAE | \
SONIC_INT_MP)
Definition at line 210 of file sonic.h.
#define SONIC_INT_BR 0x4000 |
#define SONIC_INT_CRC 0x0008 |
#define SONIC_INT_FAE 0x0004 |
#define SONIC_INT_HBL 0x2000 |
#define SONIC_INT_LCD 0x1000 |
#define SONIC_INT_MP 0x0002 |
#define SONIC_INT_PINT 0x0800 |
#define SONIC_INT_PKTRX 0x0400 |
#define SONIC_INT_RBAE 0x0010 |
#define SONIC_INT_RBE 0x0020 |
#define SONIC_INT_RDE 0x0040 |
#define SONIC_INT_RFO 0x0001 |
#define SONIC_INT_TC 0x0080 |
#define SONIC_INT_TXDN 0x0200 |
#define SONIC_INT_TXER 0x0100 |
#define SONIC_RCR_AMC 0x0800 |
#define SONIC_RCR_BC 0x0080 |
#define SONIC_RCR_BRD 0x2000 |
#define SONIC_RCR_COL 0x0010 |
#define SONIC_RCR_CRCR 0x0008 |
#define SONIC_RCR_CRS 0x0020 |
#define SONIC_RCR_ERR 0x8000 |
#define SONIC_RCR_FAER 0x0004 |
#define SONIC_RCR_LB0 0x0200 |
#define SONIC_RCR_LB1 0x0400 |
#define SONIC_RCR_LB_OFF 0 |
#define SONIC_RCR_LBK 0x0002 |
#define SONIC_RCR_LPKT 0x0040 |
#define SONIC_RCR_MC 0x0100 |
#define SONIC_RCR_PRO 0x1000 |
#define SONIC_RCR_PRX 0x0001 |
#define SONIC_RCR_RNT 0x4000 |
#define SONIC_RD_IN_USE 6 |
#define SONIC_RD_PKTLEN 1 |
#define SONIC_RD_PKTPTR_H 3 |
#define SONIC_RD_PKTPTR_L 2 |
#define SONIC_RD_STATUS 0 |
#define SONIC_RR_BUFADR_H 1 |
#define SONIC_RR_BUFADR_L 0 |
#define SONIC_RR_BUFSIZE_H 3 |
#define SONIC_RR_BUFSIZE_L 2 |
#define SONIC_TCR_BCM 0x0002 |
#define SONIC_TCR_CRCI 0x2000 |
#define SONIC_TCR_CRLS 0x0080 |
#define SONIC_TCR_DEF 0x0200 |
#define SONIC_TCR_DEFAULT 0x0000 |
#define SONIC_TCR_EXC 0x0040 |
#define SONIC_TCR_EXD 0x0400 |
#define SONIC_TCR_EXDIS 0x1000 |
#define SONIC_TCR_FU 0x0004 |
#define SONIC_TCR_NCRS 0x0100 |
#define SONIC_TCR_PINTR 0x8000 |
#define SONIC_TCR_PMB 0x0008 |
#define SONIC_TCR_POWC 0x4000 |
#define SONIC_TCR_PTX 0x0001 |
#define SONIC_TD_CONFIG 1 |
#define SONIC_TD_FRAG_COUNT 3 |
#define SONIC_TD_FRAG_PTR_H 5 |
#define SONIC_TD_FRAG_PTR_L 4 |
#define SONIC_TD_FRAG_SIZE 6 |
#define SONIC_TD_PKTSIZE 2 |
#define SONIC_TD_STATUS 0 |
#define TX_TIMEOUT (3 * HZ) |