mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 06:21:42 +00:00
Fix the return value of HalReadDmaCounter at the end of transfer.
svn path=/trunk/; revision=17630
This commit is contained in:
parent
3a10e56852
commit
6561d0f414
1 changed files with 1 additions and 0 deletions
|
@ -977,6 +977,7 @@ HalReadDmaCounter(
|
||||||
KeReleaseSpinLock(&AdapterObject->MasterAdapter->SpinLock, OldIrql);
|
KeReleaseSpinLock(&AdapterObject->MasterAdapter->SpinLock, OldIrql);
|
||||||
|
|
||||||
Count++;
|
Count++;
|
||||||
|
Count &= 0xffff;
|
||||||
if (AdapterObject->Width16Bits)
|
if (AdapterObject->Width16Bits)
|
||||||
Count *= 2;
|
Count *= 2;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue