tag | line | file | source code |
cmr | 381 | drivers/net/ewrk3.c | u_char cr, cmr, icr, nicsr, lemac, hard_strapped = 0; |
cmr | 425 | drivers/net/ewrk3.c | cmr = inb(EWRK3_CMR); |
cmr | 427 | drivers/net/ewrk3.c | if (((lemac == LeMAC) && ((cmr & CMR_NO_EEPROM) != CMR_NO_EEPROM)) || |
cmr | 428 | drivers/net/ewrk3.c | ((lemac == LeMAC2) && !(cmr & CMR_HS))) { |
cmr | 453 | drivers/net/ewrk3.c | cmr &= ~(CMR_RA | CMR_WB | CMR_LINK | CMR_POLARITY | CMR_0WS); |
cmr | 454 | drivers/net/ewrk3.c | if (eeprom_image[EEPROM_MISC0] & READ_AHEAD) cmr |= CMR_RA; |
cmr | 455 | drivers/net/ewrk3.c | if (eeprom_image[EEPROM_MISC0] & WRITE_BEHIND) cmr |= CMR_WB; |
cmr | 456 | drivers/net/ewrk3.c | if (eeprom_image[EEPROM_NETMAN0] & NETMAN_POL) cmr |= CMR_POLARITY; |
cmr | 457 | drivers/net/ewrk3.c | if (eeprom_image[EEPROM_NETMAN0] & NETMAN_LINK) cmr |= CMR_LINK; |
cmr | 458 | drivers/net/ewrk3.c | if (eeprom_image[EEPROM_MISC0] & _0WS_ENA) cmr |= CMR_0WS; |
cmr | 460 | drivers/net/ewrk3.c | if (eeprom_image[EEPROM_SETUP] & SETUP_DRAM) cmr |= CMR_DRAM; |
cmr | 461 | drivers/net/ewrk3.c | outb(cmr, EWRK3_CMR); |
cmr | 521 | drivers/net/ewrk3.c | if (cmr & CMR_DRAM) lp->mPage <<= 1 ;/* 2 DRAMS on module */ |