Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/isa Avoid noise on kbd-less machines.



details:   https://anonhg.NetBSD.org/src/rev/d9b336d482e2
branches:  trunk
changeset: 537640:d9b336d482e2
user:      soren <soren%NetBSD.org@localhost>
date:      Fri Oct 04 03:40:29 2002 +0000

description:
Avoid noise on kbd-less machines.

diffstat:

 sys/dev/isa/pckbc_isa.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 93b4b2d42e15 -r d9b336d482e2 sys/dev/isa/pckbc_isa.c
--- a/sys/dev/isa/pckbc_isa.c   Fri Oct 04 03:20:59 2002 +0000
+++ b/sys/dev/isa/pckbc_isa.c   Fri Oct 04 03:40:29 2002 +0000
@@ -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 @@
                }
                res = pckbc_poll_data1(&t, PCKBC_KBD_SLOT, 0);
                if (res != 0x55) {
+#ifdef DEBUG
                        printf("kbc selftest: %x\n", res);
+#endif
                        ok = 0;
                }
  out:



Home | Main Index | Thread Index | Old Index