diff options
author | Dmitry Bogdanov <d.bogdanov@yadro.com> | 2022-09-06 12:34:16 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-10-27 03:44:32 +0200 |
commit | b9b8782f8966a7f219ec2e2db3ffe5eeb23943ab (patch) | |
tree | 433bc0fb4b01b2ac1ee5f951f4187f7ab5d96027 /include/scsi | |
parent | scsi: ufs: Fix a deadlock between PM and the SCSI error handler (diff) | |
download | linux-b9b8782f8966a7f219ec2e2db3ffe5eeb23943ab.tar.xz linux-b9b8782f8966a7f219ec2e2db3ffe5eeb23943ab.zip |
scsi: target: core: Add support for RSOC command
Add support for REPORT SUPPORTED OPERATION CODES command according to SPC4.
Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com>
Signed-off-by: Dmitry Bogdanov <d.bogdanov@yadro.com>
Link: https://lore.kernel.org/r/20220906103421.22348-2-d.bogdanov@yadro.com
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/scsi_proto.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/scsi/scsi_proto.h b/include/scsi/scsi_proto.h index c03e35fc382c..651b5183451c 100644 --- a/include/scsi/scsi_proto.h +++ b/include/scsi/scsi_proto.h @@ -342,4 +342,11 @@ enum scsi_version_descriptor { SCSI_VERSION_DESCRIPTOR_SRP = 0x0940 }; +enum scsi_support_opcode { + SCSI_SUPPORT_NO_INFO = 0, + SCSI_SUPPORT_NOT_SUPPORTED = 1, + SCSI_SUPPORT_FULL = 3, + SCSI_SUPPORT_VENDOR = 5, +}; + #endif /* _SCSI_PROTO_H_ */ |