mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 08:51:29 +00:00
[FLOPPY]
- 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:
parent
85b2720526
commit
ba7c40ca5e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue