scsi_add_host_with_dma(9)

scsi_add_host_with_dma9

Add a scsi host with dma device

Usage

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

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

Authors

James Bottomley <[email protected]>

Author.

Rob Landley <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.