SCSI_PROBE_AND_ADD_LUN

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

scsi_probe_and_add_lun - probe a LUN, if a LUN is found add it  

SYNOPSIS

"SYNOPSIS"

int scsi_probe_and_add_lun (struct Scsi_Host * host, uint channel, uint id, uint lun, int * bflagsp, struct scsi_device ** sdevp, int rescan);  

ARGUMENTS

host
-- undescribed --
channel
-- undescribed --
id
-- undescribed --
lun
-- undescribed --
bflagsp
store bflags here if not NULL
sdevp
-- undescribed --
rescan
-- undescribed --
 

DESCRIPTION

Call scsi_probe_lun, if a LUN with an attached device is found, allocate and set it up by calling scsi_add_lun.  

SCSI_SCAN_NO_RESPONSE

could not allocate or setup a Scsi_Device  

SCSI_SCAN_TARGET_PRESENT

target responded, but no device is attached at the LUN  

SCSI_SCAN_LUN_PRESENT

a new Scsi_Device was allocated and initialized


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
SCSI_SCAN_NO_RESPONSE
SCSI_SCAN_TARGET_PRESENT
SCSI_SCAN_LUN_PRESENT

This document was created by man2html, using the manual pages.
Time: 13:31:48 GMT, October 06, 2005