mirror of
https://github.com/reactos/reactos.git
synced 2025-05-18 00:31:27 +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
1 changed files with 4 additions and 1 deletions
|
@ -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