Hello James,
On Wed, 2006-03-29 at 19:53 +0200, Ingo Flaschberger wrote:
Really no to this we're trying to get away from changing actual reported
device information. I assume the device reports SCSI-3
The device reports "zero" and thats why I need to force SCSI2!
Its better to force SCSI2 in one position than to deal with "SCSI_UNKNOWN"
in severall position?
Why? We're actually trying to make SCSI_UNKNOWN work for some sbp2 and
USB storage as well. What specific problems does it cause?
Ok...
Then I need to force something in this:
scsi_report_lun_scan:
if ((bflags & BLIST_NOREPORTLUN) ||
starget->scsi_level < SCSI_2 ||
(starget->scsi_level < SCSI_3 &&
(!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8)) )
return 1;
Version 1:
if ((bflags & BLIST_NOREPORTLUN) ||
(starget->scsi_level < SCSI_3 &&
(!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8)) )
return 1;
Version 2:
if ((bflags & BLIST_NOREPORTLUN) ||
(starget->scsi_level < SCSI_2 && !(bflags &
BLIST_REPORTLUN3))||
(starget->scsi_level < SCSI_3 &&
(!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8)) )
return 1;
Which one?
Kind regards,
Ingo
-
: 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