.\" 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" "" "06 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_Host * \fIshost\fB, uint \fIchannel\fB, uint \fIid\fB, uint \fIlun\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIshost\fB\fR
-- undescribed --
.TP
\fB\fIchannel\fB\fR
-- undescribed --
.TP
\fB\fIid\fB\fR
-- undescribed --
.TP
\fB\fIlun\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.