[SCSI] scsi_lib_dma: fix bug with dma maps on nested scsi objects
[linux-2.6.git] / drivers / scsi / lpfc / lpfc_init.c
index 562d8ce..f913f1e 100644 (file)
@@ -2408,7 +2408,7 @@ lpfc_create_port(struct lpfc_hba *phba, int instance, struct device *dev)
        vport->els_tmofunc.function = lpfc_els_timeout;
        vport->els_tmofunc.data = (unsigned long)vport;
 
-       error = scsi_add_host(shost, dev);
+       error = scsi_add_host_with_dma(shost, dev, &phba->pcidev->dev);
        if (error)
                goto out_put_shost;