summaryrefslogtreecommitdiff
path: root/drivers/scsi/isci/sas.h
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2011-05-05 00:53:24 (GMT)
committerDan Williams <dan.j.williams@intel.com>2011-07-03 11:04:46 (GMT)
commitaf5ae89350840b9d724fc4fb81d928673bffdd4d (patch)
tree954d27adccdce854c040442fd44d28571924ee13 /drivers/scsi/isci/sas.h
parent0cfa890e5a8a9e3b01b75c17a7856cf96e026e27 (diff)
downloadlinux-fsl-qoriq-af5ae89350840b9d724fc4fb81d928673bffdd4d.tar.xz
isci: Convert of sci_ssp_response_iu to ssp_response_iu
Converting to Linux native format. However the isci driver does a lot of the calculation based on the max size of this data structure and the Linux data structure only has a pointer to the response data. Thus the sizeof(struct ssp_response_iu) will be incorrect and we need to define the max size. 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/sas.h')
-rw-r--r--drivers/scsi/isci/sas.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/isci/sas.h b/drivers/scsi/isci/sas.h
index 21ddd63..1a1e9bc 100644
--- a/drivers/scsi/isci/sas.h
+++ b/drivers/scsi/isci/sas.h
@@ -69,6 +69,9 @@
#define FIS_PIO_SETUP 0x5F
#define FIS_DATA 0x46
+/**************************************************************************/
+#define SSP_RESP_IU_MAX_SIZE 280
+
/*
* contents of the SSP COMMAND INFORMATION UNIT.
* For specific information on each of these individual fields please