diff options
author | gibbs <gibbs@FreeBSD.org> | 1998-10-15 23:17:35 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1998-10-15 23:17:35 +0000 |
commit | 391b30cdfa097f9907fbcdf28a3cc6b292f595ec (patch) | |
tree | 2ea3b707d9502b178003440bd130abb4aafc2e82 /sys/cam/cam_ccb.h | |
parent | 764f911a88703af93c693371840bd3924f1969ac (diff) | |
download | FreeBSD-src-391b30cdfa097f9907fbcdf28a3cc6b292f595ec.zip FreeBSD-src-391b30cdfa097f9907fbcdf28a3cc6b292f595ec.tar.gz |
Add a mechanism to send a non-tagged transaction even if a device is
currently operating in a tagged mode. The SIM driver should determine
if a device is in tag mode by looking at the CAM_TAG_ACTION_VALID flag
in the ccb header. If the flag is set, the tag_action field is either
a SCSI II tag message (simple, ordered, head) or CAM_TAG_ACTION_NONE
to specify that no tagging should be performed.
Diffstat (limited to 'sys/cam/cam_ccb.h')
-rw-r--r-- | sys/cam/cam_ccb.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/cam/cam_ccb.h b/sys/cam/cam_ccb.h index 1e80e37..f2732b4 100644 --- a/sys/cam/cam_ccb.h +++ b/sys/cam/cam_ccb.h @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: cam_ccb.h,v 1.1 1998/09/15 06:33:23 gibbs Exp $ */ #ifndef _CAM_CAM_CCB_H @@ -474,6 +474,12 @@ struct ccb_scsiio { u_int8_t *msg_ptr; /* Pointer to the message buffer */ u_int16_t msg_len; /* Number of bytes for the Message */ u_int8_t tag_action; /* What to do for tag queueing */ + /* + * The tag action should be either the define below (to send a + * non-tagged transaction) or one of the defined scsi tag messages + * from scsi_message.h. + */ +#define CAM_TAG_ACTION_NONE 0x00 u_int8_t tag_id; /* tag id from initator (target mode) */ u_int8_t init_id; /* initiator id of who selected */ }; |