diff options
author | joe <joe@FreeBSD.org> | 2002-07-31 14:34:36 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2002-07-31 14:34:36 +0000 |
commit | 9f844c45b89aea60a8007132c6198fd7a9776c4e (patch) | |
tree | fafe553431d8770eb184a810f65960276fbbcccb /sys/dev/usb/ugen.c | |
parent | 7320c84bded7927b7c95a1ee65b5ec56efa7008d (diff) | |
download | FreeBSD-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/ugen.c')
-rw-r--r-- | sys/dev/usb/ugen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c index 354ce91..08221af 100644 --- a/sys/dev/usb/ugen.c +++ b/sys/dev/usb/ugen.c @@ -69,7 +69,7 @@ #include <dev/usb/usbdi.h> #include <dev/usb/usbdi_util.h> -#ifdef UGEN_DEBUG +#ifdef USB_DEBUG #define DPRINTF(x) if (ugendebug) logprintf x #define DPRINTFN(n,x) if (ugendebug>(n)) logprintf x int ugendebug = 0; @@ -1130,7 +1130,7 @@ ugen_do_ioctl(struct ugen_softc *sc, int endpt, u_long cmd, return (EINVAL); switch (cmd) { -#ifdef UGEN_DEBUG +#ifdef USB_DEBUG case USB_SETDEBUG: ugendebug = *(int *)addr; break; |