diff options
author | Dave Jiang <dave.jiang@intel.com> | 2011-05-04 20:44:54 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 07:04:46 -0400 |
commit | 0cfa890e5a8a9e3b01b75c17a7856cf96e026e27 (patch) | |
tree | e9d6edb440c8a6e4ffcc349b97e8133e6f96f02e /drivers/scsi/isci/task.c | |
parent | ed0e24830e7b744d0d0ae5936740f1cdbd0ec5ba (diff) |
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>
Diffstat (limited to 'drivers/scsi/isci/task.c')
-rw-r--r-- | drivers/scsi/isci/task.c | 49 |
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 | */ | ||
1500 | u8 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 | */ | ||
1517 | u16 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 |