1SCSI_ADD_HOST_WITH_D(9)         SCSI mid layer         SCSI_ADD_HOST_WITH_D(9)
2
3
4

NAME

6       scsi_add_host_with_dma - add a scsi host with dma device
7

SYNOPSIS

9       int scsi_add_host_with_dma(struct Scsi_Host * shost,
10                                  struct device * dev,
11                                  struct device * dma_dev);
12

ARGUMENTS

14       shost
15           scsi host pointer to add
16
17       dev
18           a struct device of type scsi class
19
20       dma_dev
21           dma device for the host
22

NOTE

24       You rarely need to worry about this unless you´re in a virtualised host
25       environments, so use the simpler scsi_add_host function instead.
26

RETURN VALUE

28       0 on success / != 0 for error
29

AUTHORS

31       James Bottomley <James.Bottomley@hansenpartnership.com>
32           Author.
33
34       Rob Landley <rob@landley.net>
35           Author.
36
38Kernel Hackers Manual 2.6.         June 2019           SCSI_ADD_HOST_WITH_D(9)
Impressum