FreeBSD/sys/dev/isci/scil/scic_sds_phy.c
/**
 * This function will handle the sata SIGNATURE FIS timeout condition.  It
 * will restart the starting substate machine since we dont know what has
 * actually happening.
 *
 * @param[in] cookie This object is cast to the SCIC_SDS_PHY_T object.
 *
 * @return none
 */
This function will handle the sata SIGNATURE FIS timeout condition.  It
will restart the starting substate machine since we dont know what has
actually happening.

@param[in] cookie This object is cast to the SCIC_SDS_PHY_T object.

@return none
This function will handle the sata SIGNATURE FIS timeout condition . It will restart the starting substate machine since we dont know what has actually happening . @param [ in ] cookie This object is cast to the SCIC_SDS_PHY_T object . @return none
void scic_sds_phy_sata_timeout( SCI_OBJECT_HANDLE_T cookie)
{
   SCIC_SDS_PHY_T * this_phy = (SCIC_SDS_PHY_T *)cookie;
   SCIC_LOG_INFO((
      sci_base_object_get_logger(this_phy),
      SCIC_LOG_OBJECT_PHY,
      "SCIC SDS Phy 0x%x did not receive signature fis before timeout.\n",
      this_phy
   ));
   sci_base_state_machine_stop(
      scic_sds_phy_get_starting_substate_machine(this_phy));
   sci_base_state_machine_change_state(
      scic_sds_phy_get_base_state_machine(this_phy),
      SCI_BASE_PHY_STATE_STARTING
   );
}
void scic_sds_phy_sata_timeout ( SCI_OBJECT_HANDLE_T cookie ) { SCIC_SDS_PHY_T * this_phy = ( SCIC_SDS_PHY_T * ) cookie ; SCIC_LOG_INFO ( ( sci_base_object_get_logger ( this_phy ) , SCIC_LOG_OBJECT_PHY , " \n " , this_phy ) ) ; sci_base_state_machine_stop ( scic_sds_phy_get_starting_substate_machine ( this_phy ) ) ; sci_base_state_machine_change_state ( scic_sds_phy_get_base_state_machine ( this_phy ) , SCI_BASE_PHY_STATE_STARTING ) ; }
This function will handle the sata SIGNATURE FIS timeout condition.
This function will handle the sata SIGNATURE FIS timeout condition .