summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorsoren <soren@NetBSD.org>2002-10-04 03:40:29 +0000
committersoren <soren@NetBSD.org>2002-10-04 03:40:29 +0000
commitfc9a318a07d48bdbe3365775be641b30b1b0be01 (patch)
tree889b5d773c8c548d38d9ccd48d59c776ee5412e8 /sys/dev
parent8ab9e2ef573173b5188a070ce6895de04a32d2c1 (diff)
Avoid noise on kbd-less machines.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isa/pckbc_isa.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/isa/pckbc_isa.c b/sys/dev/isa/pckbc_isa.c
index 00700e2c943..9a6f23b0160 100644
--- a/sys/dev/isa/pckbc_isa.c
+++ b/sys/dev/isa/pckbc_isa.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pckbc_isa.c,v 1.10 2002/10/02 03:10:49 thorpej Exp $ */
+/* $NetBSD: pckbc_isa.c,v 1.11 2002/10/04 03:40:29 soren Exp $ */
/*
* Copyright (c) 1998
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pckbc_isa.c,v 1.10 2002/10/02 03:10:49 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pckbc_isa.c,v 1.11 2002/10/04 03:40:29 soren Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -125,7 +125,9 @@ pckbc_isa_match(parent, match, aux)
}
res = pckbc_poll_data1(&t, PCKBC_KBD_SLOT, 0);
if (res != 0x55) {
+#ifdef DEBUG
printf("kbc selftest: %x\n", res);
+#endif
ok = 0;
}
out: