.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "SCSI_PROBE_AND_ADD_LUN" "" "06 October 2005" "" "" .SH NAME scsi_probe_and_add_lun \- probe a LUN, if a LUN is found add it .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int scsi_probe_and_add_lun (struct Scsi_Host * \fIhost\fB, uint \fIchannel\fB, uint \fIid\fB, uint \fIlun\fB, int * \fIbflagsp\fB, struct scsi_device ** \fIsdevp\fB, int \fIrescan\fB); \fR .SH "ARGUMENTS" .TP \fB\fIhost\fB\fR -- undescribed -- .TP \fB\fIchannel\fB\fR -- undescribed -- .TP \fB\fIid\fB\fR -- undescribed -- .TP \fB\fIlun\fB\fR -- undescribed -- .TP \fB\fIbflagsp\fB\fR store bflags here if not NULL .TP \fB\fIsdevp\fB\fR -- undescribed -- .TP \fB\fIrescan\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP Call scsi_probe_lun, if a LUN with an attached device is found, allocate and set it up by calling scsi_add_lun. .SH "SCSI_SCAN_NO_RESPONSE" .PP could not allocate or setup a Scsi_Device .SH "SCSI_SCAN_TARGET_PRESENT" .PP target responded, but no device is attached at the LUN .SH "SCSI_SCAN_LUN_PRESENT" .PP a new Scsi_Device was allocated and initialized