summaryrefslogtreecommitdiff
path: root/drivers/scsi
diff options
context:
space:
mode:
authorHenryk Dembkowski <Henryk.Dembkowski@intel.com>2011-02-12 11:50:13 -0800
committerDan Williams <dan.j.williams@intel.com>2011-07-03 03:55:27 -0700
commit27d42e3e794523c3cec02a17fb221ade00e98648 (patch)
tree02f750de11627886aa1bc7ab19f29d4b6669f005 /drivers/scsi
parente574a8c18069bcc04537c4a3d7c5dbab2265007c (diff)
isci: coding style changes for remote device
Change names from upper to low letters Signed-off-by: Henryk Dembkowski <henryk.dembkowski@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/isci/core/sci_base_remote_device.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/scsi/isci/core/sci_base_remote_device.h b/drivers/scsi/isci/core/sci_base_remote_device.h
index 25c6ddd4fdbe..45414ce6a2c6 100644
--- a/drivers/scsi/isci/core/sci_base_remote_device.h
+++ b/drivers/scsi/isci/core/sci_base_remote_device.h
@@ -153,16 +153,16 @@ struct sci_base_remote_device {
};
-typedef enum sci_status (*SCI_BASE_REMOTE_DEVICE_HANDLER_T)(
+typedef enum sci_status (*sci_base_remote_device_handler_t)(
struct sci_base_remote_device *
);
-typedef enum sci_status (*SCI_BASE_REMOTE_DEVICE_REQUEST_HANDLER_T)(
+typedef enum sci_status (*sci_base_remote_device_request_handler_t)(
struct sci_base_remote_device *,
struct sci_base_request *
);
-typedef enum sci_status (*SCI_BASE_REMOTE_DEVICE_HIGH_PRIORITY_REQUEST_COMPLETE_HANDLER_T)(
+typedef enum sci_status (*sci_base_remote_device_high_priority_request_complete_handler_t)(
struct sci_base_remote_device *,
struct sci_base_request *,
void *,
@@ -182,68 +182,68 @@ struct sci_base_remote_device_state_handler {
* The start_handler specifies the method invoked when a user attempts to
* start a remote device.
*/
- SCI_BASE_REMOTE_DEVICE_HANDLER_T start_handler;
+ sci_base_remote_device_handler_t start_handler;
/**
* The stop_handler specifies the method invoked when a user attempts to
* stop a remote device.
*/
- SCI_BASE_REMOTE_DEVICE_HANDLER_T stop_handler;
+ sci_base_remote_device_handler_t stop_handler;
/**
* The fail_handler specifies the method invoked when a remote device
* failure has occurred. A failure may be due to an inability to
* initialize/configure the device.
*/
- SCI_BASE_REMOTE_DEVICE_HANDLER_T fail_handler;
+ sci_base_remote_device_handler_t fail_handler;
/**
* The destruct_handler specifies the method invoked when attempting to
* destruct a remote device.
*/
- SCI_BASE_REMOTE_DEVICE_HANDLER_T destruct_handler;
+ sci_base_remote_device_handler_t destruct_handler;
/**
* The reset handler specifies the method invloked when requesting to reset a
* remote device.
*/
- SCI_BASE_REMOTE_DEVICE_HANDLER_T reset_handler;
+ sci_base_remote_device_handler_t reset_handler;
/**
* The reset complete handler specifies the method invloked when reporting
* that a reset has completed to the remote device.
*/
- SCI_BASE_REMOTE_DEVICE_HANDLER_T reset_complete_handler;
+ sci_base_remote_device_handler_t reset_complete_handler;
/**
* The start_io_handler specifies the method invoked when a user
* attempts to start an IO request for a remote device.
*/
- SCI_BASE_REMOTE_DEVICE_REQUEST_HANDLER_T start_io_handler;
+ sci_base_remote_device_request_handler_t start_io_handler;
/**
* The complete_io_handler specifies the method invoked when a user
* attempts to complete an IO request for a remote device.
*/
- SCI_BASE_REMOTE_DEVICE_REQUEST_HANDLER_T complete_io_handler;
+ sci_base_remote_device_request_handler_t complete_io_handler;
/**
* The continue_io_handler specifies the method invoked when a user
* attempts to continue an IO request for a remote device.
*/
- SCI_BASE_REMOTE_DEVICE_REQUEST_HANDLER_T continue_io_handler;
+ sci_base_remote_device_request_handler_t continue_io_handler;
/**
* The start_task_handler specifies the method invoked when a user
* attempts to start a task management request for a remote device.
*/
- SCI_BASE_REMOTE_DEVICE_REQUEST_HANDLER_T start_task_handler;
+ sci_base_remote_device_request_handler_t start_task_handler;
/**
* The complete_task_handler specifies the method invoked when a user
* attempts to complete a task management request for a remote device.
*/
- SCI_BASE_REMOTE_DEVICE_REQUEST_HANDLER_T complete_task_handler;
+ sci_base_remote_device_request_handler_t complete_task_handler;
};