summaryrefslogtreecommitdiff
path: root/sys/dev/isp/isp_target.h
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2000-08-01 06:23:24 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2000-08-01 06:23:24 +0000
commit69fbe07a2ef7445798ab0ebda1adfe404f5fbfb3 (patch)
treeadab86c1a141a774e10bb10626ea6a7dd41d6ded /sys/dev/isp/isp_target.h
parenta6db0ba6d3e0f497734712472f0719d99b30b8f6 (diff)
Notes
Diffstat (limited to 'sys/dev/isp/isp_target.h')
-rw-r--r--sys/dev/isp/isp_target.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/isp/isp_target.h b/sys/dev/isp/isp_target.h
index 862a717ef90f..19050969542a 100644
--- a/sys/dev/isp/isp_target.h
+++ b/sys/dev/isp/isp_target.h
@@ -508,7 +508,7 @@ typedef struct {
#define ISP_SWIZ_CTIO(isp, dest, vsrc) \
{ \
- ct_entry_t *source = (ct_entry-t *) vsrc; \
+ ct_entry_t *source = (ct_entry_t *) vsrc; \
ct_entry_t *local, *vdst; \
if ((void *)dest == (void *)vsrc) { \
MEMCPY(vsrc, &local, sizeof (ct_entry_t)); \
@@ -611,11 +611,8 @@ typedef struct {
* Debug macros
*/
-extern int isp_tdebug;
#define ISP_TDQE(isp, msg, idx, arg) \
- if (isp_tdebug > 3) isp_print_qentry(isp, msg, idx, arg)
-
-#define ITDEBUG(level, msg) if (isp_tdebug >= level) PRINTF msg
+ if (isp->isp_dblev & ISP_LOGTDEBUG2) isp_print_qentry(isp, msg, idx, arg)
/*
* The functions below are target mode functions that
@@ -630,7 +627,7 @@ int isp_target_notify __P((struct ispsoftc *, void *, u_int16_t *));
/*
* Enable/Disable/Modify a logical unit.
*/
-#define DFLT_CMD_CNT (RESULT_QUEUE_LEN >> 1)
+#define DFLT_CMD_CNT 32 /* XX */
#define DFLT_INOTIFY (4)
int isp_lun_cmd __P((struct ispsoftc *, int, int, int, int, u_int32_t));