Changed any occurrence of struct sci_base_object into void.
Signed-off-by: Maciej Patelczyk <maciej.patelczyk@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
 
 #include "sci_object.h"
 
-typedef void (*sci_base_state_handler_t)(
-       void
-       );
+typedef void (*sci_base_state_handler_t)(void);
 
-typedef void (*sci_state_transition_t)(
-       struct sci_base_object *base_object
-       );
+typedef void (*sci_state_transition_t)(void *base_object);
 
 /**
  * struct sci_base_state - The base state object abstracts the fields common to
 
  *
  */
 void sci_base_state_machine_construct(struct sci_base_state_machine *sm,
-                                     struct sci_base_object *owner,
+                                     void *owner,
                                      const struct sci_base_state *state_table,
                                      u32 initial_state)
 {
 
         * associated.  It serves as a cookie to be provided to the state
         * enter/exit methods.
         */
-       struct sci_base_object *state_machine_owner;
+       void *state_machine_owner;
 
        /**
         * This field simply indicates the state value for the state machine's
 
 void sci_base_state_machine_construct(
        struct sci_base_state_machine *this_state_machine,
-       struct sci_base_object *state_machine_owner,
+       void *state_machine_owner,
        const struct sci_base_state *state_table,
        u32 initial_state);
 
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_controller
+ * @object: This is the object which is cast to a struct scic_sds_controller
  *    object.
  *
  * This method implements the actions taken by the struct scic_sds_controller on entry
  * controllers initial state. none This function should initialze the
  * controller object.
  */
-static void scic_sds_controller_initial_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_controller_initial_state_enter(void *object)
 {
        struct scic_sds_controller *scic;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_controller
+ * @object: This is the object which is cast to a struct scic_sds_controller
  *    object.
  *
  * This method implements the actions taken by the struct scic_sds_controller on exit
  * from the SCI_BASE_CONTROLLER_STATE_STARTING. - This function stops the
  * controller starting timeout timer. none
  */
-static inline void scic_sds_controller_starting_state_exit(
-       struct sci_base_object *object)
+static inline void scic_sds_controller_starting_state_exit(void *object)
 {
        struct scic_sds_controller *scic = (struct scic_sds_controller *)object;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_controller
+ * @object: This is the object which is cast to a struct scic_sds_controller
  *    object.
  *
  * This method implements the actions taken by the struct scic_sds_controller on entry
  * to the SCI_BASE_CONTROLLER_STATE_READY. - Set the state handlers to the
  * controllers ready state. none
  */
-static void scic_sds_controller_ready_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_controller_ready_state_enter(void *object)
 {
        struct scic_sds_controller *scic;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_controller
+ * @object: This is the object which is cast to a struct scic_sds_controller
  *    object.
  *
  * This method implements the actions taken by the struct scic_sds_controller on exit
  * from the SCI_BASE_CONTROLLER_STATE_READY. - This function does nothing. none
  */
-static void scic_sds_controller_ready_state_exit(
-       struct sci_base_object *object)
+static void scic_sds_controller_ready_state_exit(void *object)
 {
        struct scic_sds_controller *scic;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_controller
+ * @object: This is the object which is cast to a struct scic_sds_controller
  *    object.
  *
  * This method implements the actions taken by the struct scic_sds_controller on entry
  * controllers ready state. - Stop the phys on this controller - Stop the ports
  * on this controller - Stop all of the remote devices on this controller none
  */
-static void scic_sds_controller_stopping_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_controller_stopping_state_enter(void *object)
 {
        struct scic_sds_controller *scic;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct
+ * @object: This is the object which is cast to a struct
  * scic_sds_controller object.
  *
  * This funciton implements the actions taken by the struct scic_sds_controller
  * on exit from the SCI_BASE_CONTROLLER_STATE_STOPPING. -
  * This function stops the controller stopping timeout timer.
  */
-static inline void scic_sds_controller_stopping_state_exit(
-       struct sci_base_object *object)
+static inline void scic_sds_controller_stopping_state_exit(void *object)
 {
        struct scic_sds_controller *scic =
                (struct scic_sds_controller *)object;
        isci_timer_stop(scic->timeout_timer);
 }
 
-static void scic_sds_controller_resetting_state_enter(struct sci_base_object *object)
+static void scic_sds_controller_resetting_state_enter(void *object)
 {
        struct scic_sds_controller *scic;
 
 
 
 /**
  * scic_sds_phy_starting_initial_substate_enter -
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This method will perform the actions required by the struct scic_sds_phy on
  * entering the SCIC_SDS_PHY_STARTING_SUBSTATE_INITIAL. - The initial state
  * handlers are put in place for the struct scic_sds_phy object. - The state is
  * changed to the wait phy type event notification. none
  */
-static void scic_sds_phy_starting_initial_substate_enter(struct sci_base_object *object)
+static void scic_sds_phy_starting_initial_substate_enter(void *object)
 {
        struct scic_sds_phy *sci_phy;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This method will perform the actions required by the struct scic_sds_phy on
  * entering the SCIC_SDS_PHY_STARTING_SUBSTATE_AWAIT_PHY_TYPE_EN. - Set the
  * struct scic_sds_phy object state handlers for this state. none
  */
-static void scic_sds_phy_starting_await_ossp_en_substate_enter(
-       struct sci_base_object *object)
+static void scic_sds_phy_starting_await_ossp_en_substate_enter(void *object)
 {
        struct scic_sds_phy *sci_phy;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This method will perform the actions required by the struct scic_sds_phy on
  * entering the SCIC_SDS_PHY_STARTING_SUBSTATE_AWAIT_SPEED_EN. - Set the
  * struct scic_sds_phy object state handlers for this state. none
  */
 static void scic_sds_phy_starting_await_sas_speed_en_substate_enter(
-       struct sci_base_object *object)
+               void *object)
 {
        struct scic_sds_phy *sci_phy;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This method will perform the actions required by the struct scic_sds_phy on
  * entering the SCIC_SDS_PHY_STARTING_SUBSTATE_AWAIT_IAF_UF. - Set the
  * struct scic_sds_phy object state handlers for this state. none
  */
-static void scic_sds_phy_starting_await_iaf_uf_substate_enter(
-       struct sci_base_object *object)
+static void scic_sds_phy_starting_await_iaf_uf_substate_enter(void *object)
 {
        struct scic_sds_phy *sci_phy;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This method will perform the actions required by the struct scic_sds_phy on
  * entering the SCIC_SDS_PHY_STARTING_SUBSTATE_AWAIT_SAS_POWER. - Set the
  * struct scic_sds_phy object state handlers for this state. - Add this phy object to
  * the power control queue none
  */
-static void scic_sds_phy_starting_await_sas_power_substate_enter(
-       struct sci_base_object *object)
+static void scic_sds_phy_starting_await_sas_power_substate_enter(void *object)
 {
        struct scic_sds_phy *sci_phy;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This method will perform the actions required by the struct scic_sds_phy on exiting
  * the SCIC_SDS_PHY_STARTING_SUBSTATE_AWAIT_SAS_POWER. - Remove the
  * struct scic_sds_phy object from the power control queue. none
  */
-static void scic_sds_phy_starting_await_sas_power_substate_exit(
-       struct sci_base_object *object)
+static void scic_sds_phy_starting_await_sas_power_substate_exit(void *object)
 {
        struct scic_sds_phy *sci_phy;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This method will perform the actions required by the struct scic_sds_phy on
  * entering the SCIC_SDS_PHY_STARTING_SUBSTATE_AWAIT_SATA_POWER. - Set the
  * struct scic_sds_phy object state handlers for this state. - Add this phy object to
  * the power control queue none
  */
-static void scic_sds_phy_starting_await_sata_power_substate_enter(
-       struct sci_base_object *object)
+static void scic_sds_phy_starting_await_sata_power_substate_enter(void *object)
 {
        struct scic_sds_phy *sci_phy;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This method will perform the actions required by the struct scic_sds_phy on exiting
  * the SCIC_SDS_PHY_STARTING_SUBSTATE_AWAIT_SATA_POWER. - Remove the
  * struct scic_sds_phy object from the power control queue. none
  */
-static void scic_sds_phy_starting_await_sata_power_substate_exit(
-       struct sci_base_object *object)
+static void scic_sds_phy_starting_await_sata_power_substate_exit(void *object)
 {
        struct scic_sds_phy *sci_phy;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a
- * struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This function will perform the actions required by the struct scic_sds_phy on
  * entering the SCIC_SDS_PHY_STARTING_SUBSTATE_AWAIT_SATA_PHY_EN. - Set the
  * struct scic_sds_phy object state handlers for this state. none
  */
-static void scic_sds_phy_starting_await_sata_phy_substate_enter(
-       struct sci_base_object *object)
+static void scic_sds_phy_starting_await_sata_phy_substate_enter(void *object)
 {
        struct scic_sds_phy *sci_phy = (struct scic_sds_phy *)object;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a
- * struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This method will perform the actions required by the struct scic_sds_phy
  * on exiting
  * that was started on entry to await sata phy event notification none
  */
 static inline void scic_sds_phy_starting_await_sata_phy_substate_exit(
-       struct sci_base_object *object)
+               void *object)
 {
        struct scic_sds_phy *sci_phy = (struct scic_sds_phy *)object;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This method will perform the actions required by the struct scic_sds_phy on
  * entering the SCIC_SDS_PHY_STARTING_SUBSTATE_AWAIT_SATA_SPEED_EN. - Set the
  * struct scic_sds_phy object state handlers for this state. none
  */
-static void scic_sds_phy_starting_await_sata_speed_substate_enter(
-       struct sci_base_object *object)
+static void scic_sds_phy_starting_await_sata_speed_substate_enter(void *object)
 {
        struct scic_sds_phy *sci_phy = (struct scic_sds_phy *)object;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a
- * struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This function will perform the actions required by the
  * struct scic_sds_phy on exiting
  * that was started on entry to await sata phy event notification none
  */
 static inline void scic_sds_phy_starting_await_sata_speed_substate_exit(
-       struct sci_base_object *object)
+       void *object)
 {
        struct scic_sds_phy *sci_phy = (struct scic_sds_phy *)object;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a
- * struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This function will perform the actions required by the struct scic_sds_phy on
  * entering the SCIC_SDS_PHY_STARTING_SUBSTATE_AWAIT_SIG_FIS_UF. - Set the
  * - Start the SIGNATURE FIS
  * timeout timer none
  */
-static void scic_sds_phy_starting_await_sig_fis_uf_substate_enter(
-       struct sci_base_object *object)
+static void scic_sds_phy_starting_await_sig_fis_uf_substate_enter(void *object)
 {
        bool continue_to_ready_state;
        struct scic_sds_phy *sci_phy = (struct scic_sds_phy *)object;
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a
- * struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This function will perform the actions required by the
  * struct scic_sds_phy on exiting
  * FIS timeout timer. none
  */
 static inline void scic_sds_phy_starting_await_sig_fis_uf_substate_exit(
-       struct sci_base_object *object)
+       void *object)
 {
        struct scic_sds_phy *sci_phy;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This method will perform the actions required by the struct scic_sds_phy on
  * entering the SCIC_SDS_PHY_STARTING_SUBSTATE_FINAL. - Set the struct scic_sds_phy
  * object state handlers for this state. - Change base state machine to the
  * ready state. none
  */
-static void scic_sds_phy_starting_final_substate_enter(struct sci_base_object *object)
+static void scic_sds_phy_starting_final_substate_enter(void *object)
 {
        struct scic_sds_phy *sci_phy;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This method will perform the actions required by the struct scic_sds_phy on
  * entering the SCI_BASE_PHY_STATE_INITIAL. - This function sets the state
  * handlers for the phy object base state machine initial state. none
  */
-static void scic_sds_phy_initial_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_phy_initial_state_enter(void *object)
 {
        struct scic_sds_phy *sci_phy;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a
- * struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This function will perform the actions required by the struct scic_sds_phy on
  * entering the SCI_BASE_PHY_STATE_INITIAL. - This function sets the state
  * handlers for the phy object base state machine initial state. - The SCU
  * hardware is requested to stop the protocol engine. none
  */
-static void scic_sds_phy_stopped_state_enter(struct sci_base_object *object)
+static void scic_sds_phy_stopped_state_enter(void *object)
 {
        struct scic_sds_phy *sci_phy = (struct scic_sds_phy *)object;
        struct scic_sds_controller *scic = scic_sds_phy_get_controller(sci_phy);
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This method will perform the actions required by the struct scic_sds_phy on
  * entering the SCI_BASE_PHY_STATE_STARTING. - This function sets the state
  * state then the struct scic_sds_controller is informed that the phy has gone link
  * down. none
  */
-static void scic_sds_phy_starting_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_phy_starting_state_enter(void *object)
 {
        struct scic_sds_phy *sci_phy;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This method will perform the actions required by the struct scic_sds_phy on
  * entering the SCI_BASE_PHY_STATE_READY. - This function sets the state
  * hardware protocol engine is resumed. - The struct scic_sds_controller is informed
  * that the phy object has gone link up. none
  */
-static void scic_sds_phy_ready_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_phy_ready_state_enter(void *object)
 {
        struct scic_sds_phy *sci_phy;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This method will perform the actions required by the struct scic_sds_phy on exiting
  * the SCI_BASE_PHY_STATE_INITIAL. This function suspends the SCU hardware
  * protocol engine represented by this struct scic_sds_phy object. none
  */
-static void scic_sds_phy_ready_state_exit(
-       struct sci_base_object *object)
+static void scic_sds_phy_ready_state_exit(void *object)
 {
        struct scic_sds_phy *sci_phy;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This method will perform the actions required by the struct scic_sds_phy on
  * entering the SCI_BASE_PHY_STATE_RESETTING. - This function sets the state
  * handlers for the phy object base state machine resetting state. none
  */
-static void scic_sds_phy_resetting_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_phy_resetting_state_enter(void *object)
 {
        struct scic_sds_phy *sci_phy;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_phy object.
+ * @object: This is the object which is cast to a struct scic_sds_phy object.
  *
  * This method will perform the actions required by the struct scic_sds_phy on
  * entering the SCI_BASE_PHY_STATE_FINAL. - This function sets the state
  * handlers for the phy object base state machine final state. none
  */
-static void scic_sds_phy_final_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_phy_final_state_enter(void *object)
 {
        struct scic_sds_phy *sci_phy;
 
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_port object.
+ * @object: This is the object which is cast to a struct scic_sds_port object.
  *
  * This method will perform the actions required by the struct scic_sds_port on
  * entering the SCIC_SDS_PORT_READY_SUBSTATE_WAITING. This function checks the
  * port for any ready phys.  If there is at least one phy in a ready state then
  * the port transitions to the ready operational substate. none
  */
-static void scic_sds_port_ready_substate_waiting_enter(
-       struct sci_base_object *object)
+static void scic_sds_port_ready_substate_waiting_enter(void *object)
 {
        struct scic_sds_port *sci_port = (struct scic_sds_port *)object;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a
- * struct scic_sds_port object.
+ * @object: This is the object which is cast to a struct scic_sds_port object.
  *
  * This function will perform the actions required by the struct scic_sds_port
  * on entering the SCIC_SDS_PORT_READY_SUBSTATE_OPERATIONAL. This function sets
  * the state handlers for the port object, notifies the SCI User that the port
  * is ready, and resumes port operations. none
  */
-static void scic_sds_port_ready_substate_operational_enter(
-       struct sci_base_object *object)
+static void scic_sds_port_ready_substate_operational_enter(void *object)
 {
        u32 index;
        struct scic_sds_port *sci_port = (struct scic_sds_port *)object;
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_port object.
+ * @object: This is the object which is cast to a struct scic_sds_port object.
  *
  * This method will perform the actions required by the struct scic_sds_port on
  * exiting the SCIC_SDS_PORT_READY_SUBSTATE_OPERATIONAL. This function reports
  * the port not ready and suspends the port task scheduler. none
  */
-static void scic_sds_port_ready_substate_operational_exit(
-       struct sci_base_object *object)
+static void scic_sds_port_ready_substate_operational_exit(void *object)
 {
        struct scic_sds_port *sci_port = (struct scic_sds_port *)object;
        struct scic_sds_controller *scic =
 
 /**
  * scic_sds_port_ready_substate_configuring_enter() -
- * @object: This is the struct sci_base_object which is cast to a
- * struct scic_sds_port object.
+ * @object: This is the object which is cast to a struct scic_sds_port object.
  *
  * This method will perform the actions required by the struct scic_sds_port on
  * exiting the SCIC_SDS_PORT_READY_SUBSTATE_OPERATIONAL. This function reports
  * the port not ready and suspends the port task scheduler. none
  */
-static void scic_sds_port_ready_substate_configuring_enter(
-       struct sci_base_object *object)
+static void scic_sds_port_ready_substate_configuring_enter(void *object)
 {
        struct scic_sds_port *sci_port = (struct scic_sds_port *)object;
        struct scic_sds_controller *scic =
                                SCIC_SDS_PORT_READY_SUBSTATE_OPERATIONAL);
 }
 
-static void scic_sds_port_ready_substate_configuring_exit(
-       struct sci_base_object *object)
+static void scic_sds_port_ready_substate_configuring_exit(void *object)
 {
        struct scic_sds_port *sci_port = (struct scic_sds_port *)object;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_port object.
+ * @object: This is the object which is cast to a struct scic_sds_port object.
  *
  * This method will perform the actions required by the struct scic_sds_port on
  * entering the SCI_BASE_PORT_STATE_STOPPED. This function sets the stopped
  * state handlers for the struct scic_sds_port object and disables the port task
  * scheduler in the hardware. none
  */
-static void scic_sds_port_stopped_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_port_stopped_state_enter(void *object)
 {
        struct scic_sds_port *sci_port;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_port object.
+ * @object: This is the object which is cast to a struct scic_sds_port object.
  *
  * This method will perform the actions required by the struct scic_sds_port on
  * exiting the SCI_BASE_STATE_STOPPED. This function enables the SCU hardware
  * port task scheduler. none
  */
-static void scic_sds_port_stopped_state_exit(
-       struct sci_base_object *object)
+static void scic_sds_port_stopped_state_exit(void *object)
 {
        struct scic_sds_port *sci_port;
 
 
 /**
  * scic_sds_port_ready_state_enter -
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_port object.
+ * @object: This is the object which is cast to a struct scic_sds_port object.
  *
  * This method will perform the actions required by the struct scic_sds_port on
  * entering the SCI_BASE_PORT_STATE_READY. This function sets the ready state
  * handlers for the struct scic_sds_port object, reports the port object as
  * not ready and starts the ready substate machine. none
  */
-static void scic_sds_port_ready_state_enter(struct sci_base_object *object)
+static void scic_sds_port_ready_state_enter(void *object)
 {
        struct scic_sds_controller *scic;
        struct scic_sds_port *sci_port;
        sci_base_state_machine_start(&sci_port->ready_substate_machine);
 }
 
-static void scic_sds_port_ready_state_exit(struct sci_base_object *object)
+static void scic_sds_port_ready_state_exit(void *object)
 {
        struct scic_sds_port *sci_port;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_port object.
+ * @object: This is the object which is cast to a struct scic_sds_port object.
  *
  * This method will perform the actions required by the struct scic_sds_port on
  * entering the SCI_BASE_PORT_STATE_RESETTING. This function sets the resetting
  * state handlers for the struct scic_sds_port object. none
  */
-static void scic_sds_port_resetting_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_port_resetting_state_enter(void *object)
 {
        struct scic_sds_port *sci_port;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a
- * struct scic_sds_port object.
+ * @object: This is the object which is cast to a struct scic_sds_port object.
  *
  * This function will perform the actions required by the
  * struct scic_sds_port on
  * exiting the SCI_BASE_STATE_RESETTING. This function does nothing. none
  */
-static inline void scic_sds_port_resetting_state_exit(
-       struct sci_base_object *object)
+static inline void scic_sds_port_resetting_state_exit(void *object)
 {
        struct scic_sds_port *sci_port = (struct scic_sds_port *)object;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a struct scic_sds_port object.
+ * @object: This is the void object which is cast to a
+ * struct scic_sds_port object.
  *
  * This method will perform the actions required by the struct scic_sds_port on
  * entering the SCI_BASE_PORT_STATE_STOPPING. This function sets the stopping
  * state handlers for the struct scic_sds_port object. none
  */
-static void scic_sds_port_stopping_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_port_stopping_state_enter(void *object)
 {
        struct scic_sds_port *sci_port;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a
- * struct scic_sds_port object.
+ * @object: This is the object which is cast to a struct scic_sds_port object.
  *
  * This function will perform the actions required by the
  * struct scic_sds_port on
  * exiting the SCI_BASE_STATE_STOPPING. This function does nothing. none
  */
 static inline void
-scic_sds_port_stopping_state_exit(struct sci_base_object *object)
+scic_sds_port_stopping_state_exit(void *object)
 {
        struct scic_sds_port *sci_port = (struct scic_sds_port *)object;
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast to a
- * struct scic_sds_port object.
+ * @object: This is the object which is cast to a struct scic_sds_port object.
  *
  * This function will perform the actions required by the
  * struct scic_sds_port on
  * entering the SCI_BASE_PORT_STATE_STOPPING. This function sets the stopping
  * state handlers for the struct scic_sds_port object. none
  */
-static void scic_sds_port_failed_state_enter(struct sci_base_object *object)
+static void scic_sds_port_failed_state_enter(void *object)
 {
        struct scic_sds_port *sci_port = (struct scic_sds_port *)object;
        struct isci_port *iport = sci_object_get_association(sci_port);
 
  * base request is constructed. Entry into the initial state sets all handlers
  * for the io request object to their default handlers. none
  */
-static void scic_sds_request_initial_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_request_initial_state_enter(void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
 
  * SCI_BASE_REQUEST_STATE_CONSTRUCTED state. The method sets the state handlers
  * for the the constructed state. none
  */
-static void scic_sds_request_constructed_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_request_constructed_state_enter(void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
 
 /**
  * scic_sds_request_started_state_enter() -
  * @object: This parameter specifies the base object for which the state
- *    transition is occuring.  This is cast into a SCIC_SDS_IO_REQUEST object.
+ *    transition is occurring.  This is cast into a SCIC_SDS_IO_REQUEST object.
  *
  * This method implements the actions taken when entering the
  * SCI_BASE_REQUEST_STATE_STARTED state. If the io request object type is a
  * SCSI Task request we must enter the started substate machine. none
  */
-static void scic_sds_request_started_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_request_started_state_enter(void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
 
 /**
  * scic_sds_request_started_state_exit() -
  * @object: This parameter specifies the base object for which the state
- *    transition is occuring.  This object is cast into a SCIC_SDS_IO_REQUEST
+ *    transition is occurring.  This object is cast into a SCIC_SDS_IO_REQUEST
  *    object.
  *
  * This method implements the actions taken when exiting the
  * SCI_BASE_REQUEST_STATE_STARTED state. For task requests the action will be
  * to stop the started substate machine. none
  */
-static void scic_sds_request_started_state_exit(
-       struct sci_base_object *object)
+static void scic_sds_request_started_state_exit(void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
 
 /**
  * scic_sds_request_completed_state_enter() -
  * @object: This parameter specifies the base object for which the state
- *    transition is occuring.  This object is cast into a SCIC_SDS_IO_REQUEST
+ *    transition is occurring.  This object is cast into a SCIC_SDS_IO_REQUEST
  *    object.
  *
  * This method implements the actions taken when entering the
  * completion status and convert it to an enum sci_status to return in the
  * completion callback function. none
  */
-static void scic_sds_request_completed_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_request_completed_state_enter(void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
        struct scic_sds_controller *scic =
 /**
  * scic_sds_request_aborting_state_enter() -
  * @object: This parameter specifies the base object for which the state
- *    transition is occuring.  This object is cast into a SCIC_SDS_IO_REQUEST
+ *    transition is occurring.  This object is cast into a SCIC_SDS_IO_REQUEST
  *    object.
  *
  * This method implements the actions taken when entering the
  * SCI_BASE_REQUEST_STATE_ABORTING state. none
  */
-static void scic_sds_request_aborting_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_request_aborting_state_enter(void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
 
 /**
  * scic_sds_request_final_state_enter() -
  * @object: This parameter specifies the base object for which the state
- *    transition is occuring.  This is cast into a SCIC_SDS_IO_REQUEST object.
+ *    transition is occurring.  This is cast into a SCIC_SDS_IO_REQUEST object.
  *
  * This method implements the actions taken when entering the
  * SCI_BASE_REQUEST_STATE_FINAL state. The only action required is to put the
  * state handlers in place. none
  */
-static void scic_sds_request_final_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_request_final_state_enter(void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
 
 
  *    SCIC_SDS_SMP_REQUEST_STARTED_SUBSTATE_AWAIT_TC_RESPONSE sub-state. This
  *    includes setting the IO request state handlers for this sub-state.
  * @object: This parameter specifies the request object for which the sub-state
- *    change is occuring.
+ *    change is occurring.
  *
  * none.
  */
 static void scic_sds_smp_request_started_await_response_substate_enter(
-       struct sci_base_object *object)
+       void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
 
  *    SCIC_SDS_SMP_REQUEST_STARTED_SUBSTATE_AWAIT_TC_COMPLETION sub-state.
  *    This includes setting the SMP request state handlers for this sub-state.
  * @object: This parameter specifies the request object for which the sub-state
- *    change is occuring.
+ *    change is occurring.
  *
  * none.
  */
 static void scic_sds_smp_request_started_await_tc_completion_substate_enter(
-       struct sci_base_object *object)
+       void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
 
 
  *    sub-state.  This includes setting the IO request state handlers for this
  *    sub-state.
  * @object: This parameter specifies the request object for which the sub-state
- *    change is occuring.
+ *    change is occurring.
  *
  * none.
  */
 static void scic_sds_io_request_started_task_mgmt_await_tc_completion_substate_enter(
-       struct sci_base_object *object)
+       void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
 
  *    SCIC_SDS_IO_REQUEST_STARTED_SUBSTATE_AWAIT_TC_RESPONSE sub-state. This
  *    includes setting the IO request state handlers for this sub-state.
  * @object: This parameter specifies the request object for which the sub-state
- *    change is occuring.
+ *    change is occurring.
  *
  * none.
  */
 static void scic_sds_io_request_started_task_mgmt_await_task_response_substate_enter(
-       struct sci_base_object *object)
+       void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
 
 
 };
 
 static void scic_sds_stp_request_started_non_data_await_h2d_completion_enter(
-       struct sci_base_object *object)
+       void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
 
                );
 }
 
-static void scic_sds_stp_request_started_non_data_await_d2h_enter(
-       struct sci_base_object *object)
+static void scic_sds_stp_request_started_non_data_await_d2h_enter(void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
 
 };
 
 static void scic_sds_stp_request_started_pio_await_h2d_completion_enter(
-       struct sci_base_object *object)
+       void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
 
                sci_req->target_device, sci_req);
 }
 
-static void scic_sds_stp_request_started_pio_await_frame_enter(
-       struct sci_base_object *object)
+static void scic_sds_stp_request_started_pio_await_frame_enter(void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
 
 }
 
 static void scic_sds_stp_request_started_pio_data_in_await_data_enter(
-       struct sci_base_object *object)
+       void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
 
 }
 
 static void scic_sds_stp_request_started_pio_data_out_transmit_data_enter(
-       struct sci_base_object *object)
+       void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
 
 };
 
 static void scic_sds_stp_request_started_udma_await_tc_completion_enter(
-       struct sci_base_object *object)
+       void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
 
  * will UF the D2H register FIS to complete the IO.
  */
 static void scic_sds_stp_request_started_udma_await_d2h_reg_fis_enter(
-       struct sci_base_object *object)
+       void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
 
 };
 
 static void scic_sds_stp_request_started_soft_reset_await_h2d_asserted_completion_enter(
-       struct sci_base_object *object)
+       void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
 
 }
 
 static void scic_sds_stp_request_started_soft_reset_await_h2d_diagnostic_completion_enter(
-       struct sci_base_object *object)
+       void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
        struct scu_task_context *task_context;
 }
 
 static void scic_sds_stp_request_started_soft_reset_await_d2h_response_enter(
-       struct sci_base_object *object)
+       void *object)
 {
        struct scic_sds_request *sci_req = (struct scic_sds_request *)object;
 
 
        }
 };
 
-static void scic_sds_remote_device_initial_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_remote_device_initial_state_enter(void *object)
 {
        struct scic_sds_remote_device *sci_dev = (struct scic_sds_remote_device *)object;
 
        isci_remote_device_deconstruct(ihost, idev);
 }
 
-static void scic_sds_remote_device_stopped_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_remote_device_stopped_state_enter(void *object)
 {
        struct scic_sds_remote_device *sci_dev;
        struct scic_sds_controller *scic;
        scic_sds_controller_remote_device_stopped(scic, sci_dev);
 }
 
-static void scic_sds_remote_device_starting_state_enter(struct sci_base_object *object)
+static void scic_sds_remote_device_starting_state_enter(void *object)
 {
        struct scic_sds_remote_device *sci_dev = container_of(object, typeof(*sci_dev),
                                                              parent);
                                     SCIC_REMOTE_DEVICE_NOT_READY_START_REQUESTED);
 }
 
-static void scic_sds_remote_device_ready_state_enter(struct sci_base_object *object)
+static void scic_sds_remote_device_ready_state_enter(void *object)
 {
        struct scic_sds_remote_device *sci_dev = container_of(object, typeof(*sci_dev),
                                                              parent);
                isci_remote_device_ready(ihost, idev);
 }
 
-static void scic_sds_remote_device_ready_state_exit(
-       struct sci_base_object *object)
+static void scic_sds_remote_device_ready_state_exit(void *object)
 {
        struct scic_sds_remote_device *sci_dev = container_of(object, typeof(*sci_dev),
                                                              parent);
        }
 }
 
-static void scic_sds_remote_device_stopping_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_remote_device_stopping_state_enter(void *object)
 {
        struct scic_sds_remote_device *sci_dev = (struct scic_sds_remote_device *)object;
 
                );
 }
 
-static void scic_sds_remote_device_failed_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_remote_device_failed_state_enter(void *object)
 {
        struct scic_sds_remote_device *sci_dev = (struct scic_sds_remote_device *)object;
 
                );
 }
 
-static void scic_sds_remote_device_resetting_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_remote_device_resetting_state_enter(void *object)
 {
        struct scic_sds_remote_device *sci_dev = (struct scic_sds_remote_device *)object;
 
                &sci_dev->rnc, SCI_SOFTWARE_SUSPENSION, NULL, NULL);
 }
 
-static void scic_sds_remote_device_resetting_state_exit(
-       struct sci_base_object *object)
+static void scic_sds_remote_device_resetting_state_exit(void *object)
 {
        struct scic_sds_remote_device *sci_dev = (struct scic_sds_remote_device *)object;
 
        scic_sds_remote_node_context_resume(&sci_dev->rnc, NULL, NULL);
 }
 
-static void scic_sds_remote_device_final_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_remote_device_final_state_enter(void *object)
 {
        struct scic_sds_remote_device *sci_dev = (struct scic_sds_remote_device *)object;
 
 
  *
  *
  */
-static void scic_sds_remote_node_context_initial_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_remote_node_context_initial_state_enter(void *object)
 {
        struct scic_sds_remote_node_context *rnc;
 
  *
  *
  */
-static void scic_sds_remote_node_context_posting_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_remote_node_context_posting_state_enter(void *object)
 {
        struct scic_sds_remote_node_context *sci_rnc;
 
  *
  *
  */
-static void scic_sds_remote_node_context_invalidating_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_remote_node_context_invalidating_state_enter(void *object)
 {
        struct scic_sds_remote_node_context *rnc;
 
  *
  *
  */
-static void scic_sds_remote_node_context_resuming_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_remote_node_context_resuming_state_enter(void *object)
 {
        struct scic_sds_remote_node_context *rnc;
        struct scic_sds_remote_device *sci_dev;
  *
  *
  */
-static void scic_sds_remote_node_context_ready_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_remote_node_context_ready_state_enter(void *object)
 {
        struct scic_sds_remote_node_context *rnc;
 
  *
  *
  */
-static void scic_sds_remote_node_context_tx_suspended_state_enter(
-       struct sci_base_object *object)
+static void scic_sds_remote_node_context_tx_suspended_state_enter(void *object)
 {
        struct scic_sds_remote_node_context *rnc;
 
  *
  */
 static void scic_sds_remote_node_context_tx_rx_suspended_state_enter(
-       struct sci_base_object *object)
+               void *object)
 {
        struct scic_sds_remote_node_context *rnc;
 
  *
  */
 static void scic_sds_remote_node_context_await_suspension_state_enter(
-       struct sci_base_object *object)
+       void *object)
 {
        struct scic_sds_remote_node_context *rnc;
 
 
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast into a
+ * @object: This is the object which is cast into a
  *    struct scic_sds_remote_device.
  *
  * This is the SCIC_SDS_SMP_REMOTE_DEVICE_READY_SUBSTATE_IDLE enter method.
  * This function sets the ready cmd substate handlers and reports the device as
  * ready. none
  */
-static void scic_sds_smp_remote_device_ready_idle_substate_enter(struct sci_base_object *object)
+static void scic_sds_smp_remote_device_ready_idle_substate_enter(void *object)
 {
        struct scic_sds_remote_device *sci_dev = container_of(object, typeof(*sci_dev),
                                                              parent);
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast into a
+ * @object: This is the object which is cast into a
  *    struct scic_sds_remote_device.
  *
  * This is the SCIC_SDS_SMP_REMOTE_DEVICE_READY_SUBSTATE_CMD enter method. This
  * function sets the remote device objects ready cmd substate handlers, and
  * notify core user that the device is not ready. none
  */
-static void scic_sds_smp_remote_device_ready_cmd_substate_enter(
-       struct sci_base_object *object)
+static void scic_sds_smp_remote_device_ready_cmd_substate_enter(void *object)
 {
        struct scic_sds_remote_device *sci_dev = container_of(object, typeof(*sci_dev),
                                                              parent);
 
 /**
  *
- * @object: This is the struct sci_base_object which is cast into a
+ * @object: This is the object which is cast into a
  *    struct scic_sds_remote_device.
  *
  * This is the SCIC_SDS_SSP_REMOTE_DEVICE_READY_SUBSTATE_CMD exit method. none
  */
-static void scic_sds_smp_remote_device_ready_cmd_substate_exit(struct sci_base_object *object)
+static void scic_sds_smp_remote_device_ready_cmd_substate_exit(void *object)
 {
        struct scic_sds_remote_device *sci_dev = container_of(object, typeof(*sci_dev),
                                                              parent);
 
 
 /**
  *
- * @device: This is the SCI base object which is cast into a
+ * @device: This is the object which is cast into a
  *    struct scic_sds_remote_device object.
  *
  */
-static void scic_sds_stp_remote_device_ready_idle_substate_enter(
-       struct sci_base_object *device)
+static void scic_sds_stp_remote_device_ready_idle_substate_enter(void *device)
 {
        struct scic_sds_remote_device *sci_dev;
 
        }
 }
 
-static void scic_sds_stp_remote_device_ready_cmd_substate_enter(struct sci_base_object *object)
+static void scic_sds_stp_remote_device_ready_cmd_substate_enter(void *object)
 {
        struct scic_sds_remote_device *sci_dev = container_of(object, typeof(*sci_dev),
                                                              parent);
                                     SCIC_REMOTE_DEVICE_NOT_READY_SATA_REQUEST_STARTED);
 }
 
-static void scic_sds_stp_remote_device_ready_ncq_substate_enter(struct sci_base_object *object)
+static void scic_sds_stp_remote_device_ready_ncq_substate_enter(void *object)
 {
        struct scic_sds_remote_device *sci_dev = container_of(object, typeof(*sci_dev),
                                                              parent);
                          SCIC_SDS_STP_REMOTE_DEVICE_READY_SUBSTATE_NCQ);
 }
 
-static void scic_sds_stp_remote_device_ready_ncq_error_substate_enter(struct sci_base_object *object)
+static void scic_sds_stp_remote_device_ready_ncq_error_substate_enter(
+               void *object)
 {
        struct scic_sds_remote_device *sci_dev = container_of(object, typeof(*sci_dev),
                                                              parent);
 
 /**
  * The enter routine to READY AWAIT RESET substate.
- * @device: This is the SCI base object which is cast into a
+ * @device: This is the object which is cast into a
  *    struct scic_sds_remote_device object.
  *
  */
 static void scic_sds_stp_remote_device_ready_await_reset_substate_enter(
-       struct sci_base_object *device)
+       void *device)
 {
        struct scic_sds_remote_device *sci_dev;