iPXE
Defines | Functions
cs89x0.h File Reference

Go to the source code of this file.

Defines

#define PP_ChipID   0x0000 /* offset 0h -> Corp -ID */
#define PP_ISAIOB   0x0020 /* IO base address */
#define PP_CS8900_ISAINT   0x0022 /* ISA interrupt select */
#define PP_CS8920_ISAINT   0x0370 /* ISA interrupt select */
#define PP_CS8900_ISADMA   0x0024 /* ISA Rec DMA channel */
#define PP_CS8920_ISADMA   0x0374 /* ISA Rec DMA channel */
#define PP_ISASOF   0x0026 /* ISA DMA offset */
#define PP_DmaFrameCnt   0x0028 /* ISA DMA Frame count */
#define PP_DmaByteCnt   0x002A /* ISA DMA Byte count */
#define PP_CS8900_ISAMemB   0x002C /* Memory base */
#define PP_CS8920_ISAMemB   0x0348 /* */
#define PP_ISABootBase   0x0030 /* Boot Prom base */
#define PP_ISABootMask   0x0034 /* Boot Prom Mask */
#define PP_EECMD   0x0040 /* NVR Interface Command register */
#define PP_EEData   0x0042 /* NVR Interface Data Register */
#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   0x0112 /* Line Config Register */
#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 */
#define PP_BusST   0x0138 /* Bus Status */
#define PP_TDR   0x013C /* Time Domain Reflectometry */
#define PP_AutoNegST   0x013E /* Auto Neg Status */
#define PP_TxCommand   0x0144 /* Tx Command */
#define PP_TxLength   0x0146 /* Tx Length */
#define PP_LAF   0x0150 /* Hash Table */
#define PP_IA   0x0158 /* Physical Address Register */
#define PP_RxStatus   0x0400 /* Receive start of frame */
#define PP_RxLength   0x0402 /* Receive Length of frame */
#define PP_RxFrame   0x0404 /* Receive frame pointer */
#define PP_TxFrame   0x0A00 /* Transmit frame pointer */
#define DEFAULTIOBASE   0x0300
#define FIRST_IO   0x020C /* First I/O port to check */
#define LAST_IO   0x037C /* Last I/O port to check (+10h) */
#define ADD_MASK   0x3000 /* Mask it use of the ADD_PORT register */
#define ADD_SIG   0x3000 /* Expected ID signature */
#define CHIP_EISA_ID_SIG   0x630E /* Product ID Code for Crystal Chip (CS8900 spec 4.3) */
#define EISA_ID_SIG   0x630E /* PnP Vendor ID (same as chip id for Crystal board) */
#define PART_NO_SIG   0x4000 /* ID code CS8920 board (PnP Vendor Product code) */
#define MONGOOSE_BIT   0x2000 /* PART_NO_SIG + MONGOOSE_BUT => ID of mongoose */
#define PRODUCT_ID_ADD   0x0002 /* Address of product ID */
#define REG_TYPE_MASK   0x001F
#define ERSE_WR_ENBL   0x00F0
#define ERSE_WR_DISABLE   0x0000
#define RX_BUF_CFG   0x0003
#define RX_CONTROL   0x0005
#define TX_CFG   0x0007
#define TX_COMMAND   0x0009
#define BUF_CFG   0x000B
#define LINE_CONTROL   0x0013
#define SELF_CONTROL   0x0015
#define BUS_CONTROL   0x0017
#define TEST_CONTROL   0x0019
#define RX_EVENT   0x0004
#define TX_EVENT   0x0008
#define BUF_EVENT   0x000C
#define RX_MISS_COUNT   0x0010
#define TX_COL_COUNT   0x0012
#define LINE_STATUS   0x0014
#define SELF_STATUS   0x0016
#define BUS_STATUS   0x0018
#define TDR   0x001C
#define SKIP_1   0x0040
#define RX_STREAM_ENBL   0x0080
#define RX_OK_ENBL   0x0100
#define RX_DMA_ONLY   0x0200
#define AUTO_RX_DMA   0x0400
#define BUFFER_CRC   0x0800
#define RX_CRC_ERROR_ENBL   0x1000
#define RX_RUNT_ENBL   0x2000
#define RX_EXTRA_DATA_ENBL   0x4000
#define RX_IA_HASH_ACCEPT   0x0040
#define RX_PROM_ACCEPT   0x0080
#define RX_OK_ACCEPT   0x0100
#define RX_MULTCAST_ACCEPT   0x0200
#define RX_IA_ACCEPT   0x0400
#define RX_BROADCAST_ACCEPT   0x0800
#define RX_BAD_CRC_ACCEPT   0x1000
#define RX_RUNT_ACCEPT   0x2000
#define RX_EXTRA_DATA_ACCEPT   0x4000
#define RX_ALL_ACCEPT   (RX_PROM_ACCEPT|RX_BAD_CRC_ACCEPT|RX_RUNT_ACCEPT|RX_EXTRA_DATA_ACCEPT)
#define DEF_RX_ACCEPT   (RX_IA_ACCEPT | RX_BROADCAST_ACCEPT | RX_OK_ACCEPT)
#define TX_LOST_CRS_ENBL   0x0040
#define TX_SQE_ERROR_ENBL   0x0080
#define TX_OK_ENBL   0x0100
#define TX_LATE_COL_ENBL   0x0200
#define TX_JBR_ENBL   0x0400
#define TX_ANY_COL_ENBL   0x0800
#define TX_16_COL_ENBL   0x8000
#define TX_START_4_BYTES   0x0000
#define TX_START_64_BYTES   0x0040
#define TX_START_128_BYTES   0x0080
#define TX_START_ALL_BYTES   0x00C0
#define TX_FORCE   0x0100
#define TX_ONE_COL   0x0200
#define TX_TWO_PART_DEFF_DISABLE   0x0400
#define TX_NO_CRC   0x1000
#define TX_RUNT   0x2000
#define GENERATE_SW_INTERRUPT   0x0040
#define RX_DMA_ENBL   0x0080
#define READY_FOR_TX_ENBL   0x0100
#define TX_UNDERRUN_ENBL   0x0200
#define RX_MISS_ENBL   0x0400
#define RX_128_BYTE_ENBL   0x0800
#define TX_COL_COUNT_OVRFLOW_ENBL   0x1000
#define RX_MISS_COUNT_OVRFLOW_ENBL   0x2000
#define RX_DEST_MATCH_ENBL   0x8000
#define SERIAL_RX_ON   0x0040
#define SERIAL_TX_ON   0x0080
#define AUI_ONLY   0x0100
#define AUTO_AUI_10BASET   0x0200
#define MODIFIED_BACKOFF   0x0800
#define NO_AUTO_POLARITY   0x1000
#define TWO_PART_DEFDIS   0x2000
#define LOW_RX_SQUELCH   0x4000
#define POWER_ON_RESET   0x0040
#define SW_STOP   0x0100
#define SLEEP_ON   0x0200
#define AUTO_WAKEUP   0x0400
#define HCB0_ENBL   0x1000
#define HCB1_ENBL   0x2000
#define HCB0   0x4000
#define HCB1   0x8000
#define RESET_RX_DMA   0x0040
#define MEMORY_ON   0x0400
#define DMA_BURST_MODE   0x0800
#define IO_CHANNEL_READY_ON   0x1000
#define RX_DMA_SIZE_64K   0x2000
#define ENABLE_IRQ   0x8000
#define LINK_OFF   0x0080
#define ENDEC_LOOPBACK   0x0200
#define AUI_LOOPBACK   0x0400
#define BACKOFF_OFF   0x0800
#define FAST_TEST   0x8000
#define RX_IA_HASHED   0x0040
#define RX_DRIBBLE   0x0080
#define RX_OK   0x0100
#define RX_HASHED   0x0200
#define RX_IA   0x0400
#define RX_BROADCAST   0x0800
#define RX_CRC_ERROR   0x1000
#define RX_RUNT   0x2000
#define RX_EXTRA_DATA   0x4000
#define HASH_INDEX_MASK   0x0FC00
#define TX_LOST_CRS   0x0040
#define TX_SQE_ERROR   0x0080
#define TX_OK   0x0100
#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_MASK   0x7800
#define SW_INTERRUPT   0x0040
#define RX_DMA   0x0080
#define READY_FOR_TX   0x0100
#define TX_UNDERRUN   0x0200
#define RX_MISS   0x0400
#define RX_128_BYTE   0x0800
#define TX_COL_OVRFLW   0x1000
#define RX_MISS_OVRFLW   0x2000
#define RX_DEST_MATCH   0x8000
#define LINK_OK   0x0080
#define AUI_ON   0x0100
#define TENBASET_ON   0x0200
#define POLARITY_OK   0x1000
#define CRS_OK   0x4000
#define ACTIVE_33V   0x0040
#define INIT_DONE   0x0080
#define SI_BUSY   0x0100
#define EEPROM_PRESENT   0x0200
#define EEPROM_OK   0x0400
#define EL_PRESENT   0x0800
#define EE_SIZE_64   0x1000
#define TX_BID_ERROR   0x0080
#define READY_FOR_TX_NOW   0x0100
#define RE_NEG_NOW   0x0040
#define ALLOW_FDX   0x0080
#define AUTO_NEG_ENABLE   0x0100
#define NLP_ENABLE   0x0200
#define FORCE_FDX   0x8000
#define AUTO_NEG_BITS   (FORCE_FDX|NLP_ENABLE|AUTO_NEG_ENABLE)
#define AUTO_NEG_MASK   (FORCE_FDX|NLP_ENABLE|AUTO_NEG_ENABLE|ALLOW_FDX|RE_NEG_NOW)
#define AUTO_NEG_BUSY   0x0080
#define FLP_LINK   0x0100
#define FLP_LINK_GOOD   0x0800
#define LINK_FAULT   0x1000
#define HDX_ACTIVE   0x4000
#define FDX_ACTIVE   0x8000
#define ISQ_RECEIVER_EVENT   0x04
#define ISQ_TRANSMITTER_EVENT   0x08
#define ISQ_BUFFER_EVENT   0x0c
#define ISQ_RX_MISS_EVENT   0x10
#define ISQ_TX_COL_EVENT   0x12
#define ISQ_EVENT_MASK   0x003F /* ISQ mask to find out type of event */
#define ISQ_HIST   16 /* small history buffer */
#define AUTOINCREMENT   0x8000 /* Bit mask to set bit-15 for autoincrement */
#define TXRXBUFSIZE   0x0600
#define RXDMABUFSIZE   0x8000
#define RXDMASIZE   0x4000
#define TXRX_LENGTH_MASK   0x07FF
#define RCV_WITH_RXON   1 /* Set SerRx ON */
#define RCV_COUNTS   2 /* Use Framecnt1 */
#define RCV_PONG   4 /* Pong respondent */
#define RCV_DONG   8 /* Dong operation */
#define RCV_POLLING   0x10 /* Poll RxEvent */
#define RCV_ISQ   0x20 /* Use ISQ, int */
#define RCV_AUTO_DMA   0x100 /* Set AutoRxDMAE */
#define RCV_DMA   0x200 /* Set RxDMA only */
#define RCV_DMA_ALL   0x400 /* 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 */
#define RX_FRAME_PORT   0x0000
#define TX_FRAME_PORT   RX_FRAME_PORT
#define TX_CMD_PORT   0x0004
#define TX_NOW   0x0000 /* Tx packet after 5 bytes copied */
#define TX_AFTER_381   0x0020 /* Tx packet after 381 bytes copied */
#define TX_AFTER_ALL   0x00C0 /* Tx packet after all bytes copied */
#define TX_LEN_PORT   0x0006
#define ISQ_PORT   0x0008
#define ADD_PORT   0x000A
#define DATA_PORT   0x000C
#define EEPROM_WRITE_EN   0x00F0
#define EEPROM_WRITE_DIS   0x0000
#define EEPROM_WRITE_CMD   0x0100
#define EEPROM_READ_CMD   0x0200
#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_READ   0x1 /* Used to mark state of the repins code (chip or dma) */
#define DMA_READ   0x2 /* Used to mark state of the repins code (chip or dma) */
#define BIOS_START_SEG   0x0c000
#define BIOS_OFFSET_INC   0x0200
#define BIOS_LAST_OFFSET   0x0fc00
#define ISA_CNF_OFFSET   0x6
#define TX_CTL_OFFSET   (ISA_CNF_OFFSET + 8) /* 8900 eeprom */
#define AUTO_NEG_CNF_OFFSET   (ISA_CNF_OFFSET + 8) /* 8920 eeprom */
#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)
#define IMM_BIT   0x0040 /* ignore missing media */
#define ADAPTER_CNF_OFFSET   (AUTO_NEG_CNF_OFFSET + 2)
#define A_CNF_10B_T   0x0001
#define A_CNF_AUI   0x0002
#define A_CNF_10B_2   0x0004
#define A_CNF_MEDIA_TYPE   0x0060
#define A_CNF_MEDIA_AUTO   0x0000
#define A_CNF_MEDIA_10B_T   0x0020
#define A_CNF_MEDIA_AUI   0x0040
#define A_CNF_MEDIA_10B_2   0x0060
#define A_CNF_DC_DC_POLARITY   0x0080
#define A_CNF_NO_AUTO_POLARITY   0x2000
#define A_CNF_LOW_RX_SQUELCH   0x4000
#define A_CNF_EXTND_10B_2   0x8000
#define PACKET_PAGE_OFFSET   0x8
#define INT_NO_MASK   0x000F
#define DMA_NO_MASK   0x0070
#define ISA_DMA_SIZE   0x0200
#define ISA_AUTO_RxDMA   0x0400
#define ISA_RxDMA   0x0800
#define DMA_BURST   0x1000
#define STREAM_TRANSFER   0x2000
#define ANY_ISA_DMA   (ISA_AUTO_RxDMA | ISA_RxDMA)
#define DMA_BASE   0x00 /* DMA controller base */
#define DMA_BASE_2   0x0C0 /* DMA controller base */
#define DMA_STAT   0x0D0 /* DMA controller status register */
#define DMA_MASK   0x0D4 /* DMA controller mask register */
#define DMA_MODE   0x0D6 /* DMA controller mode register */
#define DMA_RESETFF   0x0D8 /* DMA controller first/last flip flop */
#define DMA_DISABLE   0x04 /* Disable channel n */
#define DMA_ENABLE   0x00 /* Enable channel n */
#define DMA_RX_MODE   0x14
#define DMA_TX_MODE   0x18
#define DMA_SIZE   (16*1024) /* Size of dma buffer - 16k */
#define CS8900   0x0000
#define CS8920   0x4000
#define CS8920M   0x6000
#define REVISON_BITS   0x1F00
#define EEVER_NUMBER   0x12
#define CHKSUM_LEN   0x14
#define CHKSUM_VAL   0x0000
#define START_EEPROM_DATA   0x001c /* Offset into eeprom for start of data */
#define IRQ_MAP_EEPROM_DATA   0x0046 /* Offset into eeprom for the IRQ map */
#define IRQ_MAP_LEN   0x0004 /* No of bytes to read for the IRQ map */
#define PNP_IRQ_FRMT   0x0022 /* PNP small item IRQ format */
#define CS8900_IRQ_MAP   0x1c20 /* This IRQ map is fixed */
#define CS8920_NO_INTS   0x0F /* Max CS8920 interrupt select # */
#define PNP_ADD_PORT   0x0279
#define PNP_WRITE_PORT   0x0A79
#define GET_PNP_ISA_STRUCT   0x40
#define PNP_ISA_STRUCT_LEN   0x06
#define PNP_CSN_CNT_OFF   0x01
#define PNP_RD_PORT_OFF   0x02
#define PNP_FUNCTION_OK   0x00
#define PNP_WAKE   0x03
#define PNP_RSRC_DATA   0x04
#define PNP_RSRC_READY   0x01
#define PNP_STATUS   0x05
#define PNP_ACTIVATE   0x30
#define PNP_CNF_IO_H   0x60
#define PNP_CNF_IO_L   0x61
#define PNP_CNF_INT   0x70
#define PNP_CNF_DMA   0x74
#define PNP_CNF_MEM   0x48

