scsi_probe_and_add_lun — probe a LUN, if a LUN is found add it
int scsi_probe_and_add_lun ( | struct scsi_target * starget, |
| u64 lun, | |
| int * bflagsp, | |
| struct scsi_device ** sdevp, | |
| enum scsi_scan_mode rescan, | |
void * hostdata); |
struct scsi_target * stargetpointer to target device structure
u64 lunLUN of target device
int * bflagspstore bflags here if not NULL
struct scsi_device ** sdevpprobe the LUN corresponding to this scsi_device
enum scsi_scan_mode rescanif not equal to SCSI_SCAN_INITIAL skip some code only needed on first scan
void * hostdata
passed to scsi_alloc_sdev