1. NAME▲
scsi_probe_and_add_lun - probe a LUN, if a LUN is found add it
2. SYNOPSIS ▲
int scsi_probe_and_add_lun(struct scsi_target * starget , uint lun , int * bflagsp , struct scsi_device ** sdevp , int rescan , void * hostdata );
3. ARGUMENTS ▲
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
4. DESCRIPTION ▲
Call scsi_probe_lun, if a LUN with an attached device is found, allocate and set it up by calling scsi_add_lun.
5. SCSI_SCAN_NO_RESPONSE ▲
could not allocate or setup a scsi_device
6. SCSI_SCAN_TARGET_PRESENT ▲
target responded, but no device is attached at the LUN
7. SCSI_SCAN_LUN_PRESENT ▲
a new scsi_device was allocated and initialized
8. AUTHORS ▲
James Bottomley <>
Author.
Rob Landley <>
Author.
9. COPYRIGHT ▲