FreeBSD/sys/dev/isci/scil/scic_sds_remote_device.c
/**
 * This method will perform the STP request start processing common
 * to IO requests and task requests of all types.
 *
 * @param[in] device This parameter specifies the device for which the
 *            request is being started.
 * @param[in] request This parameter specifies the request being started.
 * @param[in] status This parameter specifies the current start operation
 *            status.
 *
 * @return none
 */
This method will perform the STP request start processing common
to IO requests and task requests of all types.

@param[in] device This parameter specifies the device for which the
request is being started.
@param[in] request This parameter specifies the request being started.
@param[in] status This parameter specifies the current start operation
status.

@return none
This method will perform the STP request start processing common to IO requests and task requests of all types . @param [ in ] device This parameter specifies the device for which the request is being started . @param [ in ] request This parameter specifies the request being started . @param [ in ] status This parameter specifies the current start operation status . @return none
void scic_sds_remote_device_start_request(
   SCIC_SDS_REMOTE_DEVICE_T * this_device,
   SCIC_SDS_REQUEST_T       * the_request,
   SCI_STATUS                 status
)
{
   if (status == SCI_SUCCESS)
      scic_sds_remote_device_increment_request_count(this_device);
   else
   {
      this_device->owning_port->state_handlers->complete_io_handler(
         this_device->owning_port, this_device, the_request
      );
   }
}
void scic_sds_remote_device_start_request ( SCIC_SDS_REMOTE_DEVICE_T * this_device , SCIC_SDS_REQUEST_T * the_request , SCI_STATUS status ) { if ( status == SCI_SUCCESS ) scic_sds_remote_device_increment_request_count ( this_device ) ; else { this_device -> owning_port -> state_handlers -> complete_io_handler ( this_device -> owning_port , this_device , the_request ) ; } }
This method will perform the STP request start processing common
 to IO requests and task requests of all types.
This method will perform the STP request start processing common to IO requests and task requests of all types .
// We still have a fault in starting the io complete it on the port