1. NAME

scsi_add_host_with_dma - add a scsi host with dma device

2. SYNOPSIS

int scsi_add_host_with_dma(struct Scsi_Host *  shost , struct device *  dev , struct device *  dma_dev );

3. ARGUMENTS

shost
    scsi host pointer to add

dev
    a struct device of type scsi class

dma_dev
    dma device for the host

4. NOTE

You rarely need to worry about this unless youAqre in a virtualised host environments, so use the simpler scsi_add_host function instead.

5. RETURN VALUE

0 on success / != 0 for error

6. AUTHORS

James Bottomley <>
    Author.

Rob Landley <>
    Author.

7. COPYRIGHT