projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
aad3e1c
)
Set a lower maximum number of iterations in AtapiSoftReset.
author
Colin Finck
<colin@reactos.org>
Sat, 12 Dec 2009 17:14:26 +0000
(17:14 +0000)
committer
Colin Finck
<colin@reactos.org>
Sat, 12 Dec 2009 17:14:26 +0000
(17:14 +0000)
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
reactos/drivers/storage/ide/uniata/id_ata.cpp
patch
|
blob
|
history
diff --git
a/reactos/drivers/storage/ide/uniata/id_ata.cpp
b/reactos/drivers/storage/ide/uniata/id_ata.cpp
index
e623985
..
e1950a4
100644
(file)
--- a/
reactos/drivers/storage/ide/uniata/id_ata.cpp
+++ b/
reactos/drivers/storage/ide/uniata/id_ata.cpp
@@
-679,7
+679,7
@@
AtapiSoftReset(
)
{
//ULONG c = chan->lChannel;
)
{
//ULONG c = chan->lChannel;
- ULONG i =
100
0 * 1000;
+ ULONG i =
3
0 * 1000;
UCHAR dma_status = 0;
KdPrint2((PRINT_PREFIX "AtapiSoftReset:\n"));
UCHAR statusByte2;
UCHAR dma_status = 0;
KdPrint2((PRINT_PREFIX "AtapiSoftReset:\n"));
UCHAR statusByte2;