Home
last modified time | relevance | path

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

/freebsd/sys/dev/jme/
H A Dif_jmevar.h184 uint8_t jme_eaddr[ETHER_ADDR_LEN]; member
H A Dif_jme.c427 bcopy(eaddr, sc->jme_eaddr, ETHER_ADDR_LEN); in jme_eeprom_macaddr()
504 sc->jme_eaddr[0] = (par0 >> 0) & 0xFF; in jme_reg_macaddr()
505 sc->jme_eaddr[1] = (par0 >> 8) & 0xFF; in jme_reg_macaddr()
506 sc->jme_eaddr[2] = (par0 >> 16) & 0xFF; in jme_reg_macaddr()
507 sc->jme_eaddr[3] = (par0 >> 24) & 0xFF; in jme_reg_macaddr()
508 sc->jme_eaddr[4] = (par1 >> 0) & 0xFF; in jme_reg_macaddr()
509 sc->jme_eaddr[5] = (par1 >> 8) & 0xFF; in jme_reg_macaddr()
529 if (bcmp(eaddr, sc->jme_eaddr, ETHER_ADDR_LEN) != 0) { in jme_set_macaddr()
862 ether_ifattach(ifp, sc->jme_eaddr); in jme_attach()
921 jme_set_macaddr(sc, sc->jme_eaddr); in jme_detach()