Searched refs:eeprom_wc (Results 1 – 1 of 1) sorted by relevance
600 u16 eeprom_wc; member766 nic->eeprom_wc = 1 << addr_len; in e100_eeprom_load()768 for (addr = 0; addr < nic->eeprom_wc; addr++) { in e100_eeprom_load()770 if (addr < nic->eeprom_wc - 1) in e100_eeprom_load()776 if (cpu_to_le16(0xBABA - checksum) != nic->eeprom[nic->eeprom_wc - 1]) { in e100_eeprom_load()792 nic->eeprom_wc = 1 << addr_len; in e100_eeprom_save()794 if (start + count >= nic->eeprom_wc) in e100_eeprom_save()802 for (addr = 0; addr < nic->eeprom_wc - 1; addr++) in e100_eeprom_save()804 nic->eeprom[nic->eeprom_wc - 1] = cpu_to_le16(0xBABA - checksum); in e100_eeprom_save()805 e100_eeprom_write(nic, addr_len, nic->eeprom_wc - 1, in e100_eeprom_save()[all …]