aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/urio.c
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2002-07-31 14:34:36 +0000
committerJosef Karthauser <joe@FreeBSD.org>2002-07-31 14:34:36 +0000
commit528d1a7fbc2d6f7ab5fc29c7c2dd6c03e76eaba6 (patch)
treefafe553431d8770eb184a810f65960276fbbcccb /sys/dev/usb/urio.c
parent6ada40b0096875267625ec96a56a591ff1f041de (diff)
downloadsrc-528d1a7fbc2d6f7ab5fc29c7c2dd6c03e76eaba6.tar.gz
src-528d1a7fbc2d6f7ab5fc29c7c2dd6c03e76eaba6.zip
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.
Notes
Notes: svn path=/head/; revision=101060
Diffstat (limited to 'sys/dev/usb/urio.c')
-rw-r--r--sys/dev/usb/urio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/urio.c b/sys/dev/usb/urio.c
index 03793d1875d8..05e42f85aee2 100644
--- a/sys/dev/usb/urio.c
+++ b/sys/dev/usb/urio.c
@@ -76,10 +76,10 @@
#include <dev/usb/usbdevs.h>
#include <dev/usb/rio500_usb.h>
-#ifdef URIO_DEBUG
+#ifdef USB_DEBUG
#define DPRINTF(x) if (uriodebug) logprintf x
#define DPRINTFN(n,x) if (uriodebug>(n)) logprintf x
-int uriodebug = 100;
+int uriodebug = 0;
SYSCTL_INT(_debug_usb, OID_AUTO, urio, CTLFLAG_RW,
&uriodebug, 0, "urio debug level");
#else