Query: scsi_add_host_with_dma
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SCSI_ADD_HOST_WITH_D(9) SCSI mid layer SCSI_ADD_HOST_WITH_D(9)NAMEscsi_add_host_with_dma - add a scsi host with dma deviceSYNOPSISint scsi_add_host_with_dma(struct Scsi_Host * shost, struct device * dev, struct device * dma_dev);ARGUMENTSshost scsi host pointer to add dev a struct device of type scsi class dma_dev dma device for the hostNOTEYou rarely need to worry about this unless you're in a virtualised host environments, so use the simpler scsi_add_host function instead.RETURN VALUE0 on success / != 0 for errorAUTHORSJames Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 SCSI_ADD_HOST_WITH_D(9)