scsi_add_host_with_dma (9) Linux Manual Page
scsi_add_host_with_dma – add a scsi host with dma device
Synopsis
int scsi_add_host_with_dma(struct Scsi_Host *shost, struct device *dev, struct device *dma_dev);
Arguments
shost
-
- scsi host pointer to add
dev
- a struct device of type scsi class
dma_dev
- dma device for the host
Note
You rarely need to worry about this unless you’re in a virtualised host environments, so use the simpler scsi_add_host function instead.
Return value: 0 on success / != 0 for error
Authors
James Bottomley <James.Bottomley [at] hansenpartnership.com>
- Author.
Rob Landley <rob [at] landley.net>
- Author.
