aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2005-05-21 11:24:37 -0400
committerJames Bottomley <jejb@titanic.(none)>2005-07-11 13:38:33 -0400
commit7f602c53939fdb1bca12151a28f9b90cde046fb1 (patch)
tree9d2e0de06ad36113832491768df65e3f1e89d2fe /include
parenta5990120252539bccdaf70a66ac021966e80e3f7 (diff)
[SCSI] add TYPE_RBC to our type table
Here's a tiny update that means we print the correct ASCII type information Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include')
-rw-r--r--include/scsi/scsi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h
index 1fb233741513..b361172b576c 100644
--- a/include/scsi/scsi.h
+++ b/include/scsi/scsi.h
@@ -28,7 +28,7 @@ extern const unsigned char scsi_command_size[8];
28 * SCSI device types 28 * SCSI device types
29 */ 29 */
30 30
31#define MAX_SCSI_DEVICE_CODE 14 31#define MAX_SCSI_DEVICE_CODE 15
32extern const char *const scsi_device_types[MAX_SCSI_DEVICE_CODE]; 32extern const char *const scsi_device_types[MAX_SCSI_DEVICE_CODE];
33 33
34/* 34/*
@@ -211,8 +211,8 @@ static inline int scsi_status_is_good(int status)
211 * - treated as TYPE_DISK */ 211 * - treated as TYPE_DISK */
212#define TYPE_MEDIUM_CHANGER 0x08 212#define TYPE_MEDIUM_CHANGER 0x08
213#define TYPE_COMM 0x09 /* Communications device */ 213#define TYPE_COMM 0x09 /* Communications device */
214#define TYPE_ENCLOSURE 0x0d /* Enclosure Services Device */
215#define TYPE_RAID 0x0c 214#define TYPE_RAID 0x0c
215#define TYPE_ENCLOSURE 0x0d /* Enclosure Services Device */
216#define TYPE_RBC 0x0e 216#define TYPE_RBC 0x0e
217#define TYPE_NO_LUN 0x7f 217#define TYPE_NO_LUN 0x7f
218 218