Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/
H A De100.c599 u16 eeprom_wc; member
765 nic->eeprom_wc = 1 << addr_len; in e100_eeprom_load()
767 for (addr = 0; addr < nic->eeprom_wc; addr++) { in e100_eeprom_load()
769 if (addr < nic->eeprom_wc - 1) in e100_eeprom_load()
775 if (cpu_to_le16(0xBABA - checksum) != nic->eeprom[nic->eeprom_wc - 1]) { in e100_eeprom_load()
791 nic->eeprom_wc = 1 << addr_len; in e100_eeprom_save()
793 if (start + count >= nic->eeprom_wc) in e100_eeprom_save()
801 for (addr = 0; addr < nic->eeprom_wc - 1; addr++) in e100_eeprom_save()
803 nic->eeprom[nic->eeprom_wc - 1] = cpu_to_le16(0xBABA - checksum); in e100_eeprom_save()
804 e100_eeprom_write(nic, addr_len, nic->eeprom_wc - 1, in e100_eeprom_save()
[all …]