diff options
| author | FUJITA Tomonori <[email protected]> | 2007-07-04 06:03:11 -0700 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2007-07-14 17:13:02 -0500 |
| commit | c59fd9ebc46da8d48b76955d4d48e3597f8c8726 (patch) | |
| tree | 17310b76cc57476b10b735603d3acc5b824ddecb /include/linux/debugobjects.h | |
| parent | d4bd4cd0630060a64681590b9405b87e43c11f14 (diff) | |
[SCSI] lpfc: fix NPIV mapping problems
This patch uses dma_map_sg with phba->pcidev->dev instead of
scsi_dma_map.
scsi_dma_map doesn't work for NPIV since fc_vport->dev isn't fully
initialized. check_addr() in arch/x86_64/kernel/pci-nommu.c leads to
the crash since dev->dma_mask is NULL.
For more details:
http://marc.info/?l=linux-scsi&m=118312448030633&w=2
Signed-off-by: FUJITA Tomonori <[email protected]>
Acked-by: James Smart <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions