This change is purely cosmetic but we should adjust device type 0x14 to
reflect the definition given in the SCSI specification standard (SPC-5).

Implying Direct-Access assumes that the device supports the traditional
Direct-Access command set when Host Managed Zoned Block Devices support
a subset of that command set with a few zone specific additions. Please
refer to the ZBC for details.

Signed-off-by: Petros Koutoupis <pet...@petroskoutoupis.com>

--- linux/drivers/scsi/scsi_common.c.orig       2016-05-12 12:23:04.450000000 
-0500
+++ linux/drivers/scsi/scsi_common.c    2016-05-12 12:29:08.382000000 -0500
@@ -14,27 +14,27 @@
  * encouraged once assigned by ANSI/INCITS T10
  */
 static const char *const scsi_device_types[] = {
-       "Direct-Access    ",
-       "Sequential-Access",
-       "Printer          ",
-       "Processor        ",
-       "WORM             ",
-       "CD-ROM           ",
-       "Scanner          ",
-       "Optical Device   ",
-       "Medium Changer   ",
-       "Communications   ",
-       "ASC IT8          ",
-       "ASC IT8          ",
-       "RAID             ",
-       "Enclosure        ",
-       "Direct-Access-RBC",
-       "Optical card     ",
-       "Bridge controller",
-       "Object storage   ",
-       "Automation/Drive ",
-       "Security Manager ",
-       "Direct-Access-ZBC",
+       "Direct-Access     ",
+       "Sequential-Access ",
+       "Printer           ",
+       "Processor         ",
+       "WORM              ",
+       "CD-ROM            ",
+       "Scanner           ",
+       "Optical Device    ",
+       "Medium Changer    ",
+       "Communications    ",
+       "ASC IT8           ",
+       "ASC IT8           ",
+       "RAID              ",
+       "Enclosure         ",
+       "Direct-Access-RBC ",
+       "Optical card      ",
+       "Bridge controller ",
+       "Object storage    ",
+       "Automation/Drive  ",
+       "Security Manager  ",
+       "Host Managed Zoned",
 };
 
 /**


--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to