isci: Remove "screaming" data types
authorDave Jiang <dave.jiang@intel.com>
Sun, 27 Mar 2011 00:14:07 +0000 (17:14 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 11:00:36 +0000 (04:00 -0700)
Converting the all CAPS data types to lower case.

Reported-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
24 files changed:
drivers/scsi/isci/core/sati_translator_sequence.h
drivers/scsi/isci/core/sci_base_port.h
drivers/scsi/isci/core/sci_base_request.h
drivers/scsi/isci/core/sci_base_state.h
drivers/scsi/isci/core/sci_base_state_machine.c
drivers/scsi/isci/core/sci_status.h
drivers/scsi/isci/core/scic_port.h
drivers/scsi/isci/core/scic_sds_controller.c
drivers/scsi/isci/core/scic_sds_controller.h
drivers/scsi/isci/core/scic_sds_phy.h
drivers/scsi/isci/core/scic_sds_port.c
drivers/scsi/isci/core/scic_sds_port.h
drivers/scsi/isci/core/scic_sds_port_configuration_agent.c
drivers/scsi/isci/core/scic_sds_port_configuration_agent.h
drivers/scsi/isci/core/scic_sds_remote_node_context.h
drivers/scsi/isci/core/scic_sds_request.h
drivers/scsi/isci/core/scic_sds_stp_packet_request.c
drivers/scsi/isci/core/scic_sds_stp_packet_request.h
drivers/scsi/isci/core/scic_sds_stp_pio_request.h
drivers/scsi/isci/core/scic_sds_stp_request.h
drivers/scsi/isci/core/scic_sds_unsolicited_frame_control.h
drivers/scsi/isci/core/scu_registers.h
drivers/scsi/isci/core/scu_task_context.h
drivers/scsi/isci/probe_roms.h

index 592570d..915724c 100644 (file)
@@ -67,7 +67,7 @@
 #include "sati_device.h"
 
 /**
- * enum _SATI_TRANSLATOR_SEQUENCE_TYPE - This enumeration defines the possible
+ * enum _sati_translator_sequence_type - This enumeration defines the possible
  *    sequence types for the translator.
  *
  *
@@ -172,7 +172,7 @@ enum sati_translator_sequence_type {
  *
  *
  */
-typedef  struct SATI_MODE_SELECT_PROCESSING_STATE {
+struct sati_mode_select_processing_state {
        u8 *mode_pages;
        u32 mode_page_offset;
        u32 mode_pages_size;
@@ -180,11 +180,10 @@ typedef  struct SATI_MODE_SELECT_PROCESSING_STATE {
        u32 total_ata_command_sent;
        u32 ata_command_sent_for_cmp; /* cmp: current mode page */
        bool current_mode_page_processed;
-
-} SATI_MODE_SELECT_PROCESSING_STATE_T;
+};
 
 
-enum SATI_REASSIGN_BLOCKS_ATA_COMMAND_STATUS {
+enum sati_reassign_blocks_ata_command_status {
        SATI_REASSIGN_BLOCKS_READY_TO_SEND,
        SATI_REASSIGN_BLOCKS_COMMAND_FAIL,
        SATI_REASSIGN_BLOCKS_COMMAND_SUCCESS,
@@ -204,7 +203,7 @@ struct sati_reassign_blocks_processing_state {
        u32 size_of_data_processed;
        u32 ata_command_sent_for_current_lba;
        bool current_lba_processed;
-       enum     SATI_REASSIGN_BLOCKS_ATA_COMMAND_STATUS ata_command_status;
+       enum  sati_reassign_blocks_ata_command_status ata_command_status;
 
 };
 
@@ -291,8 +290,9 @@ struct sati_translator_sequence {
                u32 translated_command;
                u32 move_sector_count;
                u32 scratch;
-               struct sati_reassign_blocks_processing_state reassign_blocks_process_state;
-               SATI_MODE_SELECT_PROCESSING_STATE_T process_state;
+               struct sati_reassign_blocks_processing_state
+                       reassign_blocks_process_state;
+               struct sati_mode_select_processing_state process_state;
                struct sati_atapi_data sati_atapi_data;
        } command_specific_data;
 
index b931c3c..252d48c 100644 (file)
@@ -128,19 +128,16 @@ struct sci_base_port {
 
 struct sci_base_phy;
 
-typedef enum sci_status (*SCI_BASE_PORT_HANDLER_T)(
-       struct sci_base_port *
-       );
+typedef enum sci_status (*sci_base_port_handler_t) (
+       struct sci_base_port *);
 
-typedef enum sci_status (*SCI_BASE_PORT_PHY_HANDLER_T)(
+typedef enum sci_status (*sci_base_port_phy_handler_t) (
        struct sci_base_port *,
-       struct sci_base_phy *
-       );
+       struct sci_base_phy *);
 
-typedef enum sci_status (*SCI_BASE_PORT_RESET_HANDLER_T)(
+typedef enum sci_status (*sci_base_port_reset_handler_t) (
        struct sci_base_port *,
-       u32 timeout
-       );
+       u32 timeout);
 
 /**
  * struct sci_base_port_state_handler - This structure contains all of the
@@ -152,40 +149,39 @@ typedef enum sci_status (*SCI_BASE_PORT_RESET_HANDLER_T)(
  */
 struct sci_base_port_state_handler {
        /**
-        * The start_handler specifies the method invoked when a user attempts to
-        * start a port.
+        * The start_handler specifies the method invoked when a user
+        * attempts to start a port.
         */
-       SCI_BASE_PORT_HANDLER_T start_handler;
+       sci_base_port_handler_t start_handler;
 
        /**
-        * The stop_handler specifies the method invoked when a user attempts to
-        * stop a port.
+        * The stop_handler specifies the method invoked when a user
+        * attempts to stop a port.
         */
-       SCI_BASE_PORT_HANDLER_T stop_handler;
+       sci_base_port_handler_t stop_handler;
 
        /**
         * The destruct_handler specifies the method invoked when attempting to
         * destruct a port.
         */
-       SCI_BASE_PORT_HANDLER_T destruct_handler;
+       sci_base_port_handler_t destruct_handler;
 
        /**
-        * The reset_handler specifies the method invoked when a user attempts to
-        * hard reset a port.
+        * The reset_handler specifies the method invoked when a user
+        * attempts to hard reset a port.
         */
-       SCI_BASE_PORT_RESET_HANDLER_T reset_handler;
+       sci_base_port_reset_handler_t reset_handler;
 
        /**
-        * The add_phy_handler specifies the method invoked when a user attempts to
-        * add another phy into the port.
+        * The add_phy_handler specifies the method invoked when a user
+        * attempts to add another phy into the port.
         */
-       SCI_BASE_PORT_PHY_HANDLER_T add_phy_handler;
+       sci_base_port_phy_handler_t add_phy_handler;
 
        /**
         * The remove_phy_handler specifies the method invoked when a user
         * attempts to remove a phy from the port.
         */
-       SCI_BASE_PORT_PHY_HANDLER_T remove_phy_handler;
-
+       sci_base_port_phy_handler_t remove_phy_handler;
 };
 #endif /* _SCI_BASE_PORT_H_ */
index d1b2195..223aa4c 100644 (file)
@@ -129,7 +129,7 @@ struct sci_base_request {
        struct sci_base_state_machine state_machine;
 };
 
-typedef enum sci_status (*SCI_BASE_REQUEST_HANDLER_T)(
+typedef enum sci_status (*sci_base_request_handler_t)(
        struct sci_base_request *this_request
        );
 
@@ -146,25 +146,25 @@ struct sci_base_request_state_handler {
         * The start_handler specifies the method invoked when a user attempts to
         * start a request.
         */
-       SCI_BASE_REQUEST_HANDLER_T start_handler;
+       sci_base_request_handler_t start_handler;
 
        /**
         * The abort_handler specifies the method invoked when a user attempts to
         * abort a request.
         */
-       SCI_BASE_REQUEST_HANDLER_T abort_handler;
+       sci_base_request_handler_t abort_handler;
 
        /**
         * The complete_handler specifies the method invoked when a user attempts to
         * complete a request.
         */
-       SCI_BASE_REQUEST_HANDLER_T complete_handler;
+       sci_base_request_handler_t complete_handler;
 
        /**
         * The destruct_handler specifies the method invoked when a user attempts to
         * destruct a request.
         */
-       SCI_BASE_REQUEST_HANDLER_T destruct_handler;
+       sci_base_request_handler_t destruct_handler;
 
 };
 
Simple merge
Simple merge
Simple merge
Simple merge