Functions

 FILE_LICENCE (GPL2_ONLY)
 Per an email message from Russ Nelson <nelson@crynwr.com> on 18 March 2008 this file is now licensed under GPL Version 2.

Define Documentation

#define PP_ChipID   0x0000 /* offset 0h -> Corp -ID */

Definition at line 37 of file cs89x0.h.

Referenced by cs89x0_probe(), cs89x0_probe_addr(), and cs89x0_reset().

#define PP_ISAIOB   0x0020 /* IO base address */

Definition at line 41 of file cs89x0.h.

#define PP_CS8900_ISAINT   0x0022 /* ISA interrupt select */

Definition at line 42 of file cs89x0.h.

#define PP_CS8920_ISAINT   0x0370 /* ISA interrupt select */

Definition at line 43 of file cs89x0.h.

Referenced by cs89x0_probe(), and cs89x0_reset().

#define PP_CS8900_ISADMA   0x0024 /* ISA Rec DMA channel */

Definition at line 44 of file cs89x0.h.

#define PP_CS8920_ISADMA   0x0374 /* ISA Rec DMA channel */

Definition at line 45 of file cs89x0.h.

#define PP_ISASOF   0x0026 /* ISA DMA offset */

Definition at line 46 of file cs89x0.h.

#define PP_DmaFrameCnt   0x0028 /* ISA DMA Frame count */

