tag | line | file | source code |
eeprom_image | 305 | drivers/net/ewrk3.c | static void EthwrkSignature(char * name, char *eeprom_image); |
eeprom_image | 312 | drivers/net/ewrk3.c | static u_char get_hw_addr (struct device *dev, u_char *eeprom_image, char chipType); |
eeprom_image | 382 | drivers/net/ewrk3.c | u_char eeprom_image[EEPROM_MAX], chksum, eisa_cr = 0; |
eeprom_image | 407 | drivers/net/ewrk3.c | eeprom_image[i] = tmp.c[0]; |
eeprom_image | 408 | drivers/net/ewrk3.c | eeprom_image[i+1] = tmp.c[1]; |
eeprom_image | 409 | drivers/net/ewrk3.c | chksum += eeprom_image[i] + eeprom_image[i+1]; |
eeprom_image | 416 | drivers/net/ewrk3.c | EthwrkSignature(name, eeprom_image); |
eeprom_image | 424 | drivers/net/ewrk3.c | lemac = eeprom_image[EEPROM_CHIPVER]; |
eeprom_image | 442 | drivers/net/ewrk3.c | status = get_hw_addr(dev, eeprom_image, lemac); |
eeprom_image | 454 | drivers/net/ewrk3.c | if (eeprom_image[EEPROM_MISC0] & READ_AHEAD) cmr |= CMR_RA; |
eeprom_image | 455 | drivers/net/ewrk3.c | if (eeprom_image[EEPROM_MISC0] & WRITE_BEHIND) cmr |= CMR_WB; |
eeprom_image | 456 | drivers/net/ewrk3.c | if (eeprom_image[EEPROM_NETMAN0] & NETMAN_POL) cmr |= CMR_POLARITY; |
eeprom_image | 457 | drivers/net/ewrk3.c | if (eeprom_image[EEPROM_NETMAN0] & NETMAN_LINK) cmr |= CMR_LINK; |
eeprom_image | 458 | drivers/net/ewrk3.c | if (eeprom_image[EEPROM_MISC0] & _0WS_ENA) cmr |= CMR_0WS; |
eeprom_image | 460 | drivers/net/ewrk3.c | if (eeprom_image[EEPROM_SETUP] & SETUP_DRAM) cmr |= CMR_DRAM; |
eeprom_image | 464 | drivers/net/ewrk3.c | cr |= eeprom_image[EEPROM_SETUP] & SETUP_APD; |
eeprom_image | 465 | drivers/net/ewrk3.c | if (cr & SETUP_APD) cr |= eeprom_image[EEPROM_SETUP] & SETUP_PS; |
eeprom_image | 466 | drivers/net/ewrk3.c | cr |= eeprom_image[EEPROM_MISC0] & FAST_BUS; |
eeprom_image | 467 | drivers/net/ewrk3.c | cr |= eeprom_image[EEPROM_MISC0] & ENA_16; |
eeprom_image | 1515 | drivers/net/ewrk3.c | static void EthwrkSignature(char *name, char *eeprom_image) |
eeprom_image | 1523 | drivers/net/ewrk3.c | if (signatures[i][k] == eeprom_image[j]) { /* track signature */ |
eeprom_image | 1531 | drivers/net/ewrk3.c | name[k] = eeprom_image[EEPROM_PNAME7 + k]; |
eeprom_image | 1589 | drivers/net/ewrk3.c | static u_char get_hw_addr(struct device *dev, u_char *eeprom_image, char chipType) |
eeprom_image | 1599 | drivers/net/ewrk3.c | sd = dev->dev_addr[j] = eeprom_image[EEPROM_PADDR0 + j]; |
eeprom_image | 1606 | drivers/net/ewrk3.c | if (crc != eeprom_image[EEPROM_PA_CRC]) status = -1; |