diff options
author | Dave Jiang <dave.jiang@intel.com> | 2011-02-23 18:57:24 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 06:55:28 -0400 |
commit | 103a00c200ab3bb9e598923eb7ba3354fcb3de8d (patch) | |
tree | 316e592940b954f6e670b1a399375e5b32ecb346 /drivers/scsi/isci/isci.h | |
parent | f7885c8490717b010115d6413b339702c64d8a3b (diff) |
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/isci.h')
-rw-r--r-- | drivers/scsi/isci/isci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/isci/isci.h b/drivers/scsi/isci/isci.h index 6c79b29f3102..225764f9d935 100644 --- a/drivers/scsi/isci/isci.h +++ b/drivers/scsi/isci/isci.h | |||
@@ -84,6 +84,7 @@ | |||
84 | #include "host.h" | 84 | #include "host.h" |
85 | #include "timers.h" | 85 | #include "timers.h" |
86 | #include "sci_status.h" | 86 | #include "sci_status.h" |
87 | #include "request.h" | ||
87 | 88 | ||
88 | extern struct kmem_cache *isci_kmem_cache; | 89 | extern struct kmem_cache *isci_kmem_cache; |
89 | extern struct isci_firmware *isci_firmware; | 90 | extern struct isci_firmware *isci_firmware; |