aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/request.c
diff options
context:
space:
mode:
authorArtur Wojcik <artur.wojcik@intel.com>2011-05-04 03:58:16 -0400
committerDan Williams <dan.j.williams@intel.com>2011-07-03 07:04:46 -0400
commitcc3dbd0a9178865d4444f8e28b51715808e9ac85 (patch)
tree4f8da28b4740e0ddaeb3163a3d317f36bc49571c /drivers/scsi/isci/request.c
parentd06b487b78f28a02efdcdcc9ec295bf230b9d0e8 (diff)
isci: unify isci_host data structures
Make it explicit that isci_host and scic_sds_controller are one in the same object. Signed-off-by: Artur Wojcik <artur.wojcik@intel.com> [removed ->ihost back pointer] Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/request.c')
-rw-r--r--drivers/scsi/isci/request.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/isci/request.c b/drivers/scsi/isci/request.c
index 36adc1589efa..0521c045d43b 100644
--- a/drivers/scsi/isci/request.c
+++ b/drivers/scsi/isci/request.c
@@ -201,7 +201,7 @@ static enum sci_status isci_io_request_build(
201 * we will let the core allocate the IO tag. 201 * we will let the core allocate the IO tag.
202 */ 202 */
203 status = scic_io_request_construct( 203 status = scic_io_request_construct(
204 isci_host->core_controller, 204 &isci_host->sci,
205 sci_device, 205 sci_device,
206 SCI_CONTROLLER_INVALID_IO_TAG, 206 SCI_CONTROLLER_INVALID_IO_TAG,
207 request, 207 request,
@@ -394,7 +394,7 @@ int isci_request_execute(
394 394
395 /* send the request, let the core assign the IO TAG. */ 395 /* send the request, let the core assign the IO TAG. */
396 status = scic_controller_start_io( 396 status = scic_controller_start_io(
397 isci_host->core_controller, 397 &isci_host->sci,
398 sci_device, 398 sci_device,
399 request->sci_request_handle, 399 request->sci_request_handle,
400 SCI_CONTROLLER_INVALID_IO_TAG 400 SCI_CONTROLLER_INVALID_IO_TAG
@@ -1186,7 +1186,7 @@ void isci_request_io_request_complete(
1186 ); 1186 );
1187 1187
1188 /* complete the io request to the core. */ 1188 /* complete the io request to the core. */
1189 scic_controller_complete_io(isci_host->core_controller, 1189 scic_controller_complete_io(&isci_host->sci,
1190 &isci_device->sci, 1190 &isci_device->sci,
1191 request->sci_request_handle); 1191 request->sci_request_handle);
1192 /* NULL the request handle so it cannot be completed or 1192 /* NULL the request handle so it cannot be completed or