diff options
| author | Christoph Hellwig <hch@lst.de> | 2014-07-18 10:51:51 -0400 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2014-07-25 17:16:40 -0400 |
| commit | 7a14c1c3319608154da8712e4174d56ffb2f7b8d (patch) | |
| tree | 0d7f14c8c7323d3abf9ede6428dd97d4731fc221 /include | |
| parent | c6e4f191cb0a83dc548d90c0da5452b12dbb5e8a (diff) | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/scsi/scsi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h index 91e2e4215ba0..e6df23cae7be 100644 --- a/include/scsi/scsi.h +++ b/include/scsi/scsi.h | |||
| @@ -332,6 +332,7 @@ static inline int scsi_status_is_good(int status) | |||
| 332 | #define TYPE_ENCLOSURE 0x0d /* Enclosure Services Device */ | 332 | #define TYPE_ENCLOSURE 0x0d /* Enclosure Services Device */ |
| 333 | #define TYPE_RBC 0x0e | 333 | #define TYPE_RBC 0x0e |
| 334 | #define TYPE_OSD 0x11 | 334 | #define TYPE_OSD 0x11 |
| 335 | #define TYPE_ZBC 0x14 | ||
| 335 | #define TYPE_NO_LUN 0x7f | 336 | #define TYPE_NO_LUN 0x7f |
| 336 | 337 | ||
| 337 | /* SCSI protocols; these are taken from SPC-3 section 7.5 */ | 338 | /* SCSI protocols; these are taken from SPC-3 section 7.5 */ |
