summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/udbp.c
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-07-31 14:34:36 +0000
committerjoe <joe@FreeBSD.org>2002-07-31 14:34:36 +0000
commit9f844c45b89aea60a8007132c6198fd7a9776c4e (patch)
treefafe553431d8770eb184a810f65960276fbbcccb /sys/dev/usb/udbp.c
parent7320c84bded7927b7c95a1ee65b5ec56efa7008d (diff)
downloadFreeBSD-src-9f844c45b89aea60a8007132c6198fd7a9776c4e.zip
FreeBSD-src-9f844c45b89aea60a8007132c6198fd7a9776c4e.tar.gz
Replace the FOO_DEBUG definitions with USB_DEBUG, and switch the
debugging levels to off by default. Now that debug levels can be tweaked by sysctl we don't need to go through hoops to get the different usb parts to produce debug data.
Diffstat (limited to 'sys/dev/usb/udbp.c')
-rw-r--r--sys/dev/usb/udbp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/udbp.c b/sys/dev/usb/udbp.c
index 06add0b..11555dc 100644
--- a/sys/dev/usb/udbp.c
+++ b/sys/dev/usb/udbp.c
@@ -104,10 +104,10 @@
#include <dev/usb/udbp.h>
#include <netgraph/netgraph.h>
-#ifdef UDBP_DEBUG
+#ifdef USB_DEBUG
#define DPRINTF(x) if (udbpdebug) logprintf x
#define DPRINTFN(n,x) if (udbpdebug>(n)) logprintf x
-int udbpdebug = 9;
+int udbpdebug = 0;
SYSCTL_INT(_debug_usb, OID_AUTO, udbp, CTLFLAG_RW,
&udbpdebug, 0, "udbp debug level");
#else
OpenPOWER on IntegriCloud