From dd8087fddee616d43687ed6c2dcf0d12e3e9578b Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Sun, 15 Dec 2002 00:23:31 +0000 Subject: [PATCH] Apply'd hartmut sector size patch for VMware. Please report if you have problems on your platform svn path=/trunk/; revision=3876 --- reactos/drivers/storage/atapi/atapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/drivers/storage/atapi/atapi.c b/reactos/drivers/storage/atapi/atapi.c index 6fc5a5b6794..ae6f3b6a6fa 100644 --- a/reactos/drivers/storage/atapi/atapi.c +++ b/reactos/drivers/storage/atapi/atapi.c @@ -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: atapi.c,v 1.33 2002/12/13 19:35:12 ekohl Exp $ +/* $Id: atapi.c,v 1.34 2002/12/15 00:23:31 sedwards Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS ATAPI miniport driver @@ -1209,7 +1209,7 @@ AtapiFindDevices(PATAPI_MINIPORT_EXTENSION DeviceExtension, if (DeviceExtension->DeviceParams[UnitNumber].RWMultImplemented & 0x8000 && DeviceExtension->DeviceParams[UnitNumber].RWMultImplemented & 0xff) { - DeviceExtension->TransferSize[UnitNumber] *= (DeviceExtension->DeviceParams[UnitNumber].RWMultImplemented & 0xff); + DeviceExtension->TransferSize[UnitNumber] *= (DeviceExtension->DeviceParams[UnitNumber].RWMultCurrent & 0xff); DeviceExtension->MultiSectorCommand[UnitNumber] = TRUE; } else