[SCSI] libfc: Add target reset flag to FCP header file
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Tue, 24 Nov 2009 15:53:57 +0000 (16:53 +0100)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:02:00 +0000 (12:02 -0600)
While the target reset task management function has been deprecated in
newer specs, it is still in use by SCSI FC drivers and there is no
real replacement. Add the target reset flag to the FCP header file to
allow usage of this definition in SCSI FC drivers.

Reviewed-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
include/scsi/fc/fc_fcp.h

index 29ecb0b..747e2c7 100644 (file)
@@ -83,6 +83,8 @@ struct fcp_cmnd32 {
  * fc_tm_flags - task management flags field.
  */
 #define        FCP_TMF_CLR_ACA         0x40    /* clear ACA condition */
+#define        FCP_TMF_TGT_RESET       0x20    /* target reset task management,
+                                          deprecated as of FCP-3 */
 #define        FCP_TMF_LUN_RESET       0x10    /* logical unit reset task management */
 #define        FCP_TMF_CLR_TASK_SET    0x04    /* clear task set */
 #define        FCP_TMF_ABT_TASK_SET    0x02    /* abort task set */