Go to the source code of this file.
|
enum | sbni_reg { CSR0 = 0,
CSR1 = 1,
DAT = 2
} |
|
enum | {
BU_EMP = 0x02,
RC_CHK = 0x04,
CT_ZER = 0x08,
TR_REQ = 0x10,
TR_RDY = 0x20,
EN_INT = 0x40,
RC_RDY = 0x80
} |
|
enum | {
FL_WAIT_ACK = 0x01,
FL_NEED_RESEND = 0x02,
FL_PREV_OK = 0x04,
FL_SLOW_MODE = 0x08,
FL_SECONDARY = 0x10,
FL_LINE_DOWN = 0x40
} |
|
enum | { DEFAULT_IOBASEADDR = 0x210,
DEFAULT_INTERRUPTNUMBER = 5,
DEFAULT_RATE = 0,
DEFAULT_FRAME_LEN = 1012
} |
|
#define CHANGE_LEVEL_START_TICKS 4 |
#define CRC32 |
( |
|
c, |
|
|
|
crc |
|
) |
| (crc32tab[((size_t)(crc) ^ (c)) & 0xff] ^ (((crc) >> 8) & 0x00FFFFFF)) |
#define CRC32_INITIAL 0x00000000 |
#define CRC32_REMAINDER 0x2144DF1C |
#define ETHER_MAX_LEN 1518 |
#define FRAME_ACK_MASK (unsigned short)0x7000 |
#define FRAME_FIRST (unsigned short)0x8000 |
#define FRAME_LEN_MASK (unsigned short)0x03FF |
#define FRAME_RETRY (unsigned short)0x0800 |
#define FRAME_SENT_BAD (unsigned short)0x4000 |
#define FRAME_SENT_OK (unsigned short)0x3000 |
#define SBNI_MAX_FRAME 1023 |
#define SBNI_MAX_NUM_CARDS 16 |
#define SBNI_MIN_LEN 60 /* Shortest Ethernet frame without FCS */ |
#define SBNI_PCI_DEVICE 0x9f |
#define SBNI_PCI_VENDOR 0x55 |
#define SBNI_TIMEOUT (HZ/10) |
#define TR_ERROR_COUNT 32 |
- Enumerator:
BU_EMP |
|
RC_CHK |
|
CT_ZER |
|
TR_REQ |
|
TR_RDY |
|
EN_INT |
|
RC_RDY |
|
Definition at line 32 of file sbni.h.
- Enumerator:
FL_WAIT_ACK |
|
FL_NEED_RESEND |
|
FL_PREV_OK |
|
FL_SLOW_MODE |
|
FL_SECONDARY |
|
FL_LINE_DOWN |
|
Definition at line 69 of file sbni.h.
- Enumerator:
DEFAULT_IOBASEADDR |
|
DEFAULT_INTERRUPTNUMBER |
|
DEFAULT_RATE |
|
DEFAULT_FRAME_LEN |
|
Definition at line 82 of file sbni.h.
- Enumerator:
-
Definition at line 25 of file sbni.h.