Lines Matching defs:eeprom
515 u_int16_t eeprom, val;
519 axe_cmd(sc, AXE_CMD_SROM_READ, 0, 0x0017, &eeprom);
522 eeprom = letoh16(eeprom);
524 DPRINTF((" EEPROM is 0x%x\n", eeprom));
527 if (eeprom == 0xffff) {
532 phymode = eeprom & 0x7f;
533 gpio0 = (eeprom & 0x80) ? 0 : 1;
534 ledmode = eeprom >> 8;
537 DPRINTF(("use gpio0: %d, phymode 0x%02x, eeprom 0x%04x\n",
538 gpio0, phymode, eeprom));