'\" t .\" Title: scsi_add_host_with_dma .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: SCSI mid layer .\" Source: Kernel Hackers Manual 4.11.6 .\" Language: English .\" .TH "SCSI_ADD_HOST_WITH_D" "9" "July 2017" "Kernel Hackers Manual 4\&.11\&" "SCSI mid layer" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" scsi_add_host_with_dma \- add a scsi host with dma device .SH "SYNOPSIS" .HP \w'int\ scsi_add_host_with_dma('u .BI "int scsi_add_host_with_dma(struct\ Scsi_Host\ *\ " "shost" ", struct\ device\ *\ " "dev" ", struct\ device\ *\ " "dma_dev" ");" .SH "ARGUMENTS" .PP \fIstruct Scsi_Host * shost\fR .RS 4 scsi host pointer to add .RE .PP \fIstruct device * dev\fR .RS 4 a struct device of type scsi class .RE .PP \fIstruct device * dma_dev\fR .RS 4 dma device for the host .RE .SH "NOTE" .PP You rarely need to worry about this unless you\*(Aqre in a virtualised host environments, so use the simpler \fBscsi_add_host\fR function instead\&. .PP Return value: 0 on success / != 0 for error .SH "AUTHORS" .PP \fBJames Bottomley\fR <\&James.Bottomley@hansenpartnership.com\&> .RS 4 Author. .RE .PP \fBRob Landley\fR <\&rob@landley.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br