Definition at line 47 of file cs89x0.h.

#define PP_DmaByteCnt   0x002A /* ISA DMA Byte count */

Definition at line 48 of file cs89x0.h.

#define PP_CS8900_ISAMemB   0x002C /* Memory base */

Definition at line 49 of file cs89x0.h.

#define PP_CS8920_ISAMemB   0x0348 /* */

Definition at line 50 of file cs89x0.h.

Referenced by cs89x0_reset().

#define PP_ISABootBase   0x0030 /* Boot Prom base */

Definition at line 52 of file cs89x0.h.

#define PP_ISABootMask   0x0034 /* Boot Prom Mask */

Definition at line 53 of file cs89x0.h.

#define PP_EECMD   0x0040 /* NVR Interface Command register */

Definition at line 56 of file cs89x0.h.

Referenced by get_eeprom_data().

#define PP_EEData   0x0042 /* NVR Interface Data Register */

Definition at line 57 of file cs89x0.h.

Referenced by get_eeprom_data().

#define PP_DebugReg   0x0044 /* Debug Register */

Definition at line 58 of file cs89x0.h.

#define PP_RxCFG   0x0102 /* Rx Bus config */

Definition at line 60 of file cs89x0.h.

Referenced by cs89x0_reset().

#define PP_RxCTL   0x0104 /* Receive Control Register */

Definition at line 61 of file cs89x0.h.

Referenced by cs89x0_reset().

#define PP_TxCFG   0x0106 /* Transmit Config Register */

Definition at line 62 of file cs89x0.h.

Referenced by cs89x0_reset().

#define PP_TxCMD   0x0108 /* Transmit Command Register */

Definition at line 63 of file cs89x0.h.

#define PP_BufCFG   0x010A /* Bus configuration Register */

Definition at line 64 of file cs89x0.h.

Referenced by cs89x0_reset().

#define PP_LineCTL   0x0112 /* Line Config Register */

Definition at line 65 of file cs89x0.h.

Referenced by cs89x0_probe(), detect_aui(), detect_bnc(), detect_tp(), and send_test_pkt().

#define PP_SelfCTL   0x0114 /* Self Command Register */

Definition at line 66 of file cs89x0.h.

Referenced by control_dc_dc(), and cs89x0_reset().

#define PP_BusCTL   0x0116 /* ISA bus control Register */

Definition at line 67 of file cs89x0.h.

Referenced by cs89x0_reset().

#define PP_TestCTL   0x0118 /* Test Register */

Definition at line 68 of file cs89x0.h.

