diff options
| author | Josef Karthauser <joe@FreeBSD.org> | 2002-07-31 13:58:15 +0000 |
|---|---|---|
| committer | Josef Karthauser <joe@FreeBSD.org> | 2002-07-31 13:58:15 +0000 |
| commit | 140d7e756fb3001998a207e86fd6ef5c80f5c8b4 (patch) | |
| tree | fff919e3f919f33c960da984f9f18b312aeed207 /sys/dev/usb/uhub.c | |
| parent | ab4db9b74fa3669813cf2b931af9e552350b40b6 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/uhub.c')
| -rw-r--r-- | sys/dev/usb/uhub.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/uhub.c b/sys/dev/usb/uhub.c index 8be236b0a60f..7b15160e2782 100644 --- a/sys/dev/usb/uhub.c +++ b/sys/dev/usb/uhub.c @@ -67,7 +67,9 @@ #ifdef UHUB_DEBUG #define DPRINTF(x) if (uhubdebug) logprintf x #define DPRINTFN(n,x) if (uhubdebug>(n)) logprintf x -int uhubdebug; +int uhubdebug = 0; +SYSCTL_INT(_debug_usb, OID_AUTO, uhub, CTLFLAG_RW, + &uhubdebug, 0, "uhub debug level"); #else #define DPRINTF(x) #define DPRINTFN(n,x) |
