History log of /drivers/scsi/isci/sas.h
Revision Date Author Comments
54b5e3a4bfa3452bc10cd4da672099ccc46b8c09 29-Sep-2011 Dan Williams <dan.j.williams@intel.com> [SCSI] isci: fix support for large smp requests

Kill the local smp response buffer.

Besides being unnecessary, it is too small (currently truncates
responses to 60 bytes). The mid-layer will have already allocated a
sufficiently sized buffer, just kmap and copy into it directly.

Cc: <stable@kernel.org>
Reported-by: Derick Marks <derick.w.marks@intel.com>
Tested-by: Derick Marks <derick.w.marks@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
e9bf709564e90abea25ca7aeae8c3de5cc6468d7 17-Jun-2011 Dan Williams <dan.j.williams@intel.com> isci: fix support for arbitrarily large smp requests

Instead of duplicating the smp request buffer reuse the one provided by
libsas. This future proofs the driver to support arbitrarily large smp
requests, and shrinks the request structure size by ~700 bytes.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
8694e79287ad92e351feceededeb6804babb6d9a 05-May-2011 Dave Jiang <dave.jiang@intel.com> isci: removing intel_*.h headers

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
d20930a2b3271b233f4bef3c59ce602dfc9e5d83 05-May-2011 Dave Jiang <dave.jiang@intel.com> isci: Converting smp_response to Linux native smp_resp

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2ec53eb4d5b301e5c9c386da5685894d572772a5 05-May-2011 Dave Jiang <dave.jiang@intel.com> isci: Fixup of smp request

The struct smp_request data structure has be fixed up for Linux consumption.
This probably should go to scsi/sas.h eventually.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
af5ae89350840b9d724fc4fb81d928673bffdd4d 05-May-2011 Dave Jiang <dave.jiang@intel.com> 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>
0cfa890e5a8a9e3b01b75c17a7856cf96e026e27 05-May-2011 Dave Jiang <dave.jiang@intel.com> isci: Fixup SSP command IU and task IU

Fixup of SSP command IU and SSP task IU to something that looks like Linux

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
e76d6180da436edf2cc3538cbed1f5b02b614613 05-May-2011 Dave Jiang <dave.jiang@intel.com> isci: Convert ATA defines to Linux native defines

* Removing all intel_sata and intel_ata defines
* Removing the usage of SAT_PROTOCOL_*. We can get everything from sas_task
* Moved SATA FIS types to local sas.h. These defines will have to go
into include/scsi/sas.h eventually.
* Added offsets for SATA FIS header in order to grab the values

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>