aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/bhnd/bhnd.h
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2016-05-16 23:40:32 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2016-05-16 23:40:32 +0000
commitfb403678c2d93baa95731c739128a29afb757779 (patch)
treed32792372e5c129d7b6238443ea1ca2114131d19 /sys/dev/bhnd/bhnd.h
parent9d8ae244a39ce1f32774ddfe9cb61dd58d84a814 (diff)
downloadsrc-fb403678c2d93baa95731c739128a29afb757779.tar.gz
src-fb403678c2d93baa95731c739128a29afb757779.zip
[bhnd] Add logging macros to BHND.
There are 5 logging levels: * ERROR * WARN * INFO * DEBUG * TRACE There are 2 logging context: * with * without device DEBUG and TRACE records are printed only if bootverbose. Logging records are printed with source code line information if acceptable logging level is DEBUG or TRACE. Submitted by: Michael Zhilin <mizhka@gmail.com> Differential Revision: https://reviews.freebsd.org/D6247
Notes
Notes: svn path=/head/; revision=299990
Diffstat (limited to 'sys/dev/bhnd/bhnd.h')
-rw-r--r--sys/dev/bhnd/bhnd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/bhnd/bhnd.h b/sys/dev/bhnd/bhnd.h
index 6abdf2f156c4..9011d89e9fab 100644
--- a/sys/dev/bhnd/bhnd.h
+++ b/sys/dev/bhnd/bhnd.h
@@ -39,6 +39,7 @@
#include "bhnd_ids.h"
#include "bhnd_types.h"
+#include "bhnd_debug.h"
#include "bhnd_bus_if.h"
extern devclass_t bhnd_devclass;