diff options
-rw-r--r-- | sys/dev/usb/usb_port.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h index 26d9012..f1dd74a 100644 --- a/sys/dev/usb/usb_port.h +++ b/sys/dev/usb/usb_port.h @@ -111,6 +111,7 @@ __CONCAT(dname,_attach)(parent, self, aux) \ #define USB_DO_ATTACH(dev, bdev, parent, args, print, sub) \ ((dev)->softc = config_found_sm(parent, args, print, sub)) +#define logprintf printf @@ -210,6 +211,9 @@ __CONCAT(dname,_attach)(device_t self) #define SIMPLEQ_INIT STAILQ_INIT #define SIMPLEQ_ENTRY STAILQ_ENTRY +#include <sys/syslog.h> +#define logprintf(args...) log(LOG_DEBUG, args); + #endif /* __FreeBSD__ */ |