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, | |
int rescan, | |
void * hostdata) ; |
starget
pointer to target device structure
lun
LUN of target device
bflagsp
store bflags here if not NULL
sdevp
probe the LUN corresponding to this scsi_device
rescan
if nonzero skip some code only needed on first scan
hostdata
passed to scsi_alloc_sdev