Author: cgutman
Date: Sat Mar 13 18:07:00 2010
New Revision: 46174
URL:
http://svn.reactos.org/svn/reactos?rev=46174&view=rev
Log:
- Let the ACPI driver handle fixed feature buttons
Modified:
trunk/reactos/drivers/bus/acpi/buspdo.c
Modified: trunk/reactos/drivers/bus/acpi/buspdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/buspdo.c?…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/buspdo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/buspdo.c [iso-8859-1] Sat Mar 13 18:07:00 2010
@@ -325,6 +325,7 @@
deviceCapabilities->UniqueID = device->flags.unique_id;
deviceCapabilities->NoDisplayInUI = !device->status.show_in_ui;
deviceCapabilities->Address = device->pnp.bus_address;
+ deviceCapabilities->RawDeviceOK = FALSE;
}
else
{
@@ -335,6 +336,9 @@
deviceCapabilities->UniqueID = FALSE;
deviceCapabilities->NoDisplayInUI = FALSE;
deviceCapabilities->Address = 0;
+
+ /* The ACPI driver will run fixed buttons */
+ deviceCapabilities->RawDeviceOK = TRUE;
}
deviceCapabilities->SilentInstall = FALSE;