summaryrefslogtreecommitdiff
path: root/sys/dev/wpi
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2009-11-08 02:33:33 +0000
committerDoug Barton <dougb@FreeBSD.org>2009-11-08 02:33:33 +0000
commitafe0ec0027c9b1e7dc9ff95258d72484cb3dac46 (patch)
tree1ea008c151a5c2cfb8c326cee7d7f57b9dc64dcc /sys/dev/wpi
parente238d4ead114ad0e8a4af71bfc50cade4eb841f0 (diff)
Notes
Diffstat (limited to 'sys/dev/wpi')
-rw-r--r--sys/dev/wpi/if_wpi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/wpi/if_wpi.c b/sys/dev/wpi/if_wpi.c
index 2ef4865e2b5a..858123752185 100644
--- a/sys/dev/wpi/if_wpi.c
+++ b/sys/dev/wpi/if_wpi.c
@@ -103,6 +103,8 @@ __FBSDID("$FreeBSD$");
#include <dev/wpi/if_wpireg.h>
#include <dev/wpi/if_wpivar.h>
+#define WPI_DEBUG
+
#ifdef WPI_DEBUG
#define DPRINTF(x) do { if (wpi_debug != 0) printf x; } while (0)
#define DPRINTFN(n, x) do { if (wpi_debug & n) printf x; } while (0)
@@ -124,7 +126,7 @@ enum {
WPI_DEBUG_ANY = 0xffffffff
};
-static int wpi_debug = 1;
+static int wpi_debug = 0;
SYSCTL_INT(_debug, OID_AUTO, wpi, CTLFLAG_RW, &wpi_debug, 0, "wpi debug level");
TUNABLE_INT("debug.wpi", &wpi_debug);