aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/task.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/isci/task.c')
-rw-r--r--drivers/scsi/isci/task.c49
1 files changed, 0 insertions, 49 deletions
diff --git a/drivers/scsi/isci/task.c b/drivers/scsi/isci/task.c
index f9a1c41a5ce8..c4db95933d41 100644
--- a/drivers/scsi/isci/task.c
+++ b/drivers/scsi/isci/task.c
@@ -1481,55 +1481,6 @@ void isci_task_request_complete(
1481 complete(tmf_complete); 1481 complete(tmf_complete);
1482} 1482}
1483 1483
1484
1485/**
1486 * isci_task_ssp_request_get_lun() - This function is called by the sci core to
1487 * retrieve the lun for a given task request.
1488 * @request: This parameter is the isci_request object.
1489 *
1490 * lun for specified task request.
1491 */
1492
1493/**
1494 * isci_task_ssp_request_get_function() - This function is called by the sci
1495 * core to retrieve the function for a given task request.
1496 * @request: This parameter is the isci_request object.
1497 *
1498 * function code for specified task request.
1499 */
1500u8 isci_task_ssp_request_get_function(struct isci_request *request)
1501{
1502 struct isci_tmf *isci_tmf = isci_request_access_tmf(request);
1503
1504 dev_dbg(&request->isci_host->pdev->dev,
1505 "%s: func = %d\n", __func__, isci_tmf->tmf_code);
1506
1507 return isci_tmf->tmf_code;
1508}
1509
1510/**
1511 * isci_task_ssp_request_get_io_tag_to_manage() - This function is called by
1512 * the sci core to retrieve the io tag for a given task request.
1513 * @request: This parameter is the isci_request object.
1514 *
1515 * io tag for specified task request.
1516 */
1517u16 isci_task_ssp_request_get_io_tag_to_manage(struct isci_request *request)
1518{
1519 u16 io_tag = SCI_CONTROLLER_INVALID_IO_TAG;
1520
1521 if (tmf_task == request->ttype) {
1522 struct isci_tmf *tmf = isci_request_access_tmf(request);
1523 io_tag = tmf->io_tag;
1524 }
1525
1526 dev_dbg(&request->isci_host->pdev->dev,
1527 "%s: request = %p, io_tag = %d\n",
1528 __func__, request, io_tag);
1529
1530 return io_tag;
1531}
1532
1533/** 1484/**
1534 * isci_task_ssp_request_get_response_data_address() - This function is called 1485 * isci_task_ssp_request_get_response_data_address() - This function is called
1535 * by the sci core to retrieve the response data address for a given task 1486 * by the sci core to retrieve the response data address for a given task