projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a10e56
)
Fix the return value of HalReadDmaCounter at the end of transfer.
author
Filip Navara
<filip.navara@gmail.com>
Sun, 4 Sep 2005 11:17:37 +0000
(11:17 +0000)
committer
Filip Navara
<filip.navara@gmail.com>
Sun, 4 Sep 2005 11:17:37 +0000
(11:17 +0000)
svn path=/trunk/; revision=17630
reactos/hal/halx86/generic/dma.c
patch
|
blob
|
history
diff --git
a/reactos/hal/halx86/generic/dma.c
b/reactos/hal/halx86/generic/dma.c
index
e5bb327
..
32ee17d
100644
(file)
--- a/
reactos/hal/halx86/generic/dma.c
+++ b/
reactos/hal/halx86/generic/dma.c
@@
-977,6
+977,7
@@
HalReadDmaCounter(
KeReleaseSpinLock(&AdapterObject->MasterAdapter->SpinLock, OldIrql);
Count++;
+ Count &= 0xffff;
if (AdapterObject->Width16Bits)
Count *= 2;