diff options
author | peter <peter@FreeBSD.org> | 2001-07-25 22:10:56 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-07-25 22:10:56 +0000 |
commit | 3344c4cdc27e1e345d34cee2ed61020ed95a5810 (patch) | |
tree | aceb1b7261ddc1bab62c276e23e229edb59110f2 /sys/contrib | |
parent | e095d37b912eb8fc06b17fa478340df31b2dd373 (diff) | |
parent | 57aef806e0aa68de450f7911560036594871db24 (diff) | |
download | FreeBSD-src-3344c4cdc27e1e345d34cee2ed61020ed95a5810.zip FreeBSD-src-3344c4cdc27e1e345d34cee2ed61020ed95a5810.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r80357,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'sys/contrib')
-rw-r--r-- | sys/contrib/dev/acpica/hwsleep.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/contrib/dev/acpica/hwsleep.c b/sys/contrib/dev/acpica/hwsleep.c index cc4aae2..494d37d 100644 --- a/sys/contrib/dev/acpica/hwsleep.c +++ b/sys/contrib/dev/acpica/hwsleep.c @@ -298,8 +298,10 @@ AcpiEnterSleepState ( /* wait a second, then try again */ AcpiOsStall(1000000); - AcpiHwRegisterWrite(ACPI_MTX_LOCK, PM1_CONTROL, - (1 << AcpiHwGetBitShift (SLP_EN_MASK))); + if (SleepState > ACPI_STATE_S1) { + AcpiHwRegisterWrite(ACPI_MTX_LOCK, PM1_CONTROL, + (1 << AcpiHwGetBitShift (SLP_EN_MASK))); + } enable(); |