summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/phy.h
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/phy.h
parentc6d42257899505ea1982eba4c5e8bc7981e63e07 (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.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/isci/phy.h b/drivers/scsi/isci/phy.h
index 44b727f1c45..3fe1a8a1316 100644
--- a/drivers/scsi/isci/phy.h
+++ b/drivers/scsi/isci/phy.h
@@ -59,6 +59,7 @@
#include "port.h"
#include "host.h"
+#include <scsi/sas.h>
#include <scsi/libsas.h>
@@ -79,10 +80,8 @@ struct isci_phy {
u8 sas_addr[SAS_ADDR_SIZE];
union {
-
u8 aif[sizeof(struct sci_sas_identify_address_frame)];
- u8 fis[sizeof(struct sata_fis_reg_d2h)];
-
+ struct dev_to_host_fis fis;
} frame_rcvd;
};