mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +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);
|
||||
|
||||
Count++;
|
||||
Count &= 0xffff;
|
||||
if (AdapterObject->Width16Bits)
|
||||
Count *= 2;
|
||||
|
||||
|
|
Loading…
Reference in a new issue