summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ufm.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/ufm.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/ufm.c')
-rw-r--r--sys/dev/usb/ufm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ufm.c b/sys/dev/usb/ufm.c
index 609c95d..e940257 100644
--- a/sys/dev/usb/ufm.c
+++ b/sys/dev/usb/ufm.c
@@ -64,10 +64,10 @@
#include <dev/usb/usbdevs.h>
#include <dev/usb/dsbr100io.h>
-#ifdef UFM_DEBUG
+#ifdef USB_DEBUG
#define DPRINTF(x) if (ufmdebug) logprintf x
#define DPRINTFN(n,x) if (ufmdebug>(n)) logprintf x
-int ufmdebug = 100;
+int ufmdebug = 0;
SYSCTL_INT(_debug_usb, OID_AUTO, ufm, CTLFLAG_RW,
&ufmdebug, 0, "ufm debug level");
#else
OpenPOWER on IntegriCloud