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:
Aleksey Bragin 2008-11-09 08:23:16 +00:00
parent 34b8a16cc7
commit abb8c42552

View file

@ -1606,9 +1606,9 @@ IoFlushAdapterBuffers(
{
if (SlaveDma && !AdapterObject->IgnoreCount)
Length -= HalReadDmaCounter(AdapterObject);
}
HalpCopyBufferMap(Mdl, RealMapRegisterBase, CurrentVa, Length, FALSE);
}
}
else
{
MdlPagesPtr = MmGetMdlPfnArray(Mdl);