From c98d7aa47256ddf3bf1af8064de4de5ca22e7aed Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Sun, 8 Feb 2004 19:16:01 +0000 Subject: [PATCH] Remove condition variables and status associated with target mode enabling. Instead, go to an interrupt/polled model. MFC after: 6 days --- sys/dev/isp/isp_freebsd.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sys/dev/isp/isp_freebsd.h b/sys/dev/isp/isp_freebsd.h index 14ca8b816ba..23187eb2314 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];