- IoMapTransfer(NULL, ..) is an old-fashioned way, for DMA master. Changing this back to NULL, since ReactOS's implementation seem to take this into account.

svn path=/trunk/; revision=28982
This commit is contained in:
Aleksey Bragin 2007-09-09 16:19:24 +00:00
parent 6481e255c2
commit 109fe2a8fd

View file

@ -3098,7 +3098,7 @@ SpiAdapterControl(PDEVICE_OBJECT DeviceObject,
break;
ScatterGatherList->Length = Srb->DataTransferLength - TotalLength;
ScatterGatherList->PhysicalAddress = IoMapTransfer(DeviceExtension->AdapterObject,
ScatterGatherList->PhysicalAddress = IoMapTransfer(NULL,
Irp->MdlAddress,
MapRegisterBase,
DataVA + TotalLength,