Home
last modified time | relevance | path

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

/mirbsd/src/sys/dev/ic/
Dlemac.c389 static u_char testpat[] = { in lemac_read_macaddr() local
397 if (octet == testpat[idx2]) { in lemac_read_macaddr()
398 if (++idx2 == sizeof(testpat)) { in lemac_read_macaddr()
/mirbsd/src/sys/dev/pci/
Dif_de.c2791 static const u_char testpat[] = { 0xFF, 0, 0x55, 0xAA, 0xFF, 0, 0x55, 0xAA }; in tulip_read_macaddr() local
2807 for (idx = 0, cnt = 0; idx < sizeof(testpat) && cnt < 32; cnt++) { in tulip_read_macaddr()
2809 if (tmpbuf[idx] == testpat[idx]) in tulip_read_macaddr()
2970 if (bcmp(&sc->tulip_rombuf[24], testpat, 8) != 0) in tulip_read_macaddr()