//\r
// SCSI Disk Timeout Experience Value\r
//\r
-// As ScsiDisk and ScsiBus driver are used to manage SCSI or ATAPI devices, the timout\r
+// As ScsiDisk and ScsiBus driver are used to manage SCSI or ATAPI devices, the timeout\r
// value is updated to 30s to follow ATA/ATAPI spec in which the device may take up to 30s\r
// to respond command.\r
//\r
@retval EFI_SUCCESS The device was reset.\r
@retval EFI_DEVICE_ERROR The device is not functioning properly and could\r
not be reset.\r
- @return EFI_STATUS is retured from EFI_SCSI_IO_PROTOCOL.ResetDevice().\r
+ @return EFI_STATUS is returned from EFI_SCSI_IO_PROTOCOL.ResetDevice().\r
\r
**/\r
EFI_STATUS\r
@retval EFI_WRITE_PROTECTED The device can not be written to.\r
@retval EFI_DEVICE_ERROR Fail to detect media.\r
@retval EFI_NO_MEDIA Media is not present.\r
- @retval EFI_MEDIA_CHNAGED Media has changed.\r
+ @retval EFI_MEDIA_CHANGED Media has changed.\r
@retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block size of the device.\r
@retval EFI_INVALID_PARAMETER Invalid parameter passed in.\r
\r
\r
When encountering error during the process, if retrieve sense keys before\r
error encountered, it returns the sense keys with return status set to EFI_SUCCESS,\r
- and NeedRetry set to FALSE; otherwize, return the proper return status.\r
+ and NeedRetry set to FALSE; otherwise, return the proper return status.\r
\r
@param ScsiDiskDevice The pointer of SCSI_DISK_DEV\r
@param NeedRetry The pointer of flag indicates if need a retry\r
@param SenseCounts The number of sense key\r
\r
@retval TRUE Media is changed.\r
- @retval FALSE Medit is NOT changed.\r
+ @retval FALSE Media is NOT changed.\r
**/\r
BOOLEAN\r
ScsiDiskIsMediaChange (\r