- 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
This commit is contained in:
Antoine Brodin 2008-10-04 10:39:31 +00:00
parent 75111b3638
commit 61d9c8fa17
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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)