PERFORCE change 106698 for review

Matt Jacob mjacob at FreeBSD.org
Mon Sep 25 20:28:18 PDT 2006


http://perforce.freebsd.org/chv.cgi?CH=106698

Change 106698 by mjacob at 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


More information about the p4-projects mailing list