Commit 7a14c1c3 authored by Christoph Hellwig's avatar Christoph Hellwig

scsi: add a symbolic name for the ZBC device type

Make sure we have a symbolic name for the ZBC type available,
so that e.g. patch for a SATA to translate ZAC commands can
make use of it.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarHannes Reinecke <hare@suse.de>
Reviewed-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent c6e4f191
...@@ -332,6 +332,7 @@ static inline int scsi_status_is_good(int status) ...@@ -332,6 +332,7 @@ static inline int scsi_status_is_good(int status)
#define TYPE_ENCLOSURE 0x0d /* Enclosure Services Device */ #define TYPE_ENCLOSURE 0x0d /* Enclosure Services Device */
#define TYPE_RBC 0x0e #define TYPE_RBC 0x0e
#define TYPE_OSD 0x11 #define TYPE_OSD 0x11
#define TYPE_ZBC 0x14
#define TYPE_NO_LUN 0x7f #define TYPE_NO_LUN 0x7f
/* SCSI protocols; these are taken from SPC-3 section 7.5 */ /* SCSI protocols; these are taken from SPC-3 section 7.5 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment