Skip to contentSkip to conversation

drivers/scsi/scsi_devinfo.c

PATCH New Jeremy Higdon 1 participant 1 message Jun 18, 2004 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/scsi/scsi_devinfo.c

The BLIST_REPORTLUN2 blacklist item has exactly the behavior that the MYLEX DACARMRB (and SGI TP9100, which is really a 2Gb upgrade to the DACARMRB) need.

These devices use a PQ of 1 instead of 3 for unconfigured luns, which means that every RAID has 32 luns, many or most of which are just phantoms.

However, it does support Report Luns, and it returns the correct data.

jeremy

===== drivers/scsi/scsi_devinfo.c 1.14 vs edited =====

drivers/scsi/scsi_devinfo.c +2 -2
@@ -160,7 +160,7 @@
 	{"Medion", "Flash XL  MMC/SD", "2.6D", BLIST_FORCELUN},
 	{"MegaRAID", "LD", NULL, BLIST_FORCELUN},
 	{"MICROP", "4110", NULL, BLIST_NOTQ},
-	{"MYLEX", "DACARMRB", "*", BLIST_SPARSELUN | BLIST_LARGELUN},
+	{"MYLEX", "DACARMRB", "*", BLIST_REPORTLUN2},
 	{"nCipher", "Fastness Crypto", NULL, BLIST_FORCELUN},
 	{"NAKAMICH", "MJ-4.8S", NULL, BLIST_FORCELUN | BLIST_SINGLELUN},
 	{"NAKAMICH", "MJ-5.16S", NULL, BLIST_FORCELUN | BLIST_SINGLELUN},
@@ -173,7 +173,7 @@
 	{"REGAL", "CDC-4X", NULL, BLIST_MAX5LUN | BLIST_SINGLELUN},
 	{"SGI", "RAID3", "*", BLIST_SPARSELUN},
 	{"SGI", "RAID5", "*", BLIST_SPARSELUN},
-	{"SGI", "TP9100", "*", BLIST_SPARSELUN | BLIST_LARGELUN},
+	{"SGI", "TP9100", "*", BLIST_REPORTLUN2},
 	{"SMSC", "USB 2 HS-CF", NULL, BLIST_SPARSELUN},
 	{"SONY", "CD-ROM CDU-8001", NULL, BLIST_BORKEN},
 	{"SONY", "TSL", NULL, BLIST_FORCELUN},		/* DDS3 & DDS4 autoloaders */