PCKBPORT_KBD_SLOT
if (iomdkbc_cntag.t_haveport[PCKBPORT_KBD_SLOT]) {
t->t_haveport[PCKBPORT_KBD_SLOT] = 1;
t->t_ioh[PCKBPORT_KBD_SLOT] = ka->ka_ioh;
t->t_rxih[PCKBPORT_KBD_SLOT] = intr_claim(ka->ka_rxirq,
t->t_rxirq[PCKBPORT_KBD_SLOT] = ka->ka_rxirq;
disable_irq(t->t_rxirq[PCKBPORT_KBD_SLOT]);
pckbport_attach_slot(sc->sc_dev, t->t_pt, PCKBPORT_KBD_SLOT);
for (slot = PCKBPORT_KBD_SLOT; slot <= PCKBPORT_AUX_SLOT; ++slot) {
sc->sc_slot = PCKBPORT_KBD_SLOT;
0, &t->t_ioh[PCKBPORT_KBD_SLOT]) != 0) {
macekbc_reset(t, PCKBPORT_KBD_SLOT);
pckbport_cnattach(t, &macekbc_ops, PCKBPORT_KBD_SLOT);
if (pckbport_attach_slot(self, t->t_pt, PCKBPORT_KBD_SLOT))
t->t_present[PCKBPORT_KBD_SLOT] = 1;
if (pa->pa_slot != PCKBPORT_KBD_SLOT)
if (sc->sc_slot == PCKBPORT_KBD_SLOT)
if ((pa->pa_slot != PCKBPORT_KBD_SLOT) &&
if (t->t_slotdata[PCKBPORT_KBD_SLOT])
pckbport_cleanqueue(t->t_slotdata[PCKBPORT_KBD_SLOT]);
(void)pckbport_poll_cmd(t, PCKBPORT_KBD_SLOT, cmd, 1, 2, resp, 1);
pckbport_flush(t, PCKBPORT_KBD_SLOT);