summaryrefslogtreecommitdiff
path: root/sys/dev/sound/usb/uaudio.c
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2002-07-31 13:33:55 +0000
committerJosef Karthauser <joe@FreeBSD.org>2002-07-31 13:33:55 +0000
commit0e6b19668679f0f3f629c8354bbe242ae6240b51 (patch)
treedd95364f776cb0c0e54f022e48c5e8db7f52c692 /sys/dev/sound/usb/uaudio.c
parent7fc37b7c099fd7f11841080d93b4107ec3bcce84 (diff)
Notes
Diffstat (limited to 'sys/dev/sound/usb/uaudio.c')
-rw-r--r--sys/dev/sound/usb/uaudio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/sound/usb/uaudio.c b/sys/dev/sound/usb/uaudio.c
index dc1f68ef4b2b..c96355b638e4 100644
--- a/sys/dev/sound/usb/uaudio.c
+++ b/sys/dev/sound/usb/uaudio.c
@@ -66,6 +66,7 @@
#include <sys/conf.h>
#endif
#include <sys/poll.h>
+#include <sys/sysctl.h>
#if defined(__NetBSD__) || defined(__OpenBSD__)
#include <sys/audioio.h>
@@ -89,6 +90,8 @@
#define DPRINTF(x) if (uaudiodebug) logprintf x
#define DPRINTFN(n,x) if (uaudiodebug>(n)) logprintf x
int uaudiodebug = 0;
+SYSCTL_INT(_debug_usb, OID_AUTO, uaudio, CTLFLAG_RW,
+ &uaudiodebug, 0, "uaudio debug level");
#else
#define DPRINTF(x)
#define DPRINTFN(n,x)