summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2004-02-08 19:16:01 +0000
committermjacob <mjacob@FreeBSD.org>2004-02-08 19:16:01 +0000
commit140b351eeb87595231bc9f949975576116992abf (patch)
treed0a7255fb774cf82dc8e09cd8da58c262d667b97 /sys/dev/isp
parent4975c09f545ec8737801eff13736328e4cbd2704 (diff)
downloadFreeBSD-src-140b351eeb87595231bc9f949975576116992abf.zip
FreeBSD-src-140b351eeb87595231bc9f949975576116992abf.tar.gz
Remove condition variables and status associated with target mode
enabling. Instead, go to an interrupt/polled model. MFC after: 6 days
Diffstat (limited to 'sys/dev/isp')
-rw-r--r--sys/dev/isp/isp_freebsd.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/isp/isp_freebsd.h b/sys/dev/isp/isp_freebsd.h
index 14ca8b8..23187eb 100644
--- a/sys/dev/isp/isp_freebsd.h
+++ b/sys/dev/isp/isp_freebsd.h
@@ -148,15 +148,11 @@ struct isposinfo {
#define isp_cdmat isp_osinfo.cdmat
#define isp_cdmap isp_osinfo.cdmap
#ifdef ISP_TARGET_MODE
-#define TM_WANTED 0x80
-#define TM_BUSY 0x40
#define TM_WILDCARD_ENABLED 0x02
#define TM_TMODE_ENABLED 0x01
- struct cv tgtcv0[2]; /* two busses */
- struct cv tgtcv1[2]; /* two busses */
u_int8_t tmflags[2]; /* two busses */
- u_int8_t rstatus[2]; /* two bussed */
- u_int16_t rollinfo;
+#define NLEACT 4
+ union ccb * leact[NLEACT];
tstate_t tsdflt[2]; /* two busses */
tstate_t *lun_hash[LUN_HASH_SIZE];
atio_private_data_t atpdp[ATPDPSIZE];
OpenPOWER on IntegriCloud