summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/uhci.c')
-rw-r--r--sys/dev/usb/uhci.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c
index 34b24dd..1115c69 100644
--- a/sys/dev/usb/uhci.c
+++ b/sys/dev/usb/uhci.c
@@ -66,6 +66,7 @@
#endif
#include <sys/proc.h>
#include <sys/queue.h>
+#include <sys/sysctl.h>
#include <machine/bus.h>
#include <machine/endian.h>
@@ -102,6 +103,8 @@ uhci_softc_t *thesc;
#define DPRINTFN(n,x) if (uhcidebug>(n)) printf x
int uhcidebug = 0;
int uhcinoloop = 0;
+SYSCTL_INT(_debug_usb, OID_AUTO, uhci, CTLFLAG_RW,
+ &uhcidebug, 0, "uhci debug level");
#ifndef __NetBSD__
#define bitmask_snprintf(q,f,b,l) snprintf((b), (l), "%b", (q), (f))
#endif
OpenPOWER on IntegriCloud