All of lore.kernel.org
 help / color / mirror / Atom feed
* scsi_common: Modify SMR device type to reflect SCSI specification
@ 2016-05-22  1:58 Petros Koutoupis
  2016-05-22 17:20 ` James Bottomley
  0 siblings, 1 reply; 3+ messages in thread
From: Petros Koutoupis @ 2016-05-22  1:58 UTC (permalink / raw)
  To: jejb, martin.petersen, linux-scsi; +Cc: petros@petroskoutoupis.com

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@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",
 };
 
 /**



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-22 18:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-22  1:58 scsi_common: Modify SMR device type to reflect SCSI specification Petros Koutoupis
2016-05-22 17:20 ` James Bottomley
2016-05-22 18:11   ` Petros Koutoupis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.