summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2009-01-25 16:51:33 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-03-12 12:58:05 -0500
commit82443a58d361123d418033e9e32ac29a842fce68 (patch)
tree33b940f139a6744838b7611796b1bb092ff38891 /include/scsi
parent71969fd9e2c523d22bf1742eb31f1562247710eb (diff)
downloadlinux-stable-82443a58d361123d418033e9e32ac29a842fce68.tar.gz
linux-stable-82443a58d361123d418033e9e32ac29a842fce68.tar.bz2
linux-stable-82443a58d361123d418033e9e32ac29a842fce68.zip
[SCSI] add OSD_TYPE
- Define the OSD_TYPE scsi device and let it show up in scans Signed-off-by: Boaz Harrosh <bharrosh@panasas.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/scsi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h
index 815d4047c4ce..80d7f60e2663 100644
--- a/include/scsi/scsi.h
+++ b/include/scsi/scsi.h
@@ -263,6 +263,7 @@ static inline int scsi_status_is_good(int status)
#define TYPE_RAID 0x0c
#define TYPE_ENCLOSURE 0x0d /* Enclosure Services Device */
#define TYPE_RBC 0x0e
+#define TYPE_OSD 0x11
#define TYPE_NO_LUN 0x7f
/* SCSI protocols; these are taken from SPC-3 section 7.5 */