#define PP_AutoNegCTL   0x011C /* Auto Negotiation Ctrl */

Definition at line 69 of file cs89x0.h.

Referenced by detect_tp().

#define PP_ISQ   0x0120 /* Interrupt Status */

Definition at line 71 of file cs89x0.h.

#define PP_RxEvent   0x0124 /* Rx Event Register */

Definition at line 72 of file cs89x0.h.

Referenced by cs89x0_poll().

#define PP_TxEvent   0x0128 /* Tx Event Register */

Definition at line 73 of file cs89x0.h.

Referenced by cs89x0_transmit(), and send_test_pkt().

#define PP_BufEvent   0x012C /* Bus Event Register */

Definition at line 74 of file cs89x0.h.

#define PP_RxMiss   0x0130 /* Receive Miss Count */

Definition at line 75 of file cs89x0.h.

#define PP_TxCol   0x0132 /* Transmit Collision Count */

Definition at line 76 of file cs89x0.h.

#define PP_LineST   0x0134 /* Line State Register */

Definition at line 77 of file cs89x0.h.

Referenced by detect_tp().

#define PP_SelfST   0x0136 /* Self State register */

Definition at line 78 of file cs89x0.h.

Referenced by cs89x0_probe(), cs89x0_reset(), and wait_eeprom_ready().

#define PP_BusST   0x0138 /* Bus Status */

Definition at line 79 of file cs89x0.h.

Referenced by cs89x0_transmit(), and send_test_pkt().

#define PP_TDR   0x013C /* Time Domain Reflectometry */

Definition at line 80 of file cs89x0.h.

#define PP_AutoNegST   0x013E /* Auto Neg Status */

Definition at line 81 of file cs89x0.h.

Referenced by detect_tp().

#define PP_TxCommand   0x0144 /* Tx Command */

Definition at line 82 of file cs89x0.h.

#define PP_TxLength   0x0146 /* Tx Length */

Definition at line 83 of file cs89x0.h.

#define PP_LAF   0x0150 /* Hash Table */

Definition at line 84 of file cs89x0.h.

#define PP_IA   0x0158 /* Physical Address Register */

Definition at line 85 of file cs89x0.h.

Referenced by cs89x0_reset().

#define PP_RxStatus   0x0400 /* Receive start of frame */

Definition at line 87 of file cs89x0.h.

#define PP_RxLength   0x0402 /* Receive Length of frame */

Definition at line 88 of file cs89x0.h.

#define PP_RxFrame   0x0404 /* Receive frame pointer */

Definition at line 89 of file cs89x0.h.

#define PP_TxFrame   0x0A00 /* Transmit frame pointer */

Definition at line 90 of file cs89x0.h.

#define DEFAULTIOBASE   0x0300

Definition at line 94 of file cs89x0.h.

#define FIRST_IO   0x020C /* First I/O port to check */

Definition at line 95 of file cs89x0.h.

#define LAST_IO   0x037C /* Last I/O port to check (+10h) */

Definition at line 96 of file cs89x0.h.

#define ADD_MASK   0x3000 /* Mask it use of the ADD_PORT register */

Definition at line 97 of file cs89x0.h.

Referenced by cs89x0_probe_addr().

#define ADD_SIG   0x3000 /* Expected ID signature */

Definition at line 98 of file cs89x0.h.

Referenced by cs89x0_probe_addr().

#define CHIP_EISA_ID_SIG   0x630E /* Product ID Code for Crystal Chip (CS8900 spec 4.3) */

Definition at line 100 of file cs89x0.h.

Referenced by cs89x0_probe_addr().

#define EISA_ID_SIG   0x630E /* PnP Vendor ID (same as chip id for Crystal board) */

Definition at line 107 of file cs89x0.h.

#define PART_NO_SIG   0x4000 /* ID code CS8920 board (PnP Vendor Product code) */

Definition at line 108 of file cs89x0.h.

#define MONGOOSE_BIT   0x2000 /* PART_NO_SIG + MONGOOSE_BUT => ID of mongoose */

Definition at line 109 of file cs89x0.h.

#define PRODUCT_ID_ADD   0x0002 /* Address of product ID */

Definition at line 112 of file cs89x0.h.

Referenced by cs89x0_probe().

#define REG_TYPE_MASK   0x001F

Definition at line 115 of file cs89x0.h.

#define ERSE_WR_ENBL   0x00F0

Definition at line 118 of file cs89x0.h.

#define ERSE_WR_DISABLE   0x0000

Definition at line 119 of file cs89x0.h.

#define RX_BUF_CFG   0x0003

Definition at line 122 of file cs89x0.h.

#define RX_CONTROL   0x0005

Definition at line 123 of file cs89x0.h.

#define TX_CFG   0x0007

Definition at line 124 of file cs89x0.h.

#define TX_COMMAND   0x0009

Definition at line 125 of file cs89x0.h.

#define BUF_CFG   0x000B

Definition at line 126 of file cs89x0.h.

#define LINE_CONTROL   0x0013

Definition at line 127 of file cs89x0.h.

#define SELF_CONTROL   0x0015

Definition at line 128 of file cs89x0.h.

#define BUS_CONTROL   0x0017

Definition at line 129 of file cs89x0.h.

#define TEST_CONTROL   0x0019

Definition at line 130 of file cs89x0.h.

#define RX_EVENT   0x0004

Definition at line 133 of file cs89x0.h.

#define TX_EVENT   0x0008

Definition at line 134 of file cs89x0.h.

#define BUF_EVENT   0x000C

Definition at line 135 of file cs89x0.h.

#define RX_MISS_COUNT   0x0010

Definition at line 136 of file cs89x0.h.

#define TX_COL_COUNT   0x0012

Definition at line 137 of file cs89x0.h.

#define LINE_STATUS   0x0014

Definition at line 138 of file cs89x0.h.

#define SELF_STATUS   0x0016

Definition at line 139 of file cs89x0.h.

#define BUS_STATUS   0x0018

Definition at line 140 of file cs89x0.h.

#define TDR   0x001C

Definition at line 141 of file cs89x0.h.

#define SKIP_1   0x0040

Definition at line 144 of file cs89x0.h.

#define RX_STREAM_ENBL   0x0080

Definition at line 145 of file cs89x0.h.

#define RX_OK_ENBL   0x0100

Definition at line 146 of file cs89x0.h.

#define RX_DMA_ONLY   0x0200

Definition at line 147 of file cs89x0.h.

#define AUTO_RX_DMA   0x0400

Definition at line 148 of file cs89x0.h.

#define BUFFER_CRC   0x0800

Definition at line 149 of file cs89x0.h.

#define RX_CRC_ERROR_ENBL   0x1000

Definition at line 150 of file cs89x0.h.

#define RX_RUNT_ENBL   0x2000

Definition at line 151 of file cs89x0.h.

