summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hibma <n_hibma@FreeBSD.org>1999-04-07 17:07:07 +0000
committerNick Hibma <n_hibma@FreeBSD.org>1999-04-07 17:07:07 +0000
commit7ae8132eddadd437761553e5fa8bbbf0557147b6 (patch)
tree1c73bdaafdb445a681d70ba06e7bdc23c64992c9
parentfcae3aa61f4ad12abec2048d769d6211e3fa91c2 (diff)
Notes
-rw-r--r--sys/dev/usb/usb_port.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h
index 26d90128ef73..f1dd74ae80e9 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__ */