diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-12-17 21:27:21 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-12-17 21:27:21 +0000 |
commit | 995fdfcee7292e605365eedbc4708eeac394473a (patch) | |
tree | e11966f3d32580edd9ed8a8befda37cde66ba70a | |
parent | 2976169423a1a5edf3d143dc5e340b9064a5b40b (diff) |
Sync with pckbc.c r1.12:
silence a debug message; from kili@outback.escape.de
-rw-r--r-- | sys/arch/hppa/gsc/gsckbc.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/hppa/gsc/gsckbc.c b/sys/arch/hppa/gsc/gsckbc.c index eb1ebc9b561..d2817304bc9 100644 --- a/sys/arch/hppa/gsc/gsckbc.c +++ b/sys/arch/hppa/gsc/gsckbc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gsckbc.c,v 1.8 2004/02/13 21:28:19 mickey Exp $ */ +/* $OpenBSD: gsckbc.c,v 1.9 2006/12/17 21:27:20 miod Exp $ */ /* * Copyright (c) 2003, Miodrag Vallat. * All rights reserved. @@ -714,7 +714,6 @@ pckbc_poll_cmd(self, slot, cmd, len, responselen, respbuf, slow) u_char *respbuf; int slow; { - struct pckbc_internal *t = self; struct pckbc_devcmd nc; if ((len > 4) || (responselen > 4)) @@ -726,7 +725,7 @@ pckbc_poll_cmd(self, slot, cmd, len, responselen, respbuf, slow) nc.responselen = responselen; nc.flags = (slow ? KBC_CMDFLAG_SLOW : 0); - pckbc_poll_cmd1(t, slot, &nc); + pckbc_poll_cmd1(self, slot, &nc); if (nc.status == 0 && respbuf) bcopy(nc.response, respbuf, responselen); @@ -826,7 +825,7 @@ pckbc_start(t, slot) } /* - * Handle command responses coming in asynchonously, + * Handle command responses coming in asynchronously, * return nonzero if valid response. * to be called at spltty() */ @@ -852,7 +851,9 @@ pckbc_cmdresponse(t, slot, data) /* try again last command */ goto restart; } else { +#ifdef PCKBCDEBUG printf("pckbc: cmd failed\n"); +#endif cmd->status = EIO; /* dequeue */ } |