From: FUJITA Tomonori Date: Wed, 4 Jul 2007 13:03:11 +0000 (-0700) Subject: [SCSI] lpfc: fix NPIV mapping problems X-Git-Tag: v2.6.23-rc1~1053^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c59fd9ebc46da8d48b76955d4d48e3597f8c8726;p=pandora-kernel.git [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 Acked-by: James Smart Signed-off-by: James Bottomley --- Reading git-diff-tree failed