Go to the source code of this file.
#define CFG1_ADDRPROM 0x0006 |
#define CFG1_BUFSELSTAT0 0x0000 |
#define CFG1_BUFSELSTAT1 0x0001 |
#define CFG1_BUFSELSTAT2 0x0002 |
#define CFG1_BUFSELSTAT3 0x0003 |
#define CFG1_BUFSELSTAT4 0x0004 |
#define CFG1_BUFSELSTAT5 0x0005 |
#define CFG1_DMABURST1 0x0000 |
#define CFG1_DMABURST16 0x00C0 |
#define CFG1_DMABURST1600NS 0x0020 |
#define CFG1_DMABURST3200NS 0x0030 |
#define CFG1_DMABURST4 0x0040 |
#define CFG1_DMABURST8 0x0080 |
#define CFG1_DMABURST800NS 0x0010 |
#define CFG1_DMABURSTCONT 0x0000 |
#define CFG1_INTVECTOR 0x0009 |
#define CFG1_LOCBUFMEM 0x0008 |
#define CFG1_RECVCOMPSTAT0 0x0100 |
#define CFG1_RECVCOMPSTAT1 0x0200 |
#define CFG1_RECVCOMPSTAT2 0x0400 |
#define CFG1_RECVCOMPSTAT3 0x0800 |
#define CFG1_RECVCOMPSTAT4 0x1000 |
#define CFG1_RECVCOMPSTAT5 0x2000 |
#define CFG1_RECVPROMISC 0xC000 |
#define CFG1_RECVSPECBRMULTI 0x8000 |
#define CFG1_RECVSPECBROAD 0x4000 |
#define CFG1_RECVSPECONLY 0x0000 |
#define CFG1_TRANSEND 0x0007 |
#define CFG2_ADDRLENGTH 0x0100 |
#define CFG2_BYTESWAP 0x0001 |
#define CFG2_CTRLO 0x1000 |
#define CFG2_ERRENCRC 0x0008 |
#define CFG2_ERRENDRIBBLE 0x0010 |
#define CFG2_ERRSHORTFRAME 0x0020 |
#define CFG2_LOOPBACK 0x0800 |
#define CFG2_PREAMSELECT 0x0080 |
#define CFG2_RECVCRC 0x0200 |
#define CFG2_RESET 0x8000 |
#define CFG2_SLOTSELECT 0x0040 |
#define CFG2_XMITNOCRC 0x0400 |
#define CMD_ACKINTBUFWIN 0x0080 |
#define CMD_ACKINTDMA 0x0010 |
#define CMD_ACKINTRX 0x0020 |
#define CMD_ACKINTTX 0x0040 |
#define CMD_DMAOFF 0x0800 |
#define CMD_ENINTBUFWIN 0x0008 |
#define CMD_ENINTDMA 0x0001 |
#define CMD_ENINTRX 0x0002 |
#define CMD_ENINTTX 0x0004 |
#define CMD_FIFOREAD 0x4000 |
#define CMD_FIFOWRITE 0x8000 |
#define MAX_TX_BUFFERED 10 |
#define REG_BUFWIN (priv(dev)->seeq + 0x0100) |
#define REG_COMMAND (priv(dev)->seeq + 0x0000) |
#define REG_CONFIG1 (priv(dev)->seeq + 0x0040) |
#define REG_CONFIG2 (priv(dev)->seeq + 0x0080) |
#define REG_DMAADDR (priv(dev)->seeq + 0x01c0) |
#define REG_RECVEND (priv(dev)->seeq + 0x00c0) |
#define REG_RECVPTR (priv(dev)->seeq + 0x0140) |
#define REG_STATUS (priv(dev)->seeq + 0x0000) |
#define REG_TRANSMITPTR (priv(dev)->seeq + 0x0180) |
#define RXHDR_CHAINCONTINUE (1 << 6) |
#define RXHDR_RECEIVE (1 << 7) |
#define RXSTAT_CRCERROR (1 << 9) |
#define RXSTAT_DONE (1 << 15) |
#define RXSTAT_DRIBBLEERROR (1 << 10) |
#define RXSTAT_OVERSIZE (1 << 8) |
#define RXSTAT_SHORTPACKET (1 << 11) |
#define STAT_DMAON 0x0100 |
#define STAT_ENINTBUFWIN 0x0008 |
#define STAT_ENINTRX 0x0002 |
#define STAT_ENINTSTAT 0x0001 |
#define STAT_ENINTTX 0x0004 |
#define STAT_FIFODIR 0x8000 |
#define STAT_FIFOEMPTY 0x4000 |
#define STAT_FIFOFULL 0x2000 |
#define STAT_INTBUFWIN 0x0080 |
#define STAT_INTDMA 0x0010 |
#define STAT_INTRX 0x0020 |
#define STAT_INTTX 0x0040 |
#define TXHDR_CHAINCONTINUE (1 << 22) |
#define TXHDR_DATAFOLLOWS (1 << 21) |
#define TXHDR_EN16COLLISION (1 << 18) |
#define TXHDR_ENBABBLEINT (1 << 16) |
#define TXHDR_ENCOLLISIONINT (1 << 17) |
#define TXHDR_ENSUCCESS (1 << 19) |
#define TXHDR_TRANSMIT (1 << 23) |
#define TXSTAT_16COLLISIONS (1 << 26) |
#define TXSTAT_BABBLED (1 << 24) |
#define TXSTAT_COLLISION (1 << 25) |
#define TXSTAT_DONE (1 << 31) |