diff options
author | Dave Jiang <dave.jiang@intel.com> | 2011-05-04 18:02:02 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 07:04:45 -0400 |
commit | f2f300806fe186a6c45020a444667755edcce672 (patch) | |
tree | 7241834565196b31e92f074f3e2924cbfad0722d /drivers/scsi/isci/phy.h | |
parent | c6d42257899505ea1982eba4c5e8bc7981e63e07 (diff) |
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/phy.h')
-rw-r--r-- | drivers/scsi/isci/phy.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/isci/phy.h b/drivers/scsi/isci/phy.h index 44b727f1c455..3fe1a8a13169 100644 --- a/drivers/scsi/isci/phy.h +++ b/drivers/scsi/isci/phy.h | |||
@@ -59,6 +59,7 @@ | |||
59 | 59 | ||
60 | #include "port.h" | 60 | #include "port.h" |
61 | #include "host.h" | 61 | #include "host.h" |
62 | #include <scsi/sas.h> | ||
62 | #include <scsi/libsas.h> | 63 | #include <scsi/libsas.h> |
63 | 64 | ||
64 | 65 | ||
@@ -79,10 +80,8 @@ struct isci_phy { | |||
79 | u8 sas_addr[SAS_ADDR_SIZE]; | 80 | u8 sas_addr[SAS_ADDR_SIZE]; |
80 | 81 | ||
81 | union { | 82 | union { |
82 | |||
83 | u8 aif[sizeof(struct sci_sas_identify_address_frame)]; | 83 | u8 aif[sizeof(struct sci_sas_identify_address_frame)]; |
84 | u8 fis[sizeof(struct sata_fis_reg_d2h)]; | 84 | struct dev_to_host_fis fis; |
85 | |||
86 | } frame_rcvd; | 85 | } frame_rcvd; |
87 | }; | 86 | }; |
88 | 87 | ||