summaryrefslogtreecommitdiffstats
path: root/sys/dev/hptiop
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2008-10-04 10:39:31 +0000
committerantoine <antoine@FreeBSD.org>2008-10-04 10:39:31 +0000
commit7fc1ad0ddb0dfa2a6ef7525e1721b980a02fc5ab (patch)
tree1c6536e637808a1b2ce91c002a3e85736757ee57 /sys/dev/hptiop
parent73dd819b378747ed56c8a14f5a1ab1e512468792 (diff)
downloadFreeBSD-src-7fc1ad0ddb0dfa2a6ef7525e1721b980a02fc5ab.zip
FreeBSD-src-7fc1ad0ddb0dfa2a6ef7525e1721b980a02fc5ab.tar.gz
- Spell cam correctly (scbus), this makes it possible to compile hptiop
in GENERIC and LINT. [1] - Rename hpt_dbg_level to hpt_iop_dbg_level to avoid multiple definition of hpt_dbg_level (hptmv also has hpt_dbg_level). PR: 127551 [1] Reviewed by: scottl@ MFC after: 1 month
Diffstat (limited to 'sys/dev/hptiop')
-rw-r--r--sys/dev/hptiop/hptiop.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/hptiop/hptiop.h b/sys/dev/hptiop/hptiop.h
index 42bc330..0f74592 100644
--- a/sys/dev/hptiop/hptiop.h
+++ b/sys/dev/hptiop/hptiop.h
@@ -32,8 +32,8 @@ __FBSDID("$FreeBSD$");
#define DBG 0
#ifdef DBG
-int hpt_dbg_level = 0;
-#define KdPrint(x) do { if (hpt_dbg_level) printf x; } while (0)
+int hpt_iop_dbg_level = 0;
+#define KdPrint(x) do { if (hpt_iop_dbg_level) printf x; } while (0)
#define HPT_ASSERT(x) assert(x)
#else
#define KdPrint(x)
OpenPOWER on IntegriCloud