Home
last modified time | relevance | path

Searched refs:eeprom_buff (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/net/e1000/
De1000_ethtool.c481 uint16_t *eeprom_buff; in e1000_get_eeprom() local
494 eeprom_buff = kmalloc(sizeof(uint16_t) * in e1000_get_eeprom()
496 if (!eeprom_buff) in e1000_get_eeprom()
502 eeprom_buff); in e1000_get_eeprom()
506 &eeprom_buff[i]))) in e1000_get_eeprom()
512 le16_to_cpus(&eeprom_buff[i]); in e1000_get_eeprom()
514 memcpy(bytes, (uint8_t *)eeprom_buff + (eeprom->offset & 1), in e1000_get_eeprom()
516 kfree(eeprom_buff); in e1000_get_eeprom()
527 uint16_t *eeprom_buff; in e1000_set_eeprom() local
542 eeprom_buff = kmalloc(max_len, GFP_KERNEL); in e1000_set_eeprom()
[all …]
/linux-2.4.37.9/drivers/net/
Dcs89x0.c387 int eeprom_buff[CHKSUM_LEN]; in cs89x0_probe1() local
580 else if (get_eeprom_data(dev, START_EEPROM_DATA,CHKSUM_LEN,eeprom_buff) < 0) { in cs89x0_probe1()
582 } else if (get_eeprom_cksum(START_EEPROM_DATA,CHKSUM_LEN,eeprom_buff) < 0) { in cs89x0_probe1()
594 if (!lp->auto_neg_cnf) lp->auto_neg_cnf = eeprom_buff[AUTO_NEG_CNF_OFFSET/2]; in cs89x0_probe1()
596 if (!lp->adapter_cnf) lp->adapter_cnf = eeprom_buff[ADAPTER_CNF_OFFSET/2]; in cs89x0_probe1()
598 lp->isa_config = eeprom_buff[ISA_CNF_OFFSET/2]; in cs89x0_probe1()
599 dev->mem_start = eeprom_buff[PACKET_PAGE_OFFSET/2] << 8; in cs89x0_probe1()
604 dev->dev_addr[i*2] = eeprom_buff[i]; in cs89x0_probe1()
605 dev->dev_addr[i*2+1] = eeprom_buff[i] >> 8; in cs89x0_probe1()