.\" 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_ALLOC_SDEV" "9" "09 October 2005" "" "" .SH NAME scsi_alloc_sdev \- allocate and setup a scsi_Device .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct scsi_device * scsi_alloc_sdev (struct scsi_target * \fIstarget\fB, unsigned int \fIlun\fB, void * \fIhostdata\fB); \fR .SH "ARGUMENTS" .TP \fB\fIstarget\fB\fR -- undescribed -- .TP \fB\fIlun\fB\fR -- undescribed -- .TP \fB\fIhostdata\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP Allocate, initialize for io, and return a pointer to a scsi_Device. Stores the \fIshost\fR, \fIchannel\fR, \fIid\fR, and \fIlun\fR in the scsi_Device, and adds scsi_Device to the appropriate list. .SH "DESCRIPTION" .PP Allocate, initialize for io, and return a pointer to a scsi_Device. Stores the \fIshost\fR, \fIchannel\fR, \fIid\fR, and \fIlun\fR in the scsi_Device, and adds scsi_Device to the appropriate list. .SH "RETURN VALUE" .PP scsi_Device pointer, or NULL on failure.