summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorMarc Balmer <mbalmer@cvs.openbsd.org>2007-06-10 08:02:17 +0000
committerMarc Balmer <mbalmer@cvs.openbsd.org>2007-06-10 08:02:17 +0000
commite306807c0defd347a543fa24bbd4d248729fe129 (patch)
tree1f7dfc245a07d5fbf792d3ddcb5e58b66775fa18 /sys/dev/usb
parentab6babe8866ff300c47c1591537b0d619c275ae4 (diff)
Do not turn on debugging in most/all drivers when USB_DEBUG is defined.
Debugging code must be turned on selectively, e.g. by defining UDCF_DEBUG. idea from and ok jsg.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/usb_port.h34
1 files changed, 1 insertions, 33 deletions
diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h
index 9ec41ea03d9..9e450fc3c14 100644
--- a/sys/dev/usb/usb_port.h
+++ b/sys/dev/usb/usb_port.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: usb_port.h,v 1.73 2007/06/09 12:22:53 mbalmer Exp $ */
+/* $OpenBSD: usb_port.h,v 1.74 2007/06/10 08:02:16 mbalmer Exp $ */
/* $NetBSD: usb_port.h,v 1.62 2003/02/15 18:33:30 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usb_port.h,v 1.21 1999/11/17 22:33:47 n_hibma Exp $ */
@@ -54,38 +54,6 @@
#undef USB_USE_SOFTINTR
#endif
-#ifdef USB_DEBUG
-#define UKBD_DEBUG 1
-#define UHIDEV_DEBUG 1
-#define UHID_DEBUG 1
-#define OHCI_DEBUG 1
-#define UGEN_DEBUG 1
-#define UHCI_DEBUG 1
-#define UHUB_DEBUG 1
-#define ULPT_DEBUG 1
-#define UCOM_DEBUG 1
-#define UPLCOM_DEBUG 1
-#define UMCT_DEBUG 1
-#define UMODEM_DEBUG 1
-#define UAUDIO_DEBUG 1
-#define AUE_DEBUG 1
-#define CUE_DEBUG 1
-#define KUE_DEBUG 1
-#define UDAV_DEBUG 1
-#define UMASS_DEBUG 1
-#define UVISOR_DEBUG 1
-#define UPL_DEBUG 1
-#define UZCOM_DEBUG 1
-#define URIO_DEBUG 1
-#define UFTDI_DEBUG 1
-#define USCANNER_DEBUG 1
-#define USSCANNER_DEBUG 1
-#define UISDATA_DEBUG 1
-#define UDSBR_DEBUG 1
-#define UIPAQ_DEBUG 1
-#define UDCF_DEBUG 1
-#endif
-
#define UMASS_ATAPISTR "atapiscsi"
/* periph_quirks */