Lines Matching refs:eeprom
369 fe_probe_jli_re1000p(struct fe_softc * sc, u_char const * eeprom) in fe_probe_jli_re1000p() argument
375 if (eeprom[1] != 0xFF) return NULL; in fe_probe_jli_re1000p()
376 for (i = 2; i < 8; i++) if (eeprom[i] != 0xFF) return NULL; in fe_probe_jli_re1000p()
377 for (i = 14; i < 24; i++) if (eeprom[i] != 0xFF) return NULL; in fe_probe_jli_re1000p()
381 bcopy(eeprom + 8, sc->enaddr, ETHER_ADDR_LEN); in fe_probe_jli_re1000p()
402 u_char eeprom [JLI_EEPROM_SIZE]; in fe_probe_jli() local
460 fe_read_eeprom_jli(sc, eeprom); in fe_probe_jli()
463 if (eeprom[FE_EEPROM_CONF] != fe_inb(sc, FE_BMPR19)) in fe_probe_jli()
476 if ((irqmap = fe_probe_jli_re1000p(sc, eeprom)) == NULL) in fe_probe_jli()
603 u_char eeprom [SSI_EEPROM_SIZE]; in fe_probe_ssi() local
638 fe_read_eeprom_ssi(sc, eeprom); in fe_probe_ssi()
641 if (!fe_valid_Ether_p(eeprom + FE_SSI_EEP_ADDR, 0x00804C)) in fe_probe_ssi()
643 bcopy(eeprom + FE_SSI_EEP_ADDR, sc->enaddr, ETHER_ADDR_LEN); in fe_probe_ssi()
651 irq = irqmap[eeprom[FE_SSI_EEP_IRQ]]; in fe_probe_ssi()
661 sc->proto_dlcr4 |= (eeprom[FE_SSI_EEP_DUPLEX] & FE_D4_DSC); in fe_probe_ssi()
680 u_char eeprom [LNX_EEPROM_SIZE]; in fe_probe_lnx() local
708 fe_read_eeprom_lnx(sc, eeprom); in fe_probe_lnx()
711 if (!fe_valid_Ether_p(eeprom, 0x008098)) in fe_probe_lnx()
713 bcopy(eeprom, sc->enaddr, ETHER_ADDR_LEN); in fe_probe_lnx()
953 u_char eeprom [REX_EEPROM_SIZE]; in fe_probe_rex() local
981 fe_read_eeprom_rex(sc, eeprom); in fe_probe_rex()
983 sc->enaddr[i] = eeprom[7 - i]; in fe_probe_rex()