From 2976169423a1a5edf3d143dc5e340b9064a5b40b Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sun, 17 Dec 2006 21:26:54 +0000 Subject: sync with pckbd.c r1.8: go via pckbc_enqeue_cmd() in pckbd_enable() if on; fixes PR 4615 --- sys/arch/hppa/gsc/gsckbd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch') 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); -- cgit v1.2.3