Use REPORT LUNS command for SPC-2 devices with LUN 0 disconnected.
SPC-2 tells REPORT LUNS shall be supported by devices supporting LUNs other then LUN 0. If we see LUN 0 disconnected, guess there may be others, and so REPORT LUNS shall be supported. MFC after: 1 month
This commit is contained in:
parent
5055cfcb4d
commit
11cca94715
@ -1191,7 +1191,7 @@ out:
|
||||
xpt_schedule(periph, priority);
|
||||
goto out;
|
||||
} else if (path->device->lun_id == 0 &&
|
||||
SID_ANSI_REV(inq_buf) > SCSI_REV_SPC2 &&
|
||||
SID_ANSI_REV(inq_buf) >= SCSI_REV_SPC2 &&
|
||||
(SCSI_QUIRK(path->device)->quirks &
|
||||
CAM_QUIRK_NORPTLUNS) == 0) {
|
||||
PROBE_SET_ACTION(softc, PROBE_REPORT_LUNS);
|
||||
|
Loading…
x
Reference in New Issue
Block a user