From 67aa00a71bb06d52675f0801d00d23cb37e30e06 Mon Sep 17 00:00:00 2001 From: Nick Hibma Date: Sun, 11 Apr 1999 20:50:33 +0000 Subject: 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) --- sys/dev/usb/ohcivar.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'sys/dev/usb/ohcivar.h') diff --git a/sys/dev/usb/ohcivar.h b/sys/dev/usb/ohcivar.h index 37abf2f4c55e..90630734648a 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 -- cgit v1.3