summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/port.c
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2011-05-04 15:02:02 -0700
committerDan Williams <dan.j.williams@intel.com>2011-07-03 04:04:45 -0700
commitf2f300806fe186a6c45020a444667755edcce672 (patch)
tree7241834565196b31e92f074f3e2924cbfad0722d /drivers/scsi/isci/port.c
parentc6d42257899505ea1982eba4c5e8bc7981e63e07 (diff)
downloadblackbird-op-linux-f2f300806fe186a6c45020a444667755edcce672.tar.gz
blackbird-op-linux-f2f300806fe186a6c45020a444667755edcce672.zip
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/port.c')
-rw-r--r--drivers/scsi/isci/port.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/scsi/isci/port.c b/drivers/scsi/isci/port.c
index 30d6ad895ccf..5b38f2f963e0 100644
--- a/drivers/scsi/isci/port.c
+++ b/drivers/scsi/isci/port.c
@@ -205,11 +205,8 @@ void isci_port_link_up(
*/
BUG_ON(call_status != SCI_SUCCESS);
- memcpy(isci_phy->frame_rcvd.fis,
- &sata_phy_properties.signature_fis,
- sizeof(struct sata_fis_reg_d2h));
-
- isci_phy->sas_phy.frame_rcvd_size = sizeof(struct sata_fis_reg_d2h);
+ isci_phy->frame_rcvd.fis = sata_phy_properties.signature_fis;
+ isci_phy->sas_phy.frame_rcvd_size = sizeof(struct dev_to_host_fis);
/*
* For direct-attached SATA devices, the SCI core will
OpenPOWER on IntegriCloud