On Thu, 2006-03-30 at 16:20 +0200, Ingo Flaschberger wrote: > + if (bflags & BLIST_NOREPORTLUN) > + return 1; > + if ((starget->scsi_level < SCSI_2) && > + (starget->scsi_level != SCSI_UNKNOWN)) > + return 1; > + if (starget->scsi_level < SCSI_3 && > + ((!(bflags & BLIST_REPORTLUN2) && > + (starget->scsi_level != SCSI_UNKNOWN)) || Actually, this one's still not quite right. The default for SCSI_UNKNOWN needs to be not to do a report lun scan *unless* BLIST_REPORTLUN2 is set ... that way we won't disrupt the functioning of current SCSI_UNKNOWN devices (i.e. just drop the last SCSI_UNKNOWN check and add BLIST_REPORTLUNS2 to the flags of the compaq array type). James - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html