#define RX_EXTRA_DATA_ENBL   0x4000

Definition at line 152 of file cs89x0.h.

#define RX_IA_HASH_ACCEPT   0x0040

Definition at line 155 of file cs89x0.h.

#define RX_PROM_ACCEPT   0x0080

Definition at line 156 of file cs89x0.h.

#define RX_OK_ACCEPT   0x0100

Definition at line 157 of file cs89x0.h.

#define RX_MULTCAST_ACCEPT   0x0200

Definition at line 158 of file cs89x0.h.

#define RX_IA_ACCEPT   0x0400

Definition at line 159 of file cs89x0.h.

#define RX_BROADCAST_ACCEPT   0x0800

Definition at line 160 of file cs89x0.h.

#define RX_BAD_CRC_ACCEPT   0x1000

Definition at line 161 of file cs89x0.h.

#define RX_RUNT_ACCEPT   0x2000

Definition at line 162 of file cs89x0.h.

#define RX_EXTRA_DATA_ACCEPT   0x4000

Definition at line 163 of file cs89x0.h.

Definition at line 164 of file cs89x0.h.

Definition at line 166 of file cs89x0.h.

Referenced by cs89x0_reset().

#define TX_LOST_CRS_ENBL   0x0040

Definition at line 169 of file cs89x0.h.

#define TX_SQE_ERROR_ENBL   0x0080

Definition at line 170 of file cs89x0.h.

#define TX_OK_ENBL   0x0100

Definition at line 171 of file cs89x0.h.

#define TX_LATE_COL_ENBL   0x0200

Definition at line 172 of file cs89x0.h.

#define TX_JBR_ENBL   0x0400

Definition at line 173 of file cs89x0.h.

#define TX_ANY_COL_ENBL   0x0800

Definition at line 174 of file cs89x0.h.

#define TX_16_COL_ENBL   0x8000

Definition at line 175 of file cs89x0.h.

#define TX_START_4_BYTES   0x0000

Definition at line 178 of file cs89x0.h.

#define TX_START_64_BYTES   0x0040

Definition at line 179 of file cs89x0.h.

#define TX_START_128_BYTES   0x0080

Definition at line 180 of file cs89x0.h.

#define TX_START_ALL_BYTES   0x00C0

Definition at line 181 of file cs89x0.h.

#define TX_FORCE   0x0100

Definition at line 182 of file cs89x0.h.

#define TX_ONE_COL   0x0200

Definition at line 183 of file cs89x0.h.

#define TX_TWO_PART_DEFF_DISABLE   0x0400

Definition at line 184 of file cs89x0.h.

#define TX_NO_CRC   0x1000

Definition at line 185 of file cs89x0.h.

#define TX_RUNT   0x2000

Definition at line 186 of file cs89x0.h.

#define GENERATE_SW_INTERRUPT   0x0040

Definition at line 189 of file cs89x0.h.

#define RX_DMA_ENBL   0x0080

Definition at line 190 of file cs89x0.h.

#define READY_FOR_TX_ENBL   0x0100

Definition at line 191 of file cs89x0.h.

#define TX_UNDERRUN_ENBL   0x0200

Definition at line 192 of file cs89x0.h.

#define RX_MISS_ENBL   0x0400

Definition at line 193 of file cs89x0.h.

#define RX_128_BYTE_ENBL   0x0800

Definition at line 194 of file cs89x0.h.

#define TX_COL_COUNT_OVRFLOW_ENBL   0x1000

Definition at line 195 of file cs89x0.h.

#define RX_MISS_COUNT_OVRFLOW_ENBL   0x2000

Definition at line 196 of file cs89x0.h.

#define RX_DEST_MATCH_ENBL   0x8000

Definition at line 197 of file cs89x0.h.

#define SERIAL_RX_ON   0x0040

Definition at line 200 of file cs89x0.h.

Referenced by cs89x0_probe().

#define SERIAL_TX_ON   0x0080

Definition at line 201 of file cs89x0.h.

Referenced by cs89x0_probe(), and send_test_pkt().

#define AUI_ONLY   0x0100

Definition at line 202 of file cs89x0.h.

Referenced by detect_aui(), detect_bnc(), and detect_tp().

#define AUTO_AUI_10BASET   0x0200

Definition at line 203 of file cs89x0.h.

Referenced by cs89x0_probe(), detect_aui(), and detect_bnc().

#define MODIFIED_BACKOFF   0x0800

Definition at line 204 of file cs89x0.h.

#define NO_AUTO_POLARITY   0x1000

Definition at line 205 of file cs89x0.h.

#define TWO_PART_DEFDIS   0x2000

Definition at line 206 of file cs89x0.h.

#define LOW_RX_SQUELCH   0x4000

Definition at line 207 of file cs89x0.h.

Referenced by cs89x0_probe().

#define POWER_ON_RESET   0x0040

Definition at line 210 of file cs89x0.h.

Referenced by cs89x0_reset().

#define SW_STOP   0x0100

Definition at line 211 of file cs89x0.h.

#define SLEEP_ON   0x0200

Definition at line 212 of file cs89x0.h.

#define AUTO_WAKEUP   0x0400

Definition at line 213 of file cs89x0.h.

#define HCB0_ENBL   0x1000

Definition at line 214 of file cs89x0.h.

#define HCB1_ENBL   0x2000

Definition at line 215 of file cs89x0.h.

Referenced by control_dc_dc().

#define HCB0   0x4000

Definition at line 216 of file cs89x0.h.

#define HCB1   0x8000

Definition at line 217 of file cs89x0.h.

Referenced by control_dc_dc().

#define RESET_RX_DMA   0x0040

Definition at line 220 of file cs89x0.h.

#define MEMORY_ON   0x0400

Definition at line 221 of file cs89x0.h.

#define DMA_BURST_MODE   0x0800

Definition at line 222 of file cs89x0.h.

#define IO_CHANNEL_READY_ON   0x1000

Definition at line 223 of file cs89x0.h.

#define RX_DMA_SIZE_64K   0x2000

Definition at line 224 of file cs89x0.h.

#define ENABLE_IRQ   0x8000

Definition at line 225 of file cs89x0.h.

#define LINK_OFF   0x0080

Definition at line 228 of file cs89x0.h.

#define ENDEC_LOOPBACK   0x0200

Definition at line 229 of file cs89x0.h.

#define AUI_LOOPBACK   0x0400

Definition at line 230 of file cs89x0.h.

#define BACKOFF_OFF   0x0800

Definition at line 231 of file cs89x0.h.

#define FAST_TEST   0x8000

Definition at line 232 of file cs89x0.h.

#define RX_IA_HASHED   0x0040

Definition at line 235 of file cs89x0.h.

#define RX_DRIBBLE   0x0080

