From: Brian King <brking@us.ibm.com>
To: linux-scsi@vger.kernel.org
Subject: [PATCH] Recognize device type 0x0C
Date: Thu, 22 Jan 2004 17:35:20 -0600 [thread overview]
Message-ID: <40105E38.4020501@us.ibm.com> (raw)
[-- 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
/*
reply other threads:[~2004-01-22 23:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40105E38.4020501@us.ibm.com \
--to=brking@us.ibm.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.