mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
This commit is contained in:
parent
d0a7944aac
commit
0f78c17f6f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue