FreeBSD/sys/dev/isci/isci_task_request.c
/**
 * @brief This method returns the task management function to be utilized
 *        for this task request.
 *
 * @note The contents of the value returned from this callback are defined
 *       by the protocol standard (e.g. T10 SAS specification).  Please
 *       refer to the transport task information unit description
 *       in the associated standard.
 *
 * @param[in] scif_user_task_request This parameter points to the user's
 *            task request object.  It is a cookie that allows the user to
 *            provide the necessary information for this callback.
 *
 * @return This method returns an unsigned byte representing the task
 *         management function to be performed.
 */
@brief This method returns the task management function to be utilized
for this task request.

@note The contents of the value returned from this callback are defined
by the protocol standard .  Please
refer to the transport task information unit description
in the associated standard.

@param[in] scif_user_task_request This parameter points to the user's
task request object.  It is a cookie that allows the user to
provide the necessary information for this callback.

@return This method returns an unsigned byte representing the task
management function to be performed.
@brief This method returns the task management function to be utilized for this task request . @note The contents of the value returned from this callback are defined by the protocol standard . Please refer to the transport task information unit description in the associated standard . @param [ in ] scif_user_task_request This parameter points to the user ' s task request object . It is a cookie that allows the user to provide the necessary information for this callback . @return This method returns an unsigned byte representing the task management function to be performed .
uint8_t scif_cb_task_request_get_function(void * scif_user_task_request)
{
	return (SCI_SAS_HARD_RESET);
}
uint8_t scif_cb_task_request_get_function ( void * scif_user_task_request ) { return ( SCI_SAS_HARD_RESET ) ; }
@brief This method returns the task management function to be utilized
        for this task request.
@brief This method returns the task management function to be utilized for this task request .
/* SCIL supports many types of task management functions, but this
	 *  driver only uses HARD_RESET.
	 */