Contents

SendSCSICommand

Prepare and send a SCSI command to the device.

Declaration

virtual bool SendSCSICommand (
 SCSITaskIdentifier request, 
 SCSIServiceResponse *serviceResponse, 
 SCSITaskStatus *taskStatus );

Return Value

If the command was sent to the device and is pending completion, the subclass should return true and return back the kSCSIServiceResponse_Request_In_Process response. If the command completes immediately with an error, the subclass will return true and return back the appropriate status. If the subclass is currently processing all the commands it can, the subclass will return false and the command will be resent next time CommandCompleted is called.

Overview

The incoming SCSITaskIdentifier gets turned into a IOFireWireSBP2ORB and is submitted to the SBP2 layer. See IOSCSIProtocolServices.h for more details regarding SendSCSICommand. Also see IOFireWireSBP2Lib.h for details regarding the IOFireWireSBP2ORB structure and the submitORB method.

See Also

Miscellaneous