linux/drivers/scsi/lpfc
FUJITA Tomonori c59fd9ebc4 [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 <fujita.tomonori@lab.ntt.co.jp>
Acked-by: James Smart <James.Smart@Emulex.Com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-07-14 17:13:02 -05:00
..
lpfc_attr.c [SCSI] lpfc: bug fixes 2007-06-17 22:38:11 -05:00
lpfc_compat.h [PATCH] turn many #if $undefined_string into #ifdef $undefined_string 2005-07-27 16:26:08 -07:00
lpfc_crtn.h [SCSI] lpfc: bug fixes 2007-06-17 22:38:11 -05:00
lpfc_ct.c [SCSI] lpfc: bug fixes 2007-06-17 22:38:11 -05:00
lpfc_debugfs.c [SCSI] lpfc: bug fixes 2007-06-17 22:38:11 -05:00
lpfc_debugfs.h [SCSI] lpfc: bug fixes 2007-06-17 22:38:11 -05:00
lpfc_disc.h [SCSI] lpfc: bug fixes 2007-06-17 22:38:11 -05:00
lpfc_els.c [SCSI] lpfc: bug fixes 2007-06-17 22:38:11 -05:00
lpfc_hbadisc.c [SCSI] lpfc: bug fixes 2007-06-17 22:38:11 -05:00
lpfc_hw.h [SCSI] lpfc: bug fixes 2007-06-17 22:38:11 -05:00
lpfc_init.c [SCSI] lpfc: bug fixes 2007-06-17 22:38:11 -05:00
lpfc_logmsg.h [SCSI] lpfc: NPIV: add NPIV support on top of SLI-3 2007-06-17 22:27:39 -05:00
lpfc_mbox.c [SCSI] lpfc: bug fixes 2007-06-17 22:38:11 -05:00
lpfc_mem.c [SCSI] lpfc: bug fixes 2007-06-17 22:38:11 -05:00
lpfc_nportdisc.c [SCSI] lpfc: bug fixes 2007-06-17 22:38:11 -05:00
lpfc_scsi.c [SCSI] lpfc: fix NPIV mapping problems 2007-07-14 17:13:02 -05:00
lpfc_scsi.h [SCSI] lpfc: NPIV: split ports 2007-06-17 22:05:45 -05:00
lpfc_sli.c [SCSI] lpfc: bug fixes 2007-06-17 22:38:11 -05:00
lpfc_sli.h [SCSI] lpfc: bug fixes 2007-06-17 22:38:11 -05:00
lpfc_version.h [SCSI] lpfc: update to version 8.2.1 2007-06-17 22:42:13 -05:00
lpfc_vport.c [SCSI] lpfc: bug fixes 2007-06-17 22:38:11 -05:00
lpfc_vport.h [SCSI] lpfc: NPIV: add NPIV support on top of SLI-3 2007-06-17 22:27:39 -05:00
lpfc.h [SCSI] lpfc: bug fixes 2007-06-17 22:38:11 -05:00
Makefile [SCSI] lpfc: bug fixes 2007-06-17 22:38:11 -05:00