[SCSI] bnx2fc: Replace scsi_dma_map() with dma_map_sg().
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Mon, 19 Sep 2011 23:52:12 +0000 (16:52 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 22 Sep 2011 11:16:22 +0000 (15:16 +0400)
commit3ce41ea1478e9dcc3a0e47189c443ba3c7670b70
tree16aa7121090d193d3d564654f164014b1de13276
parent513382c9a2bb24c606a9027e83af4bc86dbe688b
[SCSI] bnx2fc: Replace scsi_dma_map() with dma_map_sg().

scsi_dma_map doesn't work for NPIV since vport dev isn't fully initialized.

For more details: http://marc.info/?l=linux-scsi&m=118312448030633&w=2 and
commit - c59fd9ebc46da8d48b76955d4d48e3597f8c8726.

Signed-off-by: Nithin Sujir <nsujir@broadcom.com>
Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bnx2fc/bnx2fc_io.c