FreeBSD/sys/dev/isci/scil/scif_sas_controller.c
/**
 * @brief This method sets SCIF user parameters to
 *        default values.  Users can override these values utilizing
 *        the sciF_user_parameters_set() methods.
 *
 * @param[in] controller This parameter specifies the controller for
 *            which to set the configuration parameters to their
 *            default values.
 *
 * @return none
 */
@brief This method sets SCIF user parameters to
default values.  Users can override these values utilizing
the sciF_user_parameters_set() methods.

@param[in] controller This parameter specifies the controller for
which to set the configuration parameters to their
default values.

@return none
@brief This method sets SCIF user parameters to default values . Users can override these values utilizing the sciF_user_parameters_set () methods . @param [ in ] controller This parameter specifies the controller for which to set the configuration parameters to their default values . @return none
void scif_sas_controller_set_default_config_parameters(
   SCIF_SAS_CONTROLLER_T * this_controller
)
{
   SCIF_USER_PARAMETERS_T * scif_parms = &(this_controller->user_parameters);
   scif_parms->sas.is_sata_ncq_enabled = TRUE;
   scif_parms->sas.max_ncq_depth = 32;
   scif_parms->sas.is_sata_standby_timer_enabled = FALSE;
   scif_parms->sas.is_non_zero_buffer_offsets_enabled = FALSE;
   scif_parms->sas.reset_type = SCI_SAS_LOGICAL_UNIT_RESET;
   scif_parms->sas.clear_affiliation_during_controller_stop = TRUE;
   scif_parms->sas.ignore_fua = FALSE;
}
void scif_sas_controller_set_default_config_parameters ( SCIF_SAS_CONTROLLER_T * this_controller ) { SCIF_USER_PARAMETERS_T * scif_parms = & ( this_controller -> user_parameters ) ; scif_parms -> sas . is_sata_ncq_enabled = TRUE ; scif_parms -> sas . max_ncq_depth = 32 ; scif_parms -> sas . is_sata_standby_timer_enabled = FALSE ; scif_parms -> sas . is_non_zero_buffer_offsets_enabled = FALSE ; scif_parms -> sas . reset_type = SCI_SAS_LOGICAL_UNIT_RESET ; scif_parms -> sas . clear_affiliation_during_controller_stop = TRUE ; scif_parms -> sas . ignore_fua = FALSE ; }
@brief This method sets SCIF user parameters to
        default values.
@brief This method sets SCIF user parameters to default values .