KBS_DIB
while (inb(IO_KBD + KBSTATP) & KBS_DIB)
while (inb(IO_KBD + KBSTATP) & KBS_DIB)
(KBS_DIB | KBS_TERR | KBS_PERR))
if (!(bus_space_read_1(iot, ioh, KBSTATP) & KBS_DIB)) {
if (!(bus_space_read_1(iot, ioh, KBSTATP) & KBS_DIB)) {
if (stat & KBS_DIB) {
while (bus_space_read_1(t->t_iot, t->t_ioh_d, KBSTATP) & KBS_DIB) {
while (bus_space_read_1(t->t_iot, t->t_ioh_d, KBSTATP) & KBS_DIB) {
while (inb(IO_KBD + KBSTATP) & KBS_DIB)
while (inb(IO_KBD + KBSTATP) & KBS_DIB)
if (!(stat & KBS_DIB))
if (stat & KBS_DIB) {
while (bus_space_read_1(t->t_iot, t->t_ioh_c, 0) & KBS_DIB) {