summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhub.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/uhub.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/uhub.c')
-rw-r--r--sys/dev/usb/uhub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/uhub.c b/sys/dev/usb/uhub.c
index 96abf9a..e05b4d3 100644
--- a/sys/dev/usb/uhub.c
+++ b/sys/dev/usb/uhub.c
@@ -65,7 +65,7 @@
#define UHUB_INTR_INTERVAL 255 /* ms */
-#ifdef UHUB_DEBUG
+#ifdef USB_DEBUG
#define DPRINTF(x) if (uhubdebug) logprintf x
#define DPRINTFN(n,x) if (uhubdebug>(n)) logprintf x
int uhubdebug = 0;
OpenPOWER on IntegriCloud