summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/core/scic_sds_stp_packet_request.c
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2011-02-23 15:57:24 -0800
committerDan Williams <dan.j.williams@intel.com>2011-07-03 03:55:28 -0700
commit103a00c200ab3bb9e598923eb7ba3354fcb3de8d (patch)
tree316e592940b954f6e670b1a399375e5b32ecb346 /drivers/scsi/isci/core/scic_sds_stp_packet_request.c
parentf7885c8490717b010115d6413b339702c64d8a3b (diff)
downloadop-kernel-dev-103a00c200ab3bb9e598923eb7ba3354fcb3de8d.zip
op-kernel-dev-103a00c200ab3bb9e598923eb7ba3354fcb3de8d.tar.gz
isci: Make the driver copy data directly from and to sg for PIO
We can copy the data directly to and from sg for SATA PIO read operations. There is no reason to involve the hardware SGL. In the process we also need to kmap the sg because we don't know where that can come from. We also do to not call phys_to_virt(). The driver already has the information. We can just calculcate the appropriate offets. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/core/scic_sds_stp_packet_request.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud