- Report recalibration failure if the EC flag is set after seeking to fix a hang while trying to read
- Thanks to igorko for testing

svn path=/trunk/; revision=53006
This commit is contained in:
Cameron Gutman 2011-07-31 18:47:35 +00:00
parent 85b2720526
commit ba7c40ca5e

View file

@ -448,7 +448,10 @@ HwRecalibrateResult(PCONTROLLER_INFO ControllerInfo)
/* Is the equipment check flag set? Could be no disk in drive... */
if((Buffer[0] & SR0_EQUIPMENT_CHECK) == SR0_EQUIPMENT_CHECK)
INFO_(FLOPPY, "HwRecalibrateResult: Seeked to track 0 successfully, but EC is set; returning STATUS_SUCCESS anyway\n");
{
WARN_(FLOPPY, "HwRecalibrateResult: Seeked to track 0 successfully, but EC is set; returning failure\n");
return STATUS_UNSUCCESSFUL;
}
return STATUS_SUCCESS;
}