From 528d1a7fbc2d6f7ab5fc29c7c2dd6c03e76eaba6 Mon Sep 17 00:00:00 2001 From: Josef Karthauser 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/uhid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/usb/uhid.c') diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c index 47ff17e86f85..bf18fdcf3775 100644 --- a/sys/dev/usb/uhid.c +++ b/sys/dev/usb/uhid.c @@ -83,7 +83,7 @@ /* Report descriptor for broken Wacom Graphire */ #include -#ifdef UHID_DEBUG +#ifdef USB_DEBUG #define DPRINTF(x) if (uhiddebug) logprintf x #define DPRINTFN(n,x) if (uhiddebug>(n)) logprintf x int uhiddebug = 0; @@ -356,7 +356,7 @@ uhid_intr(usbd_xfer_handle xfer, usbd_private_handle addr, usbd_status status) { struct uhid_softc *sc = addr; -#ifdef UHID_DEBUG +#ifdef USB_DEBUG if (uhiddebug > 5) { u_int32_t cc, i; -- cgit v1.2.3