FreeBSD/sys/dev/isci/scil/scic_sds_phy.c
/**
 * This is the default method for a phy frame handling request.  It will
 * report a warning, release the frame and exit.
 *
 * @param[in] phy This is the SCI_BASE_PHY object which is cast into a
 *       SCIC_SDS_PHY object.
 * @param[in] frame_index This is the frame index that was received from the
 *       SCU hardware.
 *
 * @return SCI_STATUS
 * @retval SCI_FAILURE_INVALID_STATE
 */
This is the default method for a phy frame handling request.  It will
report a warning, release the frame and exit.

@param[in] phy This is the SCI_BASE_PHY object which is cast into a
SCIC_SDS_PHY object.
@param[in] frame_index This is the frame index that was received from the
SCU hardware.


This is the default method for a phy frame handling request . It will report a warning release the frame and exit . @param [ in ] phy This is the SCI_BASE_PHY object which is cast into a SCIC_SDS_PHY object . @param [ in ] frame_index This is the frame index that was received from the SCU hardware .
SCI_STATUS scic_sds_phy_default_frame_handler(
   SCIC_SDS_PHY_T *this_phy,
   U32            frame_index
)
{
   SCIC_LOG_WARNING((
      sci_base_object_get_logger(this_phy),
      SCIC_LOG_OBJECT_PHY,
      "SCIC Phy 0x%08x received unexpected frame data %d while in state %d\n",
      this_phy, frame_index,
      sci_base_state_machine_get_state(&this_phy->parent.state_machine)
   ));
   scic_sds_controller_release_frame(
      scic_sds_phy_get_controller(this_phy), frame_index);
   return SCI_FAILURE_INVALID_STATE;
}
SCI_STATUS scic_sds_phy_default_frame_handler ( SCIC_SDS_PHY_T * this_phy , U32 frame_index ) { SCIC_LOG_WARNING ( ( sci_base_object_get_logger ( this_phy ) , SCIC_LOG_OBJECT_PHY , " \n " , this_phy , frame_index , sci_base_state_machine_get_state ( & this_phy -> parent . state_machine ) ) ) ; scic_sds_controller_release_frame ( scic_sds_phy_get_controller ( this_phy ) , frame_index ) ; return SCI_FAILURE_INVALID_STATE ; }
This is the default method for a phy frame handling request.
This is the default method for a phy frame handling request .