Skip to content

Commit 7a14c1c

Browse files
author
Christoph Hellwig
committed
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: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent c6e4f19 commit 7a14c1c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎include/scsi/scsi.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ static inline int scsi_status_is_good(int status)
332332
#define TYPE_ENCLOSURE 0x0d /* Enclosure Services Device */
333333
#define TYPE_RBC 0x0e
334334
#define TYPE_OSD 0x11
335+
#define TYPE_ZBC 0x14
335336
#define TYPE_NO_LUN 0x7f
336337

337338
/* SCSI protocols; these are taken from SPC-3 section 7.5 */

0 commit comments

Comments
 (0)