aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/uvisor.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/uvisor.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/uvisor.c')
-rw-r--r--sys/dev/usb/uvisor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uvisor.c b/sys/dev/usb/uvisor.c
index ba4c995fbb17..6cc5b9e3b123 100644
--- a/sys/dev/usb/uvisor.c
+++ b/sys/dev/usb/uvisor.c
@@ -75,7 +75,7 @@
#include <dev/usb/ucomvar.h>
-#ifdef UVISOR_DEBUG
+#ifdef USB_DEBUG
#define DPRINTF(x) if (uvisordebug) printf x
#define DPRINTFN(n,x) if (uvisordebug>(n)) printf x
int uvisordebug = 0;
@@ -396,7 +396,7 @@ uvisor_init(struct uvisor_softc *sc)
if (err)
return (err);
-#ifdef UVISOR_DEBUG
+#ifdef USB_DEBUG
{
int i, np;
char *string;