FreeBSD/sys/dev/isci/scil/scic_sds_controller.c
/**
 * @brief This method is called by the remote device to inform the controller
 *        object that the remote device has stopped.
 *
 * @param[in] this_controller
 * @param[in] the_device
 */
@brief This method is called by the remote device to inform the controller
object that the remote device has stopped.


@brief This method is called by the remote device to inform the controller object that the remote device has stopped .
void scic_sds_controller_remote_device_stopped(
   SCIC_SDS_CONTROLLER_T    * this_controller,
   SCIC_SDS_REMOTE_DEVICE_T * the_device
)
{
   if (this_controller->state_handlers->remote_device_stopped_handler != NULL)
   {
      this_controller->state_handlers->remote_device_stopped_handler(
         this_controller, the_device
      );
   }
   else
   {
      SCIC_LOG_INFO((
         sci_base_object_get_logger(this_controller),
         SCIC_LOG_OBJECT_CONTROLLER,
         "SCIC Controller 0x%x remote device stopped event from device 0x%x in unexpected state %d\n",
         this_controller,
         the_device,
         sci_base_state_machine_get_state(
            scic_sds_controller_get_base_state_machine(this_controller))
      ));
   }
}
void scic_sds_controller_remote_device_stopped ( SCIC_SDS_CONTROLLER_T * this_controller , SCIC_SDS_REMOTE_DEVICE_T * the_device ) { if ( this_controller -> state_handlers -> remote_device_stopped_handler != NULL ) { this_controller -> state_handlers -> remote_device_stopped_handler ( this_controller , the_device ) ; } else { SCIC_LOG_INFO ( ( sci_base_object_get_logger ( this_controller ) , SCIC_LOG_OBJECT_CONTROLLER , " \n " , this_controller , the_device , sci_base_state_machine_get_state ( scic_sds_controller_get_base_state_machine ( this_controller ) ) ) ) ; } }
@brief This method is called by the remote device to inform the controller
        object that the remote device has stopped.
@brief This method is called by the remote device to inform the controller object that the remote device has stopped .