.\" 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_HOST_ALLOC" "" "06 October 2005" "" "" .SH NAME scsi_host_alloc \- register a scsi host adapter instance. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct Scsi_Host * scsi_host_alloc (struct scsi_host_template * \fIsht\fB, int \fIprivsize\fB); \fR .SH "ARGUMENTS" .TP \fB\fIsht\fB\fR pointer to scsi host template .TP \fB\fIprivsize\fB\fR extra bytes to allocate for driver .SH "NOTE" .PP Allocate a new Scsi_Host and perform basic initialization. The host is not published to the scsi midlayer until scsi_add_host is called. .SH "RETURN VALUE" .PP Pointer to a new Scsi_Host