Definition at line 236 of file cs89x0.h.

#define RX_OK   0x0100

Definition at line 237 of file cs89x0.h.

Referenced by cs89x0_poll().

#define RX_HASHED   0x0200

Definition at line 238 of file cs89x0.h.

#define RX_IA   0x0400

Definition at line 239 of file cs89x0.h.

#define RX_BROADCAST   0x0800

Definition at line 240 of file cs89x0.h.

#define RX_CRC_ERROR   0x1000

Definition at line 241 of file cs89x0.h.

#define RX_RUNT   0x2000

Definition at line 242 of file cs89x0.h.

#define RX_EXTRA_DATA   0x4000

Definition at line 243 of file cs89x0.h.

#define HASH_INDEX_MASK   0x0FC00

Definition at line 245 of file cs89x0.h.

#define TX_LOST_CRS   0x0040

Definition at line 248 of file cs89x0.h.

#define TX_SQE_ERROR   0x0080

Definition at line 249 of file cs89x0.h.

#define TX_OK   0x0100

Definition at line 250 of file cs89x0.h.

Referenced by cs89x0_transmit(), and send_test_pkt().

#define TX_LATE_COL   0x0200

Definition at line 251 of file cs89x0.h.

#define TX_JBR   0x0400

Definition at line 252 of file cs89x0.h.

#define TX_16_COL   0x8000

Definition at line 253 of file cs89x0.h.

Definition at line 254 of file cs89x0.h.

Referenced by cs89x0_transmit(), and send_test_pkt().

#define TX_COL_COUNT_MASK   0x7800

Definition at line 255 of file cs89x0.h.

#define SW_INTERRUPT   0x0040

Definition at line 258 of file cs89x0.h.

#define RX_DMA   0x0080

Definition at line 259 of file cs89x0.h.

#define READY_FOR_TX   0x0100

Definition at line 260 of file cs89x0.h.

#define TX_UNDERRUN   0x0200

Definition at line 261 of file cs89x0.h.

#define RX_MISS   0x0400

Definition at line 262 of file cs89x0.h.

#define RX_128_BYTE   0x0800

Definition at line 263 of file cs89x0.h.

#define TX_COL_OVRFLW   0x1000

Definition at line 264 of file cs89x0.h.

#define RX_MISS_OVRFLW   0x2000

Definition at line 265 of file cs89x0.h.

#define RX_DEST_MATCH   0x8000

Definition at line 266 of file cs89x0.h.

#define LINK_OK   0x0080

Definition at line 269 of file cs89x0.h.

Referenced by detect_tp().

#define AUI_ON   0x0100

Definition at line 270 of file cs89x0.h.

#define TENBASET_ON   0x0200

Definition at line 271 of file cs89x0.h.

#define POLARITY_OK   0x1000

Definition at line 272 of file cs89x0.h.

#define CRS_OK   0x4000

Definition at line 273 of file cs89x0.h.

#define ACTIVE_33V   0x0040

Definition at line 276 of file cs89x0.h.

#define INIT_DONE   0x0080

Definition at line 277 of file cs89x0.h.

Referenced by cs89x0_reset().

#define SI_BUSY   0x0100

Definition at line 278 of file cs89x0.h.

Referenced by wait_eeprom_ready().

#define EEPROM_PRESENT   0x0200

Definition at line 279 of file cs89x0.h.

Referenced by cs89x0_probe().

#define EEPROM_OK   0x0400

Definition at line 280 of file cs89x0.h.

#define EL_PRESENT   0x0800

Definition at line 281 of file cs89x0.h.

#define EE_SIZE_64   0x1000

Definition at line 282 of file cs89x0.h.

#define TX_BID_ERROR   0x0080

Definition at line 285 of file cs89x0.h.

#define READY_FOR_TX_NOW   0x0100

Definition at line 286 of file cs89x0.h.

Referenced by cs89x0_transmit(), and send_test_pkt().

#define RE_NEG_NOW   0x0040

Definition at line 289 of file cs89x0.h.

#define ALLOW_FDX   0x0080

Definition at line 290 of file cs89x0.h.

#define AUTO_NEG_ENABLE   0x0100

Definition at line 291 of file cs89x0.h.

Referenced by detect_tp().

#define NLP_ENABLE   0x0200

Definition at line 292 of file cs89x0.h.

#define FORCE_FDX   0x8000

Definition at line 293 of file cs89x0.h.

Definition at line 294 of file cs89x0.h.

Referenced by detect_tp().

Definition at line 295 of file cs89x0.h.

Referenced by detect_tp().

#define AUTO_NEG_BUSY   0x0080

Definition at line 298 of file cs89x0.h.

Referenced by detect_tp().

#define FLP_LINK   0x0100

Definition at line 299 of file cs89x0.h.

#define FLP_LINK_GOOD   0x0800

Definition at line 300 of file cs89x0.h.

#define LINK_FAULT   0x1000

Definition at line 301 of file cs89x0.h.

#define HDX_ACTIVE   0x4000

Definition at line 302 of file cs89x0.h.

#define FDX_ACTIVE   0x8000

Definition at line 303 of file cs89x0.h.

Referenced by detect_tp().

#define ISQ_RECEIVER_EVENT   0x04

Definition at line 306 of file cs89x0.h.

#define ISQ_TRANSMITTER_EVENT   0x08

Definition at line 307 of file cs89x0.h.

#define ISQ_BUFFER_EVENT   0x0c

Definition at line 308 of file cs89x0.h.

#define ISQ_RX_MISS_EVENT   0x10

Definition at line 309 of file cs89x0.h.

#define ISQ_TX_COL_EVENT   0x12

Definition at line 310 of file cs89x0.h.

#define ISQ_EVENT_MASK   0x003F /* ISQ mask to find out type of event */

Definition at line 312 of file cs89x0.h.

#define ISQ_HIST   16 /* small history buffer */

Definition at line 313 of file cs89x0.h.

#define AUTOINCREMENT   0x8000 /* Bit mask to set bit-15 for autoincrement */

Definition at line 314 of file cs89x0.h.

#define TXRXBUFSIZE   0x0600

Definition at line 316 of file cs89x0.h.

#define RXDMABUFSIZE   0x8000

Definition at line 317 of file cs89x0.h.

#define RXDMASIZE   0x4000

Definition at line 318 of file cs89x0.h.

#define TXRX_LENGTH_MASK   0x07FF

Definition at line 319 of file cs89x0.h.

#define RCV_WITH_RXON   1 /* Set SerRx ON */

Definition at line 322 of file cs89x0.h.

#define RCV_COUNTS   2 /* Use Framecnt1 */

Definition at line 323 of file cs89x0.h.

#define RCV_PONG   4 /* Pong respondent */

Definition at line 324 of file cs89x0.h.

