Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Reduce probe noise.



details:   https://anonhg.NetBSD.org/src/rev/1c786210a299
branches:  trunk
changeset: 499491:1c786210a299
user:      soren <soren%NetBSD.org@localhost>
date:      Tue Nov 21 05:23:37 2000 +0000

description:
Reduce probe noise.

diffstat:

 sys/dev/ic/bha.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r bb55b08df530 -r 1c786210a299 sys/dev/ic/bha.c
--- a/sys/dev/ic/bha.c  Tue Nov 21 03:53:27 2000 +0000
+++ b/sys/dev/ic/bha.c  Tue Nov 21 05:23:37 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bha.c,v 1.39 2000/11/14 18:21:01 thorpej Exp $ */
+/*     $NetBSD: bha.c,v 1.40 2000/11/21 05:23:37 soren Exp $   */
 
 #include "opt_ddb.h"
 #undef BHADIAG
@@ -228,9 +228,11 @@
                        delay(50);
                }
                if (!i) {
+#ifdef BHADEBUG
                        if (opcode != BHA_INQUIRE_REVISION)
                                printf("%s: bha_cmd, cmd/data port empty %d\n",
                                    name, ocnt);
+#endif /* BHADEBUG */
                        goto bad;
                }
                *obuf++ = bus_space_read_1(iot, ioh, BHA_DATA_PORT);



Home | Main Index | Thread Index | Old Index