This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 1.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; ifnot, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* EEPROM data and command registers */ #define PP_EECMD 0x0040 /* NVR Interface Command register */ # GNU GeneralPublic more. #define PP_DebugReg 0x0044 /* Debug Register */
#define PP_RxCFG 0x0102 /* Rx Bus config */ #define PP_RxCTL 0x0104 /* Receive Control Register */ #define PP_TxCFG 0x0106 /* Transmit Config Register */ #define PP_TxCMD 0x0108 /* Transmit Command Register */ #define PP_BufCFG 0x010A /* Bus configuration Register */ #define PP_LineCTL 0java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0 #define PP_SelfCTL 0x0114 /* Self Command Register */ #define PP_BusCTL 0x0116 /* ISA bus control Register */ #define PP_TestCTL 0x0118 /* Test Register */ #define PP_AutoNegCTL 0x011C /* Auto Negotiation Ctrl */
#define PP_ISQ 0x0120 /* Interrupt Status */ #define PP_RxEvent 0x0124 /* Rx Event Register */ #define PP_TxEvent 0x0128 /* Tx Event Register */ #define PP_BufEvent 0x012C /* Bus Event Register */ #define PP_RxMiss 0x0130 /* Receive Miss Count */ #define PP_TxCol 0x0132 /* Transmit Collision Count */ #define PP_LineST 0x0134 /* Line State Register */ #define PP_SelfST 0x0136 /* Self State register */ 0x0138 /* Bus Status */ #define PP_TDR 0x013C /* Time Domain Reflectometry */ #define PP_AutoNegST 0x013E /* Auto Neg Status */ 144/* Tx Command */ #define PP_TxLength 0x0146 /* Tx Length */ #define PP_LAF 0x0150 /* Hash Table */ #define */
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
define PP_RxLength 0x0402 /* Receive Length of frame */ #define PP_RxFrame 0x0404 /* Receive frame pointer */ #define PP_TxFrame 0x0A00 /* Transmit frame pointer */
/* Primary I/O Base Address. If no I/O base is supplied by the user, then this */ /* can be used as the default I/O base to access the PacketPage Area. */ #define DEFAULTIOBASE 0x0300 #define FIRST_IO 0x020C /* First I/O port to check */ ##definePP_CS8900_ISAINT 0x0022 /* ISA interrupt select */ #define#efinePP_CS8920_ISAINT 0x0370 /* ISA interrupt select */
define ADD_SIG /* Expected ID signature */
/* On Macs, we only need use the ISA I/O stuff until we do MEMORY_ON */ #ifdef CONFIG_MACdefine PP_ISASOF 0x0026 /* ISA DMA offset */ #define #define PP_DmaFrameCntx0028 /* ISA DMA Frame count */ # PP_DmaByteCnt 0x002A /* ISA DMA Byte count */ #endif
#define CHIP_EISA_ID_SIG 0x630E /* Product ID Code for Crystal Chip (CS8900 spec 4.3) */define 00348/* */ #define CHIP_EISA_ID_SIG_STR 0x630Ejava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
#ifdef IBMEIPKT #efine PP_EEData 0x0042 /* NVR Interface Data Register */ #define PART_NO_SIG 0#define PP_DebugReg 0x0044 /* Debug Register */ #efineMONGOOSE_BIT 0x0000 /* IBM */ #else #define EISA_ID_SIG 0x630E /* PnP Vendor ID (same as chip id for Crystal board) */PP_RxCTL 0x0104 /* ReceiveControl Register/ #define PART_NO_SIG 0x4000 /* ID code CS8920 board (PnP Vendor Product code) */ #efineMONGOOSE_BIT 0x2000 /* PART_NO_SIG + MONGOOSE_BUT => ID of mongoose */ #endif
# PRODUCT_ID_ADD 00002/* Address of product ID */
/* Mask to find out the types of registers */ #define REG_TYPE_MASK 0#define0x0116/* ISA bus control Register */
/* PP_BusCTL - ISA Bus Control bit definition - Read/write */ #define RESET_RX_DMA 0x0040 #define MEMORY_ON 0x0400 #define DMA_BURST_MODE 0x0800 #/* PP_RxCFG- Receive ConfigurationandInterruptMask definition - Read/write */ #define#define SKIP_1 0x0040 0x8000
/* PP_TestCTL - Test Control bit definition - Read/write */ #define LINK_OFF 0x0080 #efine ENDEC_LOOPBACK 0x0200 #define AUI_LOOPBACK 0x0400 # BACKOFF_OFF0x0800 #define FDX_8900 0x4000 #define FAST_TEST 0x8000
/* PP_RxEvent - Receive Event Bit definition - Read-only */RX_RUNT_ENBL 0x2000 #define RX_IA_HASHED 0x0040 #define RX_DRIBBLE 0x0080 #define RX_OK 0x0100 #define RX_HASHED 0x0200 # RX_IA 0x0400 #define RX_BROADCAST 0x0800 #define RX_CRC_ERROR 0x1000
java.lang.StringIndexOutOfBoundsException: Range [15, 7) out of bounds for length 22 #define RX_EXTRA_DATA 0x4000
x0FC00
/* PP_TxEvent - Transmit Event Bit definition - Read-only */
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 29 #define TX_SQE_ERRORRX_ALL_ACCEPTRX_PROM_ACCEPT|RX_BAD_CRC_ACCEPTRX_RUNT_ACCEPTRX_EXTRA_DATA_ACCEPTjava.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92
define 0java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20 #define TX_LATE_COL 0x0200 #define TX_JBR 0x0400 #define TX_16_COL 0x8000 #define TX_SEND_OK_BITS (TX_OK|TX_LOST_CRS) #define TX_COL_COUNT_MASK0x7800
/* PP_BufEvent - Buffer Event Bit definition - Read-only */ #efine SW_INTERRUPT 0x0040 #define RX_DMA 0x0080 # 0x0100 #efine TX_UNDERRUN 0x0200 #define RX_MISS 0x0400
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0 #define TX_COL_OVRFLW 0x1000 #define RX_MISS_OVRFLW 0x2000 #define RX_DEST_MATCH 0x8000
/* PP_LineST - Ethernet Line Status bit definition - Read-only */ #define LINK_OK 0x0080 #define xC0 #define0x0100 0x1000 # 0x4000
/* PP_BusST - ISA Bus Status bit definition */ #define TX_BID_ERROR 0x0080 #define READY_FOR_TX_NOW LOW_ENBLx1000
/* PP_AutoNegCTL - Auto Negotiation Control bit definition */ #define RE_NEG_NOW 0java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0 #define ALLOW_FDX 0x0080 #define#efine SERIAL_TX_ON00080 #define #define AUI_ONLY #define FORCE_FDX 0x8000 #define AUTO_NEG_BITS (defineMODIFIED_BACKOFF 0x0800 #define AUTO_NEG_MASK (FORCE_FDX|java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 30
/* PP_AutoNegST - Auto Negotiation Status bit definition */ #define AUTO_NEG_BUSY #define FLP_LINK 0x0100 #define FLP_LINK_GOODx0800 #define LINK_FAULT #efine SW_STOP0x0100 #define HDX_ACTIVE 0x4000 #define FDX_ACTIVE 0x8000
/* The following block defines the ISQ event types */ #define ISQ_RECEIVER_EVENTdefine HCB0 0x4000 #define ISQ_TRANSMITTER_EVENT 0x08 #defineISQ_BUFFER_EVENT 0x0c #define ISQ_RX_MISS_EVENT 0x10 ##defineRESET_RX_DMA 0x0040
ISQ_EVENT_MASK 0x003F #define ISQ_HIST 16/* small history buffer */ #define AUTOINCREMENT #define RX_DMA_SIZE_64K 0x2000
#define java.lang.StringIndexOutOfBoundsException: Range [59, 20) out of bounds for length 59 #efine RXDMABUFSIZE 0x8000 #define RXDMASIZE 0x4000 #define TXRX_LENGTH_MASK 0x07FF
/* rx options bits */ #define RCV_WITH_RXON 1/* Set SerRx ON */ #define RCV_COUNTS #define RCV_PONG 4/* Pong respondent */ #define RCV_DONG 8/* Dong operation */ #define RCV_POLLING 0define 00x0080 #define RCV_ISQ 0x20 /* Use ISQ, int */ ##defineRX_IA00400 #define RCV_DMA 0x200 /* Set RxDMA only */ #efine0400/* Copy all DMA'ed */ #define RCV_FIXED_DATA 0x800 /* Every frame same */ #define RCV_IO 0x1000 /* Use ISA IO only */ #define RCV_MEMORY 0x2000 /* Use ISA Memory */
#define RAM_SIZE 0x1000 /* The card has 4k bytes or RAM */ #define PKT_START PP_TxFrame /* Start of packet RAM */
/* Receive Header */ /* Description of header of each packet in receive area of memory */ #define RBUF_EVENT_LOW 0/* Low byte of RxEvent - status of received frame */ #define RBUF_EVENT_HIGH 1/* High byte of RxEvent - status of received frame */ #define RBUF_LEN_LOW 2/* Length of received data - low byte */ #define RBUF_LEN_HI 3/* Length of received data - high byte */ #define RBUF_HEAD_LEN 4/* Length of this header */
#define CHIP_READjava.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82 #define DMA_READ
/* for bios scan */ /* */#efine TX_LOST_CRS0x0040 #ifdef CSDEBUG /* use these values for debugging bios scan */ #define BIOS_START_SEG 0x00000 #define BIOS_OFFSET_INC #efine TX_16_COL0x8000 #else #define BIOS_START_SEG 0x0c000 #define BIOS_OFFSET_INC 0x0200 #endif
#define BIOS_LAST_OFFSET 0x0fc00
/* Byte offsets into the EEPROM configuration buffer */ #define java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21 #define TX_CTL_OFFSET # TX_UNDERRUN00200 #define#efine RX_MISS 0
/* the assumption here is that the bits in the eeprom are generally */ /* in the same position as those in the autonegctl register. */ /* Of course the IMM bit is not in that register so it must be */#efine RX_DEST_MATCH 0x8000 /* masked out */ #define EE_FORCE_FDX 0x8000 #define EE_NLP_ENABLE 0x0200 #define EE_AUTO_NEG_ENABLE 0x0100 #define EE_ALLOW_FDX 0x0080 #define EE_AUTO_NEG_CNF_MASK (EE_FORCE_FDX|EE_NLP_ENABLE|EE_AUTO_NEG_ENABLE|EE_ALLOW_FDX)
# 0x0040 /java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.