summaryrefslogtreecommitdiff
path: root/include/scsi
diff options
context:
space:
mode:
authorDmitry Bogdanov <d.bogdanov@yadro.com>2022-09-06 13:34:17 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2022-10-27 04:44:32 +0300
commit0016e820716ff863a76e960cb91bd72373ac2e74 (patch)
tree45f068c52edcd65045ff89f0879d8abf9fdbbca5 /include/scsi
parentb9b8782f8966a7f219ec2e2db3ffe5eeb23943ab (diff)
downloadlinux-0016e820716ff863a76e960cb91bd72373ac2e74.tar.xz
scsi: target: core: Add list of opcodes for RSOC
Fill the strucures for supported opcodes and usage bits that are reported in REPORT SUPPORTED OPERATION CODES command response. 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-3-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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/scsi/scsi_proto.h b/include/scsi/scsi_proto.h
index 651b5183451c..cb722225b3bc 100644
--- a/include/scsi/scsi_proto.h
+++ b/include/scsi/scsi_proto.h
@@ -349,4 +349,7 @@ enum scsi_support_opcode {
SCSI_SUPPORT_VENDOR = 5,
};
+#define SCSI_CONTROL_MASK 0
+#define SCSI_GROUP_NUMBER_MASK 0
+
#endif /* _SCSI_PROTO_H_ */