[SCSI] lpfc: convert to use the data buffer accessors
commita0b4f78f9a4c869e9b29f254054ad7441cb40bbf
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 18 Jun 2007 00:56:39 +0000 (17 19:56 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Mon, 18 Jun 2007 03:40:31 +0000 (17 22:40 -0500)
tree272c5233cbf1601317cecb002fb34bddf0d0ab59
parent858c9f6c19c6f9bf86cbbc64ce0d17c61d6131b8
[SCSI] lpfc: convert to use the data buffer accessors

 This patch is a reworked version of the data buffer accessors patch
 so that it applies on the NPIV sources.

 The original patch was developed and submitted by Fujita Tomonori:
      FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
      http://marc.info/?l=linux-scsi&m=117896446832171&w=2

  - remove the unnecessary map_single path.

  - convert to use the new accessors for the sg lists and the
    parameters.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/lpfc/lpfc_scsi.c