Author: cgutman
Date: Sun Mar 14 00:01:58 2010
New Revision: 46192
URL:
http://svn.reactos.org/svn/reactos?rev=46192&view=rev
Log:
- Fix a typo in AcpiOsReadPciConfiguration and AcpiOsWritePciConfiguration
- May fix ACPI on VMware
Modified:
trunk/reactos/drivers/bus/acpi/osl.c
Modified: trunk/reactos/drivers/bus/acpi/osl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/osl.c?rev…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/osl.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/osl.c [iso-8859-1] Sun Mar 14 00:01:58 2010
@@ -470,7 +470,7 @@
return AE_ERROR;
slot.u.AsULONG = 0;
- slot.u.bits.DeviceNumber = PciId->Bus;
+ slot.u.bits.DeviceNumber = PciId->Device;
slot.u.bits.FunctionNumber = PciId->Function;
DPRINT("AcpiOsReadPciConfiguration, slot=0x%X, func=0x%X\n",
slot.u.AsULONG, Register);
@@ -502,7 +502,7 @@
return AE_ERROR;
slot.u.AsULONG = 0;
- slot.u.bits.DeviceNumber = PciId->Bus;
+ slot.u.bits.DeviceNumber = PciId->Device;
slot.u.bits.FunctionNumber = PciId->Function;
DPRINT("AcpiOsWritePciConfiguration, slot=0x%x\n", slot.u.AsULONG);