Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254440
b: refs/heads/master
c: 8f304c3
h: refs/heads/master
v: v3
  • Loading branch information
Dan Williams committed Jul 3, 2011
1 parent 84d8bfd commit 03b9430
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 33 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ab2e8f7d07f577ee39228fb3454b9f29eab0f312
refs/heads/master: 8f304c36ee415600c6bbc5de300e6fa3dbe59d6d
3 changes: 1 addition & 2 deletions trunk/drivers/scsi/isci/core/scic_sds_request.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,7 @@ static void scu_ssp_reqeust_construct_task_context(
task_context->abort = 0;
task_context->priority = 0;
task_context->initiator_request = 1;
task_context->connection_rate =
scic_remote_device_get_connection_rate(target_device);
task_context->connection_rate = target_device->connection_rate;
task_context->protocol_engine_index =
scic_sds_controller_get_protocol_engine_group(controller);
task_context->logical_port_index =
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/scsi/isci/core/scic_sds_smp_request.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,7 @@ static void scu_smp_request_construct_task_context(
*/
task_context->priority = 0;
task_context->initiator_request = 1;
task_context->connection_rate =
scic_remote_device_get_connection_rate(sci_dev);
task_context->connection_rate = sci_dev->connection_rate;
task_context->protocol_engine_index =
scic_sds_controller_get_protocol_engine_group(controller);
task_context->logical_port_index =
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/scsi/isci/core/scic_sds_stp_request.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,7 @@ static void scu_sata_reqeust_construct_task_context(
task_context->abort = 0;
task_context->priority = SCU_TASK_PRIORITY_NORMAL;
task_context->initiator_request = 1;
task_context->connection_rate =
scic_remote_device_get_connection_rate(target_device);
task_context->connection_rate = target_device->connection_rate;
task_context->protocol_engine_index =
scic_sds_controller_get_protocol_engine_group(controller);
task_context->logical_port_index =
Expand Down
13 changes: 0 additions & 13 deletions trunk/drivers/scsi/isci/remote_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,22 +152,9 @@ enum sci_status scic_remote_device_reset_complete(
return sci_dev->state_handlers->reset_complete_handler(sci_dev);
}


enum sas_linkrate scic_remote_device_get_connection_rate(
struct scic_sds_remote_device *sci_dev)
{
return sci_dev->connection_rate;
}

/**
*
*
* Remote device timer requirements
*/
#define SCIC_SDS_REMOTE_DEVICE_MINIMUM_TIMER_COUNT (0)
#define SCIC_SDS_REMOTE_DEVICE_MAXIMUM_TIMER_COUNT (SCI_MAX_REMOTE_DEVICES)


/**
*
* @sci_dev: The remote device for which the suspend is being requested.
Expand Down
13 changes: 0 additions & 13 deletions trunk/drivers/scsi/isci/remote_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,19 +208,6 @@ enum sci_status scic_remote_device_reset(
enum sci_status scic_remote_device_reset_complete(
struct scic_sds_remote_device *remote_device);



/**
* scic_remote_device_get_connection_rate() - This method simply returns the
* link rate at which communications to the remote device occur.
* @remote_device: This parameter specifies the device for which to get the
* connection rate.
*
* Return the link rate at which we transfer for the supplied remote device.
*/
enum sas_linkrate scic_remote_device_get_connection_rate(
struct scic_sds_remote_device *remote_device);

#define scic_remote_device_is_atapi(device_handle) false

/**
Expand Down

0 comments on commit 03b9430

Please sign in to comment.