\r
@retval EFI_SUCCESS Successfully to discover the device and attach\r
ScsiIoProtocol to it.\r
- @retval EFI_OUT_OF_RESOURCES Fail to discover the device.\r
+ @retval EFI_NOT_FOUND Fail to discover the device.\r
+ @retval EFI_OUT_OF_RESOURCES Fail to allocate memory resources.\r
\r
**/\r
EFI_STATUS\r
\r
@param ScsiIoDevice The pointer of SCSI_IO_DEV\r
\r
- @retval TRUE Find SCSI Device and verify it.\r
- @retval FALSE Unable to find SCSI Device.\r
+ @retval EFI_SUCCESS Find SCSI Device and verify it.\r
+ @retval EFI_NOT_FOUND Unable to find SCSI Device.\r
+ @retval EFI_OUT_OF_RESOURCES Fail to allocate memory resources.\r
\r
**/\r
-BOOLEAN\r
+EFI_STATUS\r
DiscoverScsiDevice (\r
IN OUT SCSI_IO_DEV *ScsiIoDevice\r
);\r