summaryrefslogtreecommitdiffstats
path: root/sys
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
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')
-rw-r--r--sys/conf/files2
-rw-r--r--sys/dev/hptiop/hptiop.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 5559aea..2ff8204 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -697,7 +697,7 @@ dev/hifn/hifn7751.c optional hifn
dev/hme/if_hme.c optional hme
dev/hme/if_hme_pci.c optional hme pci
dev/hme/if_hme_sbus.c optional hme sbus
-dev/hptiop/hptiop.c optional hptiop cam
+dev/hptiop/hptiop.c optional hptiop scbus
dev/hwpmc/hwpmc_logging.c optional hwpmc
dev/hwpmc/hwpmc_mod.c optional hwpmc
dev/ichsmb/ichsmb.c optional ichsmb
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