mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 00:20:34 +00:00
Set a lower maximum number of iterations in AtapiSoftReset.
This reduces the UniATA bootup time in VMware (which doesn't seem to clear the IDE_STATUS_BUSY flag) from 70 seconds to around 8. Tested successfully under QEMU, VBox, VMware and an Athlon XP-based system. svn path=/trunk/; revision=44552
This commit is contained in:
parent
aad3e1c393
commit
c42afd308e
1 changed files with 1 additions and 1 deletions
|
@ -679,7 +679,7 @@ AtapiSoftReset(
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
//ULONG c = chan->lChannel;
|
//ULONG c = chan->lChannel;
|
||||||
ULONG i = 1000 * 1000;
|
ULONG i = 30 * 1000;
|
||||||
UCHAR dma_status = 0;
|
UCHAR dma_status = 0;
|
||||||
KdPrint2((PRINT_PREFIX "AtapiSoftReset:\n"));
|
KdPrint2((PRINT_PREFIX "AtapiSoftReset:\n"));
|
||||||
UCHAR statusByte2;
|
UCHAR statusByte2;
|
||||||
|
|
Loading…
Reference in a new issue