* [PATCH] Recognize device type 0x0C
@ 2004-01-22 23:35 Brian King
0 siblings, 0 replies; only message in thread
From: Brian King @ 2004-01-22 23:35 UTC (permalink / raw)
To: linux-scsi
[-- Attachment #1: Type: text/plain, Size: 272 bytes --]
Attached is a simple patch to recognize device type 0x0C, since I will
be creating devices of this type in the ipr driver, I figured it might
be good if they showed up as RAID devices rather than Unknown.
--
Brian King
eServer Storage I/O
IBM Linux Technology Center
[-- Attachment #2: patch-2.6.1-array_controller --]
[-- Type: text/plain, Size: 840 bytes --]
diff -Naur linux-2.6.1/drivers/scsi/scsi.c linux-2.6.1-sacl/drivers/scsi/scsi.c
--- linux-2.6.1/drivers/scsi/scsi.c Fri Jan 9 00:59:34 2004
+++ linux-2.6.1-sacl/drivers/scsi/scsi.c Thu Jan 22 14:17:50 2004
@@ -104,7 +104,7 @@
"Communications ",
"Unknown ",
"Unknown ",
- "Unknown ",
+ "RAID ",
"Enclosure ",
};
diff -Naur linux-2.6.1/include/scsi/scsi.h linux-2.6.1-sacl/include/scsi/scsi.h
--- linux-2.6.1/include/scsi/scsi.h Fri Jan 9 01:00:12 2004
+++ linux-2.6.1-sacl/include/scsi/scsi.h Thu Jan 22 14:19:03 2004
@@ -193,6 +193,7 @@
#define TYPE_MEDIUM_CHANGER 0x08
#define TYPE_COMM 0x09 /* Communications device */
#define TYPE_ENCLOSURE 0x0d /* Enclosure Services Device */
+#define TYPE_RAID 0x0c
#define TYPE_NO_LUN 0x7f
/*
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-01-22 23:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-22 23:35 [PATCH] Recognize device type 0x0C Brian King
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.