Lines Matching refs:atse_eth_addr

653 	if (sc->atse_eth_addr[0] != 0x00 || sc->atse_eth_addr[1] != 0x00 ||
654 sc->atse_eth_addr[2] != 0x00)
673 sc->atse_eth_addr[0] = atse_ethernet_option_bits[4];
674 sc->atse_eth_addr[1] = atse_ethernet_option_bits[5];
675 sc->atse_eth_addr[2] = atse_ethernet_option_bits[6];
676 sc->atse_eth_addr[3] = atse_ethernet_option_bits[7];
677 sc->atse_eth_addr[4] = atse_ethernet_option_bits[8];
678 sc->atse_eth_addr[5] = atse_ethernet_option_bits[9];
681 if (sc->atse_eth_addr[0] == 0x00 && sc->atse_eth_addr[1] == 0x07 &&
682 sc->atse_eth_addr[2] == 0xed && sc->atse_eth_addr[3] == 0xff &&
683 sc->atse_eth_addr[4] == 0xed && sc->atse_eth_addr[5] == 0x15) {
692 if (sc->atse_eth_addr[0] == 0x00 && sc->atse_eth_addr[1] == 0x00 &&
693 sc->atse_eth_addr[2] == 0x00 && sc->atse_eth_addr[3] == 0x00 &&
694 sc->atse_eth_addr[4] == 0x00 && sc->atse_eth_addr[5] == 0x00) {
701 if (ETHER_IS_MULTICAST(sc->atse_eth_addr)) {
723 if ((sc->atse_eth_addr[0] & ~0x2) != 0 ||
724 sc->atse_eth_addr[1] != 0x07 || sc->atse_eth_addr[2] != 0xed ||
725 (sc->atse_eth_addr[5] & 0x0f) != 0x0) {
731 sc->atse_eth_addr[5] |= (unit & 0x0f);
741 arc4rand(sc->atse_eth_addr, ETHER_ADDR_LEN, 1);
742 sc->atse_eth_addr[0] &= ~1;/* clear multicast bit */
743 sc->atse_eth_addr[0] |= 2; /* set the LAA bit */
745 sc->atse_eth_addr[0] = 0x2;
746 sc->atse_eth_addr[1] = (hostid >> 24) & 0xff;
747 sc->atse_eth_addr[2] = (hostid >> 16) & 0xff;
748 sc->atse_eth_addr[3] = (hostid >> 8 ) & 0xff;
749 sc->atse_eth_addr[4] = hostid & 0xff;
750 sc->atse_eth_addr[5] = sc->atse_unit & 0xff;
761 v0 = (sc->atse_eth_addr[3] << 24) | (sc->atse_eth_addr[2] << 16) |
762 (sc->atse_eth_addr[1] << 8) | sc->atse_eth_addr[0];
763 v1 = (sc->atse_eth_addr[5] << 8) | sc->atse_eth_addr[4];
979 bcopy(eaddr, &sc->atse_eth_addr, ETHER_ADDR_LEN);
1819 ether_ifattach(ifp, sc->atse_eth_addr);