Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Don't BWI_DEBUG by default + comment cleanup.



details:   https://anonhg.NetBSD.org/src/rev/92226b4f0277
branches:  trunk
changeset: 761470:92226b4f0277
user:      pooka <pooka%NetBSD.org@localhost>
date:      Fri Jan 28 20:36:06 2011 +0000

description:
Don't BWI_DEBUG by default + comment cleanup.

requested by Taylor R. Campbell (driver submitter)

diffstat:

 sys/dev/ic/bwi.c |  10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diffs (32 lines):

diff -r 45a3b2b5cebf -r 92226b4f0277 sys/dev/ic/bwi.c
--- a/sys/dev/ic/bwi.c  Fri Jan 28 20:31:10 2011 +0000
+++ b/sys/dev/ic/bwi.c  Fri Jan 28 20:36:06 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bwi.c,v 1.16 2010/04/16 18:59:51 dyoung Exp $  */
+/*     $NetBSD: bwi.c,v 1.17 2011/01/28 20:36:06 pooka Exp $   */
 /*     $OpenBSD: bwi.c,v 1.74 2008/02/25 21:13:30 mglocker Exp $       */
 
 /*
@@ -48,7 +48,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bwi.c,v 1.16 2010/04/16 18:59:51 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bwi.c,v 1.17 2011/01/28 20:36:06 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/callout.h>
@@ -81,12 +81,8 @@
 #include <dev/ic/bwireg.h>
 #include <dev/ic/bwivar.h>
 
-#define BWI_DEBUG 1
 #ifdef BWI_DEBUG
-
-int bwi_debug = ~BWI_DBG_INTR;
-
-/* [TRC: XXX I think this is wrong.] */
+int bwi_debug = 0;
 
 #define DPRINTF(sc, dbg, fmt, ...)                                     \
 do {                                                                   \



Home | Main Index | Thread Index | Old Index