diff options
author | mjacob <mjacob@FreeBSD.org> | 2000-08-01 06:23:24 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2000-08-01 06:23:24 +0000 |
commit | 6bac7972dd8904e2bc6372a69f0d2cc127aea31d (patch) | |
tree | dddb83bd16299cb2db011062055a6ba7d013e391 /sys/dev/isp/isp_target.h | |
parent | ae6e6fedaba31c9c028bc16e78990b6a2271743c (diff) | |
download | FreeBSD-src-6bac7972dd8904e2bc6372a69f0d2cc127aea31d.zip FreeBSD-src-6bac7972dd8904e2bc6372a69f0d2cc127aea31d.tar.gz |
Fix typo. Remove isp_tdebug (we'll use ISP_LOGTDEBUG2 in isp->isp_dblev
as a selector now). Change DFLT_CMD_CNT to a fixed amount for now.
Diffstat (limited to 'sys/dev/isp/isp_target.h')
-rw-r--r-- | sys/dev/isp/isp_target.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/isp/isp_target.h b/sys/dev/isp/isp_target.h index 862a717..1905096 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)); |