#define RCV_DONG   8 /* Dong operation */

Definition at line 325 of file cs89x0.h.

#define RCV_POLLING   0x10 /* Poll RxEvent */

Definition at line 326 of file cs89x0.h.

#define RCV_ISQ   0x20 /* Use ISQ, int */

Definition at line 327 of file cs89x0.h.

#define RCV_AUTO_DMA   0x100 /* Set AutoRxDMAE */

Definition at line 328 of file cs89x0.h.

#define RCV_DMA   0x200 /* Set RxDMA only */

Definition at line 329 of file cs89x0.h.

#define RCV_DMA_ALL   0x400 /* Copy all DMA'ed */

Definition at line 330 of file cs89x0.h.

#define RCV_FIXED_DATA   0x800 /* Every frame same */

Definition at line 331 of file cs89x0.h.

#define RCV_IO   0x1000 /* Use ISA IO only */

Definition at line 332 of file cs89x0.h.

#define RCV_MEMORY   0x2000 /* Use ISA Memory */

Definition at line 333 of file cs89x0.h.

#define RAM_SIZE   0x1000 /* The card has 4k bytes or RAM */

Definition at line 335 of file cs89x0.h.

#define PKT_START   PP_TxFrame /* Start of packet RAM */

Definition at line 336 of file cs89x0.h.

#define RX_FRAME_PORT   0x0000

Definition at line 338 of file cs89x0.h.

Referenced by cs89x0_poll().

Definition at line 339 of file cs89x0.h.

Referenced by cs89x0_transmit(), and send_test_pkt().

#define TX_CMD_PORT   0x0004

Definition at line 340 of file cs89x0.h.

Referenced by cs89x0_transmit(), and send_test_pkt().

#define TX_NOW   0x0000 /* Tx packet after 5 bytes copied */

Definition at line 341 of file cs89x0.h.

#define TX_AFTER_381   0x0020 /* Tx packet after 381 bytes copied */

Definition at line 342 of file cs89x0.h.

#define TX_AFTER_ALL   0x00C0 /* Tx packet after all bytes copied */

Definition at line 343 of file cs89x0.h.

Referenced by cs89x0_transmit(), and send_test_pkt().

#define TX_LEN_PORT   0x0006

Definition at line 344 of file cs89x0.h.

Referenced by cs89x0_transmit(), and send_test_pkt().

#define ISQ_PORT   0x0008

Definition at line 345 of file cs89x0.h.

#define ADD_PORT   0x000A

Definition at line 346 of file cs89x0.h.

Referenced by cs89x0_probe(), cs89x0_probe_addr(), cs89x0_reset(), readreg(), and writereg().

#define DATA_PORT   0x000C

Definition at line 347 of file cs89x0.h.

Referenced by cs89x0_probe_addr(), cs89x0_reset(), readreg(), and writereg().

#define EEPROM_WRITE_EN   0x00F0

Definition at line 349 of file cs89x0.h.

#define EEPROM_WRITE_DIS   0x0000

Definition at line 350 of file cs89x0.h.

#define EEPROM_WRITE_CMD   0x0100

Definition at line 351 of file cs89x0.h.

#define EEPROM_READ_CMD   0x0200

Definition at line 352 of file cs89x0.h.

Referenced by get_eeprom_data().

#define RBUF_EVENT_LOW   0 /* Low byte of RxEvent - status of received frame */

Definition at line 356 of file cs89x0.h.

#define RBUF_EVENT_HIGH   1 /* High byte of RxEvent - status of received frame */

Definition at line 357 of file cs89x0.h.

#define RBUF_LEN_LOW   2 /* Length of received data - low byte */

Definition at line 358 of file cs89x0.h.

#define RBUF_LEN_HI   3 /* Length of received data - high byte */

Definition at line 359 of file cs89x0.h.

#define RBUF_HEAD_LEN   4 /* Length of this header */

Definition at line 360 of file cs89x0.h.

#define CHIP_READ   0x1 /* Used to mark state of the repins code (chip or dma) */

Definition at line 362 of file cs89x0.h.

#define DMA_READ   0x2 /* Used to mark state of the repins code (chip or dma) */

Definition at line 363 of file cs89x0.h.

#define BIOS_START_SEG   0x0c000

Definition at line 372 of file cs89x0.h.

#define BIOS_OFFSET_INC   0x0200

Definition at line 373 of file cs89x0.h.

#define BIOS_LAST_OFFSET   0x0fc00

Definition at line 376 of file cs89x0.h.

#define ISA_CNF_OFFSET   0x6

Definition at line 379 of file cs89x0.h.

Referenced by cs89x0_probe().

#define TX_CTL_OFFSET   (ISA_CNF_OFFSET + 8) /* 8900 eeprom */

Definition at line 380 of file cs89x0.h.

#define AUTO_NEG_CNF_OFFSET   (ISA_CNF_OFFSET + 8) /* 8920 eeprom */

Definition at line 381 of file cs89x0.h.

Referenced by cs89x0_probe().

#define EE_FORCE_FDX   0x8000

Definition at line 387 of file cs89x0.h.

#define EE_NLP_ENABLE   0x0200

Definition at line 388 of file cs89x0.h.

#define EE_AUTO_NEG_ENABLE   0x0100

Definition at line 389 of file cs89x0.h.

Referenced by cs89x0_probe().

#define EE_ALLOW_FDX   0x0080

Definition at line 390 of file cs89x0.h.

Definition at line 391 of file cs89x0.h.

#define IMM_BIT   0x0040 /* ignore missing media */

Definition at line 393 of file cs89x0.h.

Referenced by cs89x0_probe().

Definition at line 395 of file cs89x0.h.

Referenced by cs89x0_probe().

#define A_CNF_10B_T   0x0001

Definition at line 396 of file cs89x0.h.

Referenced by cs89x0_probe().

#define A_CNF_AUI   0x0002

Definition at line 397 of file cs89x0.h.

Referenced by cs89x0_probe().

#define A_CNF_10B_2   0x0004

Definition at line 398 of file cs89x0.h.

Referenced by cs89x0_probe().

#define A_CNF_MEDIA_TYPE   0x0060

Definition at line 399 of file cs89x0.h.

Referenced by cs89x0_probe().

#define A_CNF_MEDIA_AUTO   0x0000

Definition at line 400 of file cs89x0.h.

Referenced by cs89x0_probe().

#define A_CNF_MEDIA_10B_T   0x0020

Definition at line 401 of file cs89x0.h.

Referenced by cs89x0_probe(), and detect_tp().

#define A_CNF_MEDIA_AUI   0x0040

Definition at line 402 of file cs89x0.h.

Referenced by cs89x0_probe(), and detect_aui().

#define A_CNF_MEDIA_10B_2   0x0060

Definition at line 403 of file cs89x0.h.

