summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-05-03 17:16:40 +0000
committerimp <imp@FreeBSD.org>2003-05-03 17:16:40 +0000
commitaa3c2ef53796c1dd9979ec6532010123c1dfa643 (patch)
tree44c23fee7c03f9e27f002c204b645e91be443941 /sys/contrib/dev
parentf251b570ed683c932c124ad7c9cd80bed84b7b1c (diff)
downloadFreeBSD-src-aa3c2ef53796c1dd9979ec6532010123c1dfa643.zip
FreeBSD-src-aa3c2ef53796c1dd9979ec6532010123c1dfa643.tar.gz
Fix halt -p. I've done this with an import because kochi-san reports
this is fixed in a newer version of ACPICA and I don't want to take this off the vendor branch for a trivial reason. This patch was applied to NetBSD by kochi-san, who also posted the patch to acpi-jp@jp.freebsd.org. # My Dell Inspiron 8000 now powers off! Submitted by: takayoshi kochi-san kochi at netbsd dot org
Diffstat (limited to 'sys/contrib/dev')
-rw-r--r--sys/contrib/dev/acpica/hwregs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/dev/acpica/hwregs.c b/sys/contrib/dev/acpica/hwregs.c
index 8f3cd18..6b74e27 100644
--- a/sys/contrib/dev/acpica/hwregs.c
+++ b/sys/contrib/dev/acpica/hwregs.c
@@ -186,7 +186,7 @@ AcpiHwClearAcpiStatus (void)
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;
OpenPOWER on IntegriCloud