From 9f844c45b89aea60a8007132c6198fd7a9776c4e Mon Sep 17 00:00:00 2001 From: joe Date: Wed, 31 Jul 2002 14:34:36 +0000 Subject: 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. --- sys/dev/usb/udbp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/usb/udbp.c') 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 #include -#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 -- cgit v1.1