Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/acpi/acpica/Subsystem Fix for ACPI poweroff problem ...



details:   https://anonhg.NetBSD.org/src/rev/242b9099e94d
branches:  trunk
changeset: 546022:242b9099e94d
user:      tron <tron%NetBSD.org@localhost>
date:      Sat Apr 19 16:09:16 2003 +0000

description:
Fix for ACPI poweroff problem provided by Takayoshi Kochi. This resolves
PR kern/20614 by myself.

diffstat:

 sys/dev/acpi/acpica/Subsystem/hwregs.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r c1638a9976f4 -r 242b9099e94d sys/dev/acpi/acpica/Subsystem/hwregs.c
--- a/sys/dev/acpi/acpica/Subsystem/hwregs.c    Sat Apr 19 15:47:45 2003 +0000
+++ b/sys/dev/acpi/acpica/Subsystem/hwregs.c    Sat Apr 19 16:09:16 2003 +0000
@@ -117,7 +117,7 @@
  *****************************************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hwregs.c,v 1.7 2003/03/04 17:25:20 kochi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hwregs.c,v 1.8 2003/04/19 16:09:16 tron Exp $");
 
 #define __HWREGS_C__
 
@@ -189,7 +189,7 @@
         for (i = 0; i < GpeBlock->RegisterCount; i++)
         {
             Status = AcpiHwLowLevelWrite (8, 0xFF,
-                        &GpeBlock->RegisterInfo[i].StatusAddress, (UINT32) i);
+                        &GpeBlock->RegisterInfo[i].StatusAddress, (UINT32) 0);
             if (ACPI_FAILURE (Status))
             {
                 goto UnlockAndExit;



Home | Main Index | Thread Index | Old Index