- IoMapTransfer(NULL, ..) is an old-fashioned way, for DMA master. Changing this...
authorAleksey Bragin <aleksey@reactos.org>
Sun, 9 Sep 2007 16:19:24 +0000 (16:19 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Sun, 9 Sep 2007 16:19:24 +0000 (16:19 +0000)
svn path=/trunk/; revision=28982

reactos/drivers/storage/scsiport/scsiport.c

index 9b79ee5..53d728f 100644 (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,