eeprom_no_addr_bits
mask = 1 << (eeprom_no_addr_bits(ha) - 1);
for (i = 0; i < eeprom_no_addr_bits(ha); i++) {