Home
last modified time | relevance | path

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

/netbsd-src/sys/dev/ppbus/
H A Dlpt.c336 static const u_char testbyte[18] = { in lpt_detect() local
356 ppbus_wdtr(dev, testbyte[i]); in lpt_detect()
357 if((var = ppbus_rdtr(dev)) != testbyte[i]) { in lpt_detect()
361 __func__, device_xname(dev), testbyte[i], var)); in lpt_detect()
369 ppbus_wctr(dev, (testbyte[i] & 0x14)); in lpt_detect()
370 if(((var = ppbus_rctr(dev)) & 0x14) != (testbyte[i] & 0x14)) { in lpt_detect()
375 device_xname(dev), (testbyte[i] & 0x14), in lpt_detect()
376 testbyte[i], (var & 0x14))); in lpt_detect()
/netbsd-src/sys/dev/pci/
H A Dif_sk.c1749 uint8_t testbyte; in skc_attach() local
1755 testbyte = sk_win_read_1(sc, SK_EP_ADDR+3); in skc_attach()
1757 if (testbyte != 0) { in skc_attach()