.\" 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_ADD_LUN" "" "06 October 2005" "" "" .SH NAME scsi_add_lun \- allocate and fully initialze a Scsi_Device .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int scsi_add_lun (struct scsi_device * \fIsdev\fB, char * \fIinq_result\fB, int * \fIbflags\fB); \fR .SH "ARGUMENTS" .TP \fB\fIsdev\fB\fR -- undescribed -- .TP \fB\fIinq_result\fB\fR holds the result of a previous INQUIRY to the LUN .TP \fB\fIbflags\fB\fR black/white list flag .SH "DESCRIPTION" .PP Allocate and initialize a Scsi_Device matching sdevscan. Optionally set fields based on values in *\fIbflags\fR\&. If \fIsdevnew\fR is not NULL, store the address of the new Scsi_Device in *\fIsdevnew\fR (needed when scanning a particular LUN). .SH "SCSI_SCAN_NO_RESPONSE" .PP could not allocate or setup a Scsi_Device .SH "SCSI_SCAN_LUN_PRESENT" .PP a new Scsi_Device was allocated and initialized