Skip to content

Commit

Permalink
scsi: add a symbolic name for the ZBC device type
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig committed Jul 25, 2014
1 parent c6e4f19 commit 7a14c1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/scsi/scsi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 7a14c1c

Please sign in to comment.