diff options
author | n_hibma <n_hibma@FreeBSD.org> | 1999-04-11 20:50:33 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 1999-04-11 20:50:33 +0000 |
commit | 94f89925adaf485e8c44ea5051caca0d5144810a (patch) | |
tree | 6daf4c342ff3a4576dd2894fcdc7c087ff58208f /sys/dev/usb/ohcivar.h | |
parent | d844f4559093125d735a5de22713c447117cf696 (diff) | |
download | FreeBSD-src-94f89925adaf485e8c44ea5051caca0d5144810a.zip FreeBSD-src-94f89925adaf485e8c44ea5051caca0d5144810a.tar.gz |
1) Make debugging more selective.
2) create function usbd_errstr which turns a usbd_status into a sensible
error message
3) Change the printf in DPRINTF to logprintf which is a define for
log(KERN_DEBUG, x)
Diffstat (limited to 'sys/dev/usb/ohcivar.h')
-rw-r--r-- | sys/dev/usb/ohcivar.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/dev/usb/ohcivar.h b/sys/dev/usb/ohcivar.h index 37abf2f..9063073 100644 --- a/sys/dev/usb/ohcivar.h +++ b/sys/dev/usb/ohcivar.h @@ -104,11 +104,3 @@ int ohci_intr __P((void *)); #define MS_TO_TICKS(ms) ((ms) * hz / 1000) -#ifdef USB_DEBUG -#define DPRINTF(x) if (ohcidebug) printf x -#define DPRINTFN(n,x) if (ohcidebug>(n)) printf x -extern int ohcidebug; -#else -#define DPRINTF(x) -#define DPRINTFN(n,x) -#endif |