merged in MDL fix and a makefile mod from the 0.1.4 release branch. This represents...
[reactos.git] / reactos / drivers / storage / class2 / class2.c
index 4f2a5b4..55c3238 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: class2.c,v 1.40 2003/09/20 22:44:22 weiden Exp $
+/* $Id: class2.c,v 1.41 2003/10/15 22:16:44 vizzini Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -1880,7 +1880,7 @@ ScsiClassSplitRequest(IN PDEVICE_OBJECT DeviceObject,
   DeviceExtension = DeviceObject->DeviceExtension;
   CurrentStack = IoGetCurrentIrpStackLocation(Irp);
   NextStack = IoGetNextIrpStackLocation(Irp);
-  DataBuffer = MmGetMdlVirtualAddress(Irp->MdlAddress);
+  DataBuffer = MmGetSystemAddressForMdl(Irp->MdlAddress);
 
   /* Initialize transfer data for first request */
   Offset = CurrentStack->Parameters.Read.ByteOffset;