Commit 19dfbb50 authored by Brian King's avatar Brian King Committed by James Bottomley

[PATCH] SCSI: Recognize device type 0x0C

Device type 0x0C is RAID, so show it as such
parent a33161f5
...@@ -104,7 +104,7 @@ const char *const scsi_device_types[MAX_SCSI_DEVICE_CODE] = { ...@@ -104,7 +104,7 @@ const char *const scsi_device_types[MAX_SCSI_DEVICE_CODE] = {
"Communications ", "Communications ",
"Unknown ", "Unknown ",
"Unknown ", "Unknown ",
"Unknown ", "RAID ",
"Enclosure ", "Enclosure ",
}; };
......
...@@ -200,6 +200,7 @@ static inline int scsi_status_is_good(int status) ...@@ -200,6 +200,7 @@ static inline int scsi_status_is_good(int status)
#define TYPE_MEDIUM_CHANGER 0x08 #define TYPE_MEDIUM_CHANGER 0x08
#define TYPE_COMM 0x09 /* Communications device */ #define TYPE_COMM 0x09 /* Communications device */
#define TYPE_ENCLOSURE 0x0d /* Enclosure Services Device */ #define TYPE_ENCLOSURE 0x0d /* Enclosure Services Device */
#define TYPE_RAID 0x0c
#define TYPE_NO_LUN 0x7f #define TYPE_NO_LUN 0x7f
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment