summaryrefslogtreecommitdiff
path: root/drivers/scsi/isci/task.c
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2011-05-05 02:02:02 +0400
committerDan Williams <dan.j.williams@intel.com>2011-07-03 15:04:45 +0400
commitf2f300806fe186a6c45020a444667755edcce672 (patch)
tree7241834565196b31e92f074f3e2924cbfad0722d /drivers/scsi/isci/task.c
parentc6d42257899505ea1982eba4c5e8bc7981e63e07 (diff)
downloadlinux-f2f300806fe186a6c45020a444667755edcce672.tar.xz
isci: Convert SATA fis data structures to Linux native
Converting of sata_fis_reg_d2h to dev_to_host_fis Converting of sata_fis_reg_h2d to host_to_dev_fis 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/task.c')
-rw-r--r--drivers/scsi/isci/task.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/scsi/isci/task.c b/drivers/scsi/isci/task.c
index 95f386723212..f9a1c41a5ce8 100644
--- a/drivers/scsi/isci/task.c
+++ b/drivers/scsi/isci/task.c
@@ -1452,10 +1452,8 @@ void isci_task_request_complete(
memcpy(&tmf->resp.d2h_fis,
scic_stp_io_request_get_d2h_reg_address(
- request->sci_request_handle
- ),
- sizeof(struct sata_fis_reg_d2h)
- );
+ request->sci_request_handle),
+ sizeof(struct dev_to_host_fis));
}
/* Manage the timer if it is still running. */