CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2019/08/27 08:41:45

Modified files:
        sys/scsi       : scsi_all.h scsiconf.c 

Log message:
Refactor probing logic to mirror detach logic. i.e. put smarts in
scsi_probe() and make scsi_probe_bus(), scsi_probe_target() and
scsi_probe_lun() simple wrappers around scsi_probe().

Abstract the determination of which luns to probe into a separate
function. Thus eliminating the need to remove/add lun 0 link while
probing devices modern enough to support REPORTLUNS. Which means the
lun 0 link is no longer in different positions in the scsi_link list
for such devices compared to older devices which are blindly probed
until an invalid LUN is encountered.

Reply via email to