Commit in reactos/drivers/bus/acpi/ospm on MAIN
acpisys.c+3-21.5 -> 1.6
bn.c+4-11.1 -> 1.2
osl.c+1-11.8 -> 1.9
+8-4
3 modified files
fix powerdown when reactos shortdown by Herv� Poussineau

reactos/drivers/bus/acpi/ospm
acpisys.c 1.5 -> 1.6
diff -u -r1.5 -r1.6
--- acpisys.c	5 May 2002 14:57:44 -0000	1.5
+++ acpisys.c	25 Dec 2004 00:44:49 -0000	1.6
@@ -1,4 +1,4 @@
-/* $Id: acpisys.c,v 1.5 2002/05/05 14:57:44 chorns Exp $
+/* $Id: acpisys.c,v 1.6 2004/12/25 00:44:49 greatlrd Exp $
  *
  * PROJECT:         ReactOS ACPI bus driver
  * FILE:            acpi/ospm/acpisys.c
@@ -83,7 +83,7 @@
   if (DeviceExtension->IsFDO) {
     Status = FdoPnpControl(DeviceObject, Irp);
   } else {
-    Status = FdoPnpControl(DeviceObject, Irp);
+    Status = PdoPnpControl(DeviceObject, Irp);
   }
 
   return Status;
@@ -135,6 +135,7 @@
   DeviceExtension = (PFDO_DEVICE_EXTENSION)Fdo->DeviceExtension;
 
   DeviceExtension->Pdo = PhysicalDeviceObject;
+  DeviceExtension->Common.IsFDO = TRUE;
 
   DeviceExtension->Common.Ldo =
     IoAttachDeviceToDeviceStack(Fdo, PhysicalDeviceObject);

reactos/drivers/bus/acpi/ospm
bn.c 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- bn.c	5 May 2001 19:15:44 -0000	1.1
+++ bn.c	25 Dec 2004 00:44:49 -0000	1.2
@@ -1,7 +1,7 @@
 /*****************************************************************************
  *
  * Module Name: bn.c
- *   $Revision: 1.1 $
+ *   $Revision: 1.2 $
  *
  *****************************************************************************/
 
@@ -360,6 +360,9 @@
 	 */
 	MEMCPY(criteria.hid, BN_HID_LID_SWITCH, sizeof(BN_HID_LID_SWITCH));
 	status = bm_register_driver(&criteria, &driver);
+	
+	if (status == AE_NOT_FOUND)
+		status = AE_OK;
 
 	return_ACPI_STATUS(status);
 }

reactos/drivers/bus/acpi/ospm
osl.c 1.8 -> 1.9
diff -u -r1.8 -r1.9
--- osl.c	15 May 2004 22:45:50 -0000	1.8
+++ osl.c	25 Dec 2004 00:44:49 -0000	1.9
@@ -228,7 +228,7 @@
     DIrql,
     DIrql,
     LevelSensitive, /* FIXME: LevelSensitive or Latched? */
-    FALSE,
+    TRUE,
     Affinity,
     FALSE);
   if (!NT_SUCCESS(Status)) {
CVSspam 0.2.8