Recognize device type 0x0C
PATCH 1/1 Recognize device type 0x0C
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.
Signature · 3 lines
Brian King eServer Storage I/O IBM Linux Technology Center
drivers/scsi/scsi.c +1 -1
@@ -104,7 +104,7 @@"Communications " ,"Unknown " ,"Unknown " , -"Unknown " , +"RAID " , "Enclosure ", };
include/scsi/scsi.h +1 -0
@@ -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/*