diff options
author | Josef Karthauser <joe@FreeBSD.org> | 2002-07-31 14:34:36 +0000 |
---|---|---|
committer | Josef Karthauser <joe@FreeBSD.org> | 2002-07-31 14:34:36 +0000 |
commit | 528d1a7fbc2d6f7ab5fc29c7c2dd6c03e76eaba6 (patch) | |
tree | fafe553431d8770eb184a810f65960276fbbcccb /sys/dev/usb/uhid.c | |
parent | 6ada40b0096875267625ec96a56a591ff1f041de (diff) | |
download | src-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/uhid.c')
-rw-r--r-- | sys/dev/usb/uhid.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <dev/usb/ugraphire_rdesc.h> -#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; |