FreeBSD/sys/dev/isci/scil/scic_sds_stp_remote_device.c
//*****************************************************************************
//*  STP REMOTE DEVICE READY SUBSTATE PRIVATE METHODS
//*****************************************************************************
STP REMOTE DEVICE READY SUBSTATE PRIVATE METHODS
STP REMOTE DEVICE READY SUBSTATE PRIVATE METHODS
static
void scic_sds_stp_remote_device_ready_idle_substate_resume_complete_handler(
   void * user_cookie
)
{
   SCIC_SDS_REMOTE_DEVICE_T * this_device;
   this_device = (SCIC_SDS_REMOTE_DEVICE_T *)user_cookie;
   if (this_device->ready_substate_machine.previous_state_id
       != SCIC_SDS_STP_REMOTE_DEVICE_READY_SUBSTATE_NCQ)
   {
      scic_cb_remote_device_ready(
         scic_sds_remote_device_get_controller(this_device), this_device
      );
   }
}
static void scic_sds_stp_remote_device_ready_idle_substate_resume_complete_handler ( void * user_cookie ) { SCIC_SDS_REMOTE_DEVICE_T * this_device ; this_device = ( SCIC_SDS_REMOTE_DEVICE_T * ) user_cookie ; if ( this_device -> ready_substate_machine . previous_state_id != SCIC_SDS_STP_REMOTE_DEVICE_READY_SUBSTATE_NCQ ) { scic_cb_remote_device_ready ( scic_sds_remote_device_get_controller ( this_device ) , this_device ) ; } }
STP REMOTE DEVICE READY SUBSTATE PRIVATE METHODS
STP REMOTE DEVICE READY SUBSTATE PRIVATE METHODS
// For NCQ operation we do not issue a // scic_cb_remote_device_not_ready().  As a result, avoid sending // the ready notification.