diff options
author | 2007-06-10 08:02:16 +0000 | |
---|---|---|
committer | 2007-06-10 08:02:16 +0000 | |
commit | 3b739faef38447d4f98c7e05229fecd036e894d8 (patch) | |
tree | e790f6f8ac74269bdbb5721403f5a6b3bb9392a1 /sys | |
parent | No need for two *LABELSECTOR and *LABELOFFSET defines that mean the (diff) | |
download | wireguard-openbsd-3b739faef38447d4f98c7e05229fecd036e894d8.tar.xz wireguard-openbsd-3b739faef38447d4f98c7e05229fecd036e894d8.zip |
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')
-rw-r--r-- | sys/dev/usb/usb_port.h | 34 |
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 */ |