FreeBSD/sys/dev/isci/scil/sati_util.c
/**
 * @brief This method extract response code based on on device settings.
 *
 * @return response code
 */
@brief This method extract response code based on on device settings.
@return response code
@brief This method extract response code based on on device settings . @return response code
static
U8 sati_scsi_get_sense_data_response_code(SATI_TRANSLATOR_SEQUENCE_T * sequence)
{
    if (sequence->device->descriptor_sense_enable)
    {
       return SCSI_DESCRIPTOR_CURRENT_RESPONSE_CODE;
    }
    else
    {
       return SCSI_FIXED_CURRENT_RESPONSE_CODE;
    }
}
static U8 sati_scsi_get_sense_data_response_code ( SATI_TRANSLATOR_SEQUENCE_T * sequence ) { if ( sequence -> device -> descriptor_sense_enable ) { return SCSI_DESCRIPTOR_CURRENT_RESPONSE_CODE ; } else { return SCSI_FIXED_CURRENT_RESPONSE_CODE ; } }
@brief This method extract response code based on on device settings.
@brief This method extract response code based on on device settings .