other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
SCSI_ADD_HOST_WITH_D(9) | SCSI mid layer | SCSI_ADD_HOST_WITH_D(9) |
NAME¶
scsi_add_host_with_dma - add a scsi host with dma deviceSYNOPSIS¶
int
scsi_add_host_with_dma(struct Scsi_Host * shost,
struct device * dev,
struct device * dma_dev);
ARGUMENTS¶
shostscsi 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 errorAUTHORS¶
James Bottomley <James.Bottomley@hansenpartnership.com>Author.
Rob Landley <rob@landley.net>
Author.
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |