mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
Juan Sánchez Jurado <juan.s.jurado@gmail.com>
- Fixed HAL DMA problem that caused floppy driver not to work (the point was that function had to copy the read sector back to the MDL buffer and it was not doing that because of the problem with braces, broken in rev is 24464). See issue #2287 for more details. svn path=/trunk/; revision=37254
This commit is contained in:
parent
34b8a16cc7
commit
abb8c42552
|
@ -1606,9 +1606,9 @@ IoFlushAdapterBuffers(
|
|||
{
|
||||
if (SlaveDma && !AdapterObject->IgnoreCount)
|
||||
Length -= HalReadDmaCounter(AdapterObject);
|
||||
}
|
||||
HalpCopyBufferMap(Mdl, RealMapRegisterBase, CurrentVa, Length, FALSE);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
MdlPagesPtr = MmGetMdlPfnArray(Mdl);
|
||||
|
|
Loading…
Reference in a new issue