From abb8c425526d222c4d823bae8da0453c65e43117 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Sun, 9 Nov 2008 08:23:16 +0000 Subject: [PATCH] =?UTF-8?q?Juan=20S=C3=A1nchez=20Jurado=20=20-=20Fixed=20HAL=20DMA=20problem=20that=20caused=20f?= =?UTF-8?q?loppy=20driver=20not=20to=20work=20(the=20point=20was=20that=20?= =?UTF-8?q?function=20had=20to=20copy=20the=20read=20sector=20back=20to=20?= =?UTF-8?q?the=20MDL=20buffer=20and=20it=20was=20not=20doing=20that=20beca?= =?UTF-8?q?use=20of=20the=20problem=20with=20braces,=20broken=20in=20rev?= =?UTF-8?q?=20is=2024464).=20See=20issue=20#2287=20for=20more=20details.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/; revision=37254 --- reactos/hal/halx86/generic/dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/hal/halx86/generic/dma.c b/reactos/hal/halx86/generic/dma.c index 293a2771bcf..f8f36b842b6 100644 --- a/reactos/hal/halx86/generic/dma.c +++ b/reactos/hal/halx86/generic/dma.c @@ -1606,9 +1606,9 @@ IoFlushAdapterBuffers( { if (SlaveDma && !AdapterObject->IgnoreCount) Length -= HalReadDmaCounter(AdapterObject); + } HalpCopyBufferMap(Mdl, RealMapRegisterBase, CurrentVa, Length, FALSE); } - } else { MdlPagesPtr = MmGetMdlPfnArray(Mdl);