tag | line | file | source code |
cmr | 403 | drivers/net/ewrk3.c | unsigned char cr, cmr, icr, nicsr, lemac, hard_strapped = 0; |
cmr | 455 | drivers/net/ewrk3.c | cmr = inb(EWRK3_CMR); |
cmr | 457 | drivers/net/ewrk3.c | if (((lemac == LeMAC) && ((cmr & NO_EEPROM) != NO_EEPROM)) || |
cmr | 458 | drivers/net/ewrk3.c | ((lemac == LeMAC2) && !(cmr & HS))) { |
cmr | 494 | drivers/net/ewrk3.c | cmr &= ~(RA | WB | LINK | POLARITY | _0WS); |
cmr | 495 | drivers/net/ewrk3.c | if (eeprom_image[EEPROM_MISC0] & READ_AHEAD) cmr |= RA; |
cmr | 496 | drivers/net/ewrk3.c | if (eeprom_image[EEPROM_MISC0] & WRITE_BEHIND) cmr |= WB; |
cmr | 497 | drivers/net/ewrk3.c | if (eeprom_image[EEPROM_NETMAN0] & NETMAN_POL) cmr |= POLARITY; |
cmr | 498 | drivers/net/ewrk3.c | if (eeprom_image[EEPROM_NETMAN0] & NETMAN_LINK) cmr |= LINK; |
cmr | 499 | drivers/net/ewrk3.c | if (eeprom_image[EEPROM_MISC0] & _0WS_ENA) cmr |= _0WS; |
cmr | 501 | drivers/net/ewrk3.c | if (eeprom_image[EEPROM_SETUP] & SETUP_DRAM) cmr |= DRAM; |
cmr | 502 | drivers/net/ewrk3.c | outb(cmr, EWRK3_CMR); |
cmr | 559 | drivers/net/ewrk3.c | if (cmr & DRAM) lp->mPage <<= 1 ; /* 2 DRAMS on module */ |