]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
scsi: add a symbolic name for the ZBC device type
authorChristoph Hellwig <hch@lst.de>
Fri, 18 Jul 2014 14:51:51 +0000 (16:51 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Jul 2014 21:16:40 +0000 (17:16 -0400)
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>
include/scsi/scsi.h

index 91e2e4215ba0cb91377601909c69d1be03e6336d..e6df23cae7bedabdbaf9b6b09156ab011f389cb4 100644 (file)
@@ -332,6 +332,7 @@ static inline int scsi_status_is_good(int status)
 #define TYPE_ENCLOSURE      0x0d    /* Enclosure Services Device */
 #define TYPE_RBC           0x0e
 #define TYPE_OSD            0x11
+#define TYPE_ZBC            0x14
 #define TYPE_NO_LUN         0x7f
 
 /* SCSI protocols; these are taken from SPC-3 section 7.5 */