- Routine Description:\r
- Sends a SCSI Request Packet to the SCSI Controller for execution.\r
-\r
- Arguments:\r
- This - Protocol instance pointer.\r
- Packet - The SCSI request packet to send to the SCSI\r
- Controller specified by the device handle.\r
- Event - If the SCSI bus where the SCSI device is attached\r
- does not support non-blocking I/O, then Event is\r
- ignored, and blocking I/O is performed.\r
- If Event is NULL, then blocking I/O is performed.\r
- If Event is not NULL and non-blocking I/O is\r
- supported, then non-blocking I/O is performed,\r
- and Event will be signaled when the SCSI Request\r
- Packet completes.\r
- Returns:\r
- EFI_SUCCESS - The SCSI Request Packet was sent by the host\r
- successfully, and TransferLength bytes were\r
- transferred to/from DataBuffer.See\r
- HostAdapterStatus, TargetStatus,\r
- SenseDataLength, and SenseData in that order\r
- for additional status information.\r
- EFI_WARN_BUFFER_TOO_SMALL - The SCSI Request Packet was executed,\r
- but the entire DataBuffer could not be transferred.\r
- The actual number of bytes transferred is returned\r
- in TransferLength. See HostAdapterStatus,\r
- TargetStatus, SenseDataLength, and SenseData in\r
- that order for additional status information.\r
- EFI_NOT_READY - The SCSI Request Packet could not be sent because\r
- there are too many SCSI Command Packets already\r
- queued.The caller may retry again later.\r
- EFI_DEVICE_ERROR - A device error occurred while attempting to send\r
- the SCSI Request Packet. See HostAdapterStatus,\r
- TargetStatus, SenseDataLength, and SenseData in\r
- that order for additional status information.\r
- EFI_INVALID_PARAMETER - The contents of CommandPacket are invalid.\r
- The SCSI Request Packet was not sent, so no\r
- additional status information is available.\r
- EFI_UNSUPPORTED - The command described by the SCSI Request Packet\r
- is not supported by the SCSI initiator(i.e., SCSI\r
- Host Controller). The SCSI Request Packet was not\r
- sent, so no additional status information is\r
- available.\r
- EFI_TIMEOUT - A timeout occurred while waiting for the SCSI\r
- Request Packet to execute. See HostAdapterStatus,\r
- TargetStatus, SenseDataLength, and SenseData in\r
- that order for additional status information.\r
+Routine Description:\r
+\r
+ Sends a SCSI Request Packet to the SCSI Controller for execution.\r
+ \r
+Arguments:\r
+\r
+ This - Protocol instance pointer.\r
+ Packet - The SCSI request packet to send to the SCSI \r
+ Controller specified by the device handle.\r
+ Event - If the SCSI bus where the SCSI device is attached\r
+ does not support non-blocking I/O, then Event is \r
+ ignored, and blocking I/O is performed. \r
+ If Event is NULL, then blocking I/O is performed.\r
+ If Event is not NULL and non-blocking I/O is \r
+ supported, then non-blocking I/O is performed,\r
+ and Event will be signaled when the SCSI Request\r
+ Packet completes.\r
+Returns:\r
+\r
+ EFI_SUCCESS - The SCSI Request Packet was sent by the host \r
+ successfully, and TransferLength bytes were \r
+ transferred to/from DataBuffer.See \r
+ HostAdapterStatus, TargetStatus, \r
+ SenseDataLength, and SenseData in that order\r
+ for additional status information.\r
+ EFI_BAD_BUFFER_SIZE - The SCSI Request Packet was executed, \r
+ but the entire DataBuffer could not be transferred.\r
+ The actual number of bytes transferred is returned\r
+ in TransferLength. See HostAdapterStatus, \r
+ TargetStatus, SenseDataLength, and SenseData in \r
+ that order for additional status information.\r
+ EFI_NOT_READY - The SCSI Request Packet could not be sent because \r
+ there are too many SCSI Command Packets already \r
+ queued.The caller may retry again later.\r
+ EFI_DEVICE_ERROR - A device error occurred while attempting to send \r
+ the SCSI Request Packet. See HostAdapterStatus, \r
+ TargetStatus, SenseDataLength, and SenseData in \r
+ that order for additional status information.\r
+ EFI_INVALID_PARAMETER - The contents of CommandPacket are invalid. \r
+ The SCSI Request Packet was not sent, so no \r
+ additional status information is available.\r
+ EFI_UNSUPPORTED - The command described by the SCSI Request Packet\r
+ is not supported by the SCSI initiator(i.e., SCSI \r
+ Host Controller). The SCSI Request Packet was not\r
+ sent, so no additional status information is \r
+ available.\r
+ EFI_TIMEOUT - A timeout occurred while waiting for the SCSI \r
+ Request Packet to execute. See HostAdapterStatus,\r
+ TargetStatus, SenseDataLength, and SenseData in \r
+ that order for additional status information.\r