Go to the documentation of this file. 13 #define VENDOR_NOVELL 2 17 #define FLAG_16BIT 0x02 24 #define ISA_MAX_ADDR 0x400 29 #define WD_LOW_BASE 0x200 30 #define WD_HIGH_BASE 0x3e0 31 #ifndef WD_DEFAULT_MEM 32 #define WD_DEFAULT_MEM 0xD0000 34 #define WD_NIC_ADDR 0x10 50 #define WD_ICR_16BIT 0x01 52 #define WD_MSR_MENB 0x40 54 #define WD_LAAR_L16EN 0x40 55 #define WD_LAAR_M16EN 0x80 57 #define WD_SOFTCONFIG 0x20 62 #define TYPE_WD8003S 0x02 63 #define TYPE_WD8003E 0x03 64 #define TYPE_WD8013EBT 0x05 65 #define TYPE_WD8003W 0x24 66 #define TYPE_WD8003EB 0x25 67 #define TYPE_WD8013W 0x26 68 #define TYPE_WD8013EP 0x27 69 #define TYPE_WD8013WC 0x28 70 #define TYPE_WD8013EPC 0x29 71 #define TYPE_SMC8216T 0x2a 72 #define TYPE_SMC8216C 0x2b 73 #define TYPE_SMC8416T 0x00 74 #define TYPE_SMC8416C 0x00 75 #define TYPE_SMC8013EBP 0x2c 82 #define _3COM_BASE 0x300 85 #define _3COM_TX_PAGE_OFFSET_8BIT 0x20 86 #define _3COM_TX_PAGE_OFFSET_16BIT 0x0 87 #define _3COM_RX_PAGE_OFFSET_16BIT 0x20 89 #define _3COM_ASIC_OFFSET 0x400 90 #define _3COM_NIC_OFFSET 0x0 96 #define _3COM_BCFR_2E0 0x01 97 #define _3COM_BCFR_2A0 0x02 98 #define _3COM_BCFR_280 0x04 99 #define _3COM_BCFR_250 0x08 100 #define _3COM_BCFR_350 0x10 101 #define _3COM_BCFR_330 0x20 102 #define _3COM_BCFR_310 0x40 103 #define _3COM_BCFR_300 0x80 105 #define _3COM_PCFR_PIO 0 106 #define _3COM_PCFR_C8000 0x10 107 #define _3COM_PCFR_CC000 0x20 108 #define _3COM_PCFR_D8000 0x40 109 #define _3COM_PCFR_DC000 0x80 111 #define _3COM_CR_RST 0x01 112 #define _3COM_CR_XSEL 0x02 113 #define _3COM_CR_EALO 0x04 114 #define _3COM_CR_EAHI 0x08 115 #define _3COM_CR_SHARE 0x10 116 #define _3COM_CR_DBSEL 0x20 117 #define _3COM_CR_DDIR 0x40 118 #define _3COM_CR_START 0x80 119 #define _3COM_GACFR 5 120 #define _3COM_GACFR_MBS0 0x01 121 #define _3COM_GACFR_MBS1 0x02 122 #define _3COM_GACFR_MBS2 0x04 123 #define _3COM_GACFR_RSEL 0x08 124 #define _3COM_GACFR_TEST 0x10 125 #define _3COM_GACFR_OWS 0x20 126 #define _3COM_GACFR_TCM 0x40 127 #define _3COM_GACFR_NIM 0x80 128 #define _3COM_STREG 7 129 #define _3COM_STREG_REV 0x07 130 #define _3COM_STREG_DIP 0x08 131 #define _3COM_STREG_DTC 0x10 132 #define _3COM_STREG_OFLW 0x20 133 #define _3COM_STREG_UFLW 0x40 134 #define _3COM_STREG_DPRDY 0x80 135 #define _3COM_IDCFR 8 136 #define _3COM_IDCFR_DRQ0 0x01 137 #define _3COM_IDCFR_DRQ1 0x02 138 #define _3COM_IDCFR_DRQ2 0x04 139 #define _3COM_IDCFR_UNUSED 0x08 140 #define _3COM_IDCFR_IRQ2 0x10 141 #define _3COM_IDCFR_IRQ3 0x20 142 #define _3COM_IDCFR_IRQ4 0x40 143 #define _3COM_IDCFR_IRQ5 0x80 148 #define _3COM_DAMSB 9 149 #define _3COM_DALSB 0x0a 150 #define _3COM_VPTR2 0x0b 151 #define _3COM_VPTR1 0x0c 152 #define _3COM_VPTR0 0x0d 153 #define _3COM_RFMSB 0x0e 154 #define _3COM_RFLSB 0x0f 159 #define NE_ASIC_OFFSET 0x10 160 #define NE_RESET 0x0F 163 #define COMPEX_RL2000_TRIES 200 168 #define D8390_P0_COMMAND 0x00 169 #define D8390_P0_PSTART 0x01 170 #define D8390_P0_PSTOP 0x02 171 #define D8390_P0_BOUND 0x03 172 #define D8390_P0_TSR 0x04 173 #define D8390_P0_TPSR 0x04 174 #define D8390_P0_TBCR0 0x05 175 #define D8390_P0_TBCR1 0x06 176 #define D8390_P0_ISR 0x07 177 #define D8390_P0_RSAR0 0x08 178 #define D8390_P0_RSAR1 0x09 179 #define D8390_P0_RBCR0 0x0A 180 #define D8390_P0_RBCR1 0x0B 181 #define D8390_P0_RSR 0x0C 182 #define D8390_P0_RCR 0x0C 183 #define D8390_P0_TCR 0x0D 184 #define D8390_P0_DCR 0x0E 185 #define D8390_P0_IMR 0x0F 186 #define D8390_P1_COMMAND 0x00 187 #define D8390_P1_PAR0 0x01 188 #define D8390_P1_PAR1 0x02 189 #define D8390_P1_PAR2 0x03 190 #define D8390_P1_PAR3 0x04 191 #define D8390_P1_PAR4 0x05 192 #define D8390_P1_PAR5 0x06 193 #define D8390_P1_CURR 0x07 194 #define D8390_P1_MAR0 0x08 196 #define D8390_COMMAND_PS0 0x0 197 #define D8390_COMMAND_PS1 0x40 198 #define D8390_COMMAND_PS2 0x80 199 #define D8390_COMMAND_RD2 0x20 200 #define D8390_COMMAND_RD1 0x10 201 #define D8390_COMMAND_RD0 0x08 202 #define D8390_COMMAND_TXP 0x04 203 #define D8390_COMMAND_STA 0x02 204 #define D8390_COMMAND_STP 0x01 206 #define D8390_RCR_MON 0x20 208 #define D8390_DCR_FT1 0x40 209 #define D8390_DCR_LS 0x08 210 #define D8390_DCR_WTS 0x01 212 #define D8390_ISR_PRX 0x01 213 #define D8390_ISR_PTX 0x02 214 #define D8390_ISR_RXE 0x04 215 #define D8390_ISR_TXE 0x08 216 #define D8390_ISR_OVW 0x10 217 #define D8390_ISR_CNT 0x20 218 #define D8390_ISR_RDC 0x40 219 #define D8390_ISR_RST 0x80 221 #define D8390_RSTAT_PRX 0x01 222 #define D8390_RSTAT_CRC 0x02 223 #define D8390_RSTAT_FAE 0x04 224 #define D8390_RSTAT_OVER 0x08 226 #define D8390_TXBUF_SIZE 6 227 #define D8390_RXBUF_END 32 228 #define D8390_PAGE_SIZE 256