Referenced by cs89x0_probe(), and detect_bnc().

#define A_CNF_DC_DC_POLARITY   0x0080

Definition at line 404 of file cs89x0.h.

Referenced by control_dc_dc().

#define A_CNF_NO_AUTO_POLARITY   0x2000

Definition at line 405 of file cs89x0.h.

#define A_CNF_LOW_RX_SQUELCH   0x4000

Definition at line 406 of file cs89x0.h.

Referenced by cs89x0_probe().

#define A_CNF_EXTND_10B_2   0x8000

Definition at line 407 of file cs89x0.h.

Referenced by cs89x0_probe().

#define PACKET_PAGE_OFFSET   0x8

Definition at line 409 of file cs89x0.h.

Referenced by cs89x0_probe().

#define INT_NO_MASK   0x000F

Definition at line 412 of file cs89x0.h.

Referenced by cs89x0_probe().

#define DMA_NO_MASK   0x0070

Definition at line 413 of file cs89x0.h.

#define ISA_DMA_SIZE   0x0200

Definition at line 414 of file cs89x0.h.

#define ISA_AUTO_RxDMA   0x0400

Definition at line 415 of file cs89x0.h.

#define ISA_RxDMA   0x0800

Definition at line 416 of file cs89x0.h.

#define DMA_BURST   0x1000

Definition at line 417 of file cs89x0.h.

#define STREAM_TRANSFER   0x2000

Definition at line 418 of file cs89x0.h.

Definition at line 419 of file cs89x0.h.

#define DMA_BASE   0x00 /* DMA controller base */

Definition at line 422 of file cs89x0.h.

#define DMA_BASE_2   0x0C0 /* DMA controller base */

Definition at line 423 of file cs89x0.h.

#define DMA_STAT   0x0D0 /* DMA controller status register */

Definition at line 425 of file cs89x0.h.

#define DMA_MASK   0x0D4 /* DMA controller mask register */

Definition at line 426 of file cs89x0.h.

#define DMA_MODE   0x0D6 /* DMA controller mode register */

Definition at line 427 of file cs89x0.h.

#define DMA_RESETFF   0x0D8 /* DMA controller first/last flip flop */

Definition at line 428 of file cs89x0.h.

#define DMA_DISABLE   0x04 /* Disable channel n */

Definition at line 431 of file cs89x0.h.

#define DMA_ENABLE   0x00 /* Enable channel n */

Definition at line 432 of file cs89x0.h.

#define DMA_RX_MODE   0x14

Definition at line 434 of file cs89x0.h.

#define DMA_TX_MODE   0x18

Definition at line 436 of file cs89x0.h.

#define DMA_SIZE   (16*1024) /* Size of dma buffer - 16k */

Definition at line 438 of file cs89x0.h.

#define CS8900   0x0000

Definition at line 440 of file cs89x0.h.

Referenced by cs89x0_probe(), cs89x0_reset(), and detect_tp().

#define CS8920   0x4000

Definition at line 441 of file cs89x0.h.

#define CS8920M   0x6000

Definition at line 442 of file cs89x0.h.

Referenced by cs89x0_probe().

#define REVISON_BITS   0x1F00

Definition at line 443 of file cs89x0.h.

Referenced by cs89x0_probe().

#define EEVER_NUMBER   0x12

Definition at line 444 of file cs89x0.h.

#define CHKSUM_LEN   0x14

Definition at line 445 of file cs89x0.h.

Referenced by cs89x0_probe().

#define CHKSUM_VAL   0x0000

Definition at line 446 of file cs89x0.h.

#define START_EEPROM_DATA   0x001c /* Offset into eeprom for start of data */

Definition at line 447 of file cs89x0.h.

Referenced by cs89x0_probe().

#define IRQ_MAP_EEPROM_DATA   0x0046 /* Offset into eeprom for the IRQ map */

Definition at line 448 of file cs89x0.h.

#define IRQ_MAP_LEN   0x0004 /* No of bytes to read for the IRQ map */

Definition at line 449 of file cs89x0.h.

#define PNP_IRQ_FRMT   0x0022 /* PNP small item IRQ format */

Definition at line 450 of file cs89x0.h.

#define CS8900_IRQ_MAP   0x1c20 /* This IRQ map is fixed */

Definition at line 451 of file cs89x0.h.

#define CS8920_NO_INTS   0x0F /* Max CS8920 interrupt select # */

Definition at line 453 of file cs89x0.h.

Referenced by cs89x0_probe().

#define PNP_ADD_PORT   0x0279

Definition at line 455 of file cs89x0.h.

#define PNP_WRITE_PORT   0x0A79

Definition at line 456 of file cs89x0.h.

#define GET_PNP_ISA_STRUCT   0x40

Definition at line 458 of file cs89x0.h.

#define PNP_ISA_STRUCT_LEN   0x06

Definition at line 459 of file cs89x0.h.

#define PNP_CSN_CNT_OFF   0x01

Definition at line 460 of file cs89x0.h.

#define PNP_RD_PORT_OFF   0x02

Definition at line 461 of file cs89x0.h.

#define PNP_FUNCTION_OK   0x00

Definition at line 462 of file cs89x0.h.

#define PNP_WAKE   0x03

Definition at line 463 of file cs89x0.h.

#define PNP_RSRC_DATA   0x04

Definition at line 464 of file cs89x0.h.

#define PNP_RSRC_READY   0x01

Definition at line 465 of file cs89x0.h.

#define PNP_STATUS   0x05

Definition at line 466 of file cs89x0.h.

#define PNP_ACTIVATE   0x30

Definition at line 467 of file cs89x0.h.

#define PNP_CNF_IO_H   0x60

Definition at line 468 of file cs89x0.h.

#define PNP_CNF_IO_L   0x61

Definition at line 469 of file cs89x0.h.

#define PNP_CNF_INT   0x70

Definition at line 470 of file cs89x0.h.

#define PNP_CNF_DMA   0x74

Definition at line 471 of file cs89x0.h.

#define PNP_CNF_MEM   0x48

Definition at line 472 of file cs89x0.h.


Function Documentation

FILE_LICENCE ( GPL2_ONLY  )

Per an email message from Russ Nelson <nelson@crynwr.com> on 18 March 2008 this file is now licensed under GPL Version 2.

From: Russ Nelson <nelson@crynwr.com> Date: Tue, 18 Mar 2008 12:42:00 -0400 Subject: Re: [Etherboot-developers] cs89x0 driver in etherboot -- quote from email As copyright holder, if I say it doesn't conflict with the GPL, then it doesn't conflict with the GPL.

However, there's no point in causing people's brains to overheat, so yes, I grant permission for the code to be relicensed under the GPLv2. Please make sure that this change in licensing makes its way upstream. -russ -- quote from email