Date: Tue, 26 Sep 2006 03:28:17 GMT From: Matt Jacob <mjacob@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 106698 for review Message-ID: <200609260328.k8Q3SHb4059847@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=106698 Change 106698 by mjacob@newisp on 2006/09/26 03:27:33 Add data direction bit definitions for FCP CMND IU. Affected files ... .. //depot/projects/newisp/dev/isp/isp_stds.h#3 edit Differences ... ==== //depot/projects/newisp/dev/isp/isp_stds.h#3 (text+ko) ==== @@ -61,7 +61,8 @@ * * Notes: * When additional cdb length is defined in fcp_cmnd_alen_datadir, - * bits 2..7, the actual cdb length is 16 + ((fcp_cmnd_alen_datadir>>2)*4), * with the datalength following in MSB format just after. + * bits 2..7, the actual cdb length is 16 + ((fcp_cmnd_alen_datadir>>2)*4), + * with the datalength following in MSB format just after. */ typedef struct { uint8_t fcp_cmnd_lun[8]; @@ -88,6 +89,9 @@ #define FCP_CMND_TASK_ATTR_ACA 0x04 #define FCP_CMND_TASK_ATTR_UNTAGGED 0x05 +#define FCP_CMND_DATA_WRITE 0x01 +#define FCP_CMND_DATA_READ 0x02 + #define FCP_CMND_TMF_ABORT_CLEAR_ACA 0x40 #define FCP_CMND_TMF_ABORT_TGT_RESET 0x20 #define FCP_CMND_TMF_ABORT_LUN_RESET 0x10
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609260328.k8Q3SHb4059847>