summaryrefslogtreecommitdiff
path: root/sys/dev/pckbc
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2005-12-29 12:31:30 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2005-12-29 12:31:30 +0000
commit2ca2908e55b127ccb757644ccaad6d6203f003ad (patch)
treec7e47f7b517bc501938d4c7f78d61f1f97479110 /sys/dev/pckbc
parent4b0b2232ddc2400195b4e6d50d2617f49b2a34b8 (diff)
go via pckbc_enqeue_cmd() in pckbd_enable() if on; fixes PR 4615
ok miod@, mickey@
Diffstat (limited to 'sys/dev/pckbc')
-rw-r--r--sys/dev/pckbc/pckbd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pckbc/pckbd.c b/sys/dev/pckbc/pckbd.c
index 44b0e22f6d5..d411c73646c 100644
--- a/sys/dev/pckbc/pckbd.c
+++ b/sys/dev/pckbc/pckbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pckbd.c,v 1.7 2005/02/22 16:17:31 mickey Exp $ */
+/* $OpenBSD: pckbd.c,v 1.8 2005/12/29 12:31:29 martin Exp $ */
/* $NetBSD: pckbd.c,v 1.24 2000/06/05 22:20:57 sommerfeld Exp $ */
/*-
@@ -383,8 +383,8 @@ pckbd_enable(v, on)
pckbc_slot_enable(sc->id->t_kbctag, sc->id->t_kbcslot, 1);
cmd[0] = KBC_ENABLE;
- res = pckbc_enqueue_cmd(sc->id->t_kbctag, sc->id->t_kbcslot,
- cmd, 1, 0, 1, 0);
+ res = pckbc_poll_cmd(sc->id->t_kbctag, sc->id->t_kbcslot,
+ cmd, 1, 0, NULL, 0);
if (res) {
printf("pckbd_enable: command error\n");
return (res);