This commit was generated by cvs2svn to compensate for changes in r80357,

which included commits to RCS files with non-trunk default branches.
This commit is contained in:
Peter Wemm 2001-07-25 22:10:56 +00:00
commit e3d1d61f10
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=80358

View File

@ -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();