diff options
author | James Bottomley <James.Bottomley@suse.de> | 2009-11-05 13:33:12 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-14 08:08:09 -0800 |
commit | 3c4f4e86d320bc7853f9aba7f8382a5a77dc6e43 (patch) | |
tree | 2edd9d39937a61f8bd8f1a89efbfc1517028f6e6 /crypto/proc.c | |
parent | fa0b90829888932592f6f99959ebc42c12356623 (diff) |
SCSI: scsi_lib_dma: fix bug with dma maps on nested scsi objects
commit d139b9bd0e52dda14fd13412e7096e68b56d0076 upstream.
Some of our virtual SCSI hosts don't have a proper bus parent at the
top, which can be a problem for doing DMA on them
This patch makes the host device cache a pointer to the physical bus
device and provides an extra API for setting it (the normal API picks
it up from the parent). This patch also modifies the qla2xxx and lpfc
vport logic to use the new DMA host setting API.
Acked-By: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'crypto/proc.c')
0 files changed, 0 insertions, 0 deletions