diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-12-17 21:26:54 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-12-17 21:26:54 +0000 |
commit | 2976169423a1a5edf3d143dc5e340b9064a5b40b (patch) | |
tree | d325774300d94a2e46d4686e4491a0a961eb19f7 /sys/arch/hppa/gsc | |
parent | a1ff8a914da85448d7278b5679a2e6d88f8856a6 (diff) |
sync with pckbd.c r1.8:
go via pckbc_enqeue_cmd() in pckbd_enable() if on; fixes PR 4615
Diffstat (limited to 'sys/arch/hppa/gsc')
-rw-r--r-- | sys/arch/hppa/gsc/gsckbd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/gsc/gsckbd.c b/sys/arch/hppa/gsc/gsckbd.c index d6a04383af1..32a7d8eb4ba 100644 --- a/sys/arch/hppa/gsc/gsckbd.c +++ b/sys/arch/hppa/gsc/gsckbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gsckbd.c,v 1.6 2005/02/22 16:58:12 mickey Exp $ */ +/* $OpenBSD: gsckbd.c,v 1.7 2006/12/17 21:26:53 miod Exp $ */ /* * Copyright (c) 2003, Miodrag Vallat. * All rights reserved. @@ -341,8 +341,8 @@ gsckbd_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("gsckbd_enable: command error\n"); return (res); |