scsi_common: Modify SMR device type to reflect SCSI specification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <petros@xxxxxxxxxxxxxxxxxxx>

--- 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux