mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 02:37:06 +00:00
- 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:
parent
6481e255c2
commit
109fe2a8fd
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue