Commit Graph

8 Commits

Author SHA1 Message Date
cegger b9b1de19e8 previous fixed one HP laptop and broke an other HP laptop.
The one which got fixed RuntimeCount is 1. The one which broke RuntimeCount is 0.
So only decrement RuntimeCount when RuntimeCount is non-zero.
2010-11-18 18:16:15 +00:00
cegger b768b4ed61 fix AcpiEnableGpe:
GPEs get enabled at ACPI initialization. AcpiInstallGpeHandler() disables
GPEs using AcpiEvDisableGpe() w/o decrementing RuntimeCount.
So when acpiec(4) enables the GPE after installing the GPE Handler then
AcpiEnableGpe() does not call AcpiEvEnableGpe() because RuntimeCount
says it is already enabled which is wrong.
So decrement the RuntimeCount in AcpiInstallGpeHandler() right
before calling AcpiEvDisableGpe().
2010-11-18 14:40:31 +00:00
jruoho 55ce606f5a Merge ACPICA 20100528 2010-06-06 18:28:35 +00:00
jruoho ebc86364fb Import ACPICA 20100528. 2010-06-06 18:16:40 +00:00
jruoho bc17fdc088 Merge ACPICA 20100121 2010-04-08 04:31:48 +00:00
jruoho 3ed53cd7df Import ACPICA 20100121.
Selected changes between 20090730 and 20100121:

  * A "post-order callback" was added to AcpiWalkNamespace().

  * The ACPI_INTEGER type was removed and replaced with UINT64. Support for
    this type remains (for the time being) for compatibility reasons.

  * AcpiGetDevices() was optimized to not run extra _STA methods.

  * Fixed possible mutex acquisition errors when running _REG methods.

  * iASL was fixed not to fault when the maximum number of errors is
    reached.

  * Various miscellaneous fixes and improvements, including, for example,
    improved object repair capabilities, memory leak fixes, better type
    conversions, module-level code execution, etc.
2010-04-08 04:27:32 +00:00
jmcneill 2e3763cf26 Build fixes for NetBSD. 2009-08-18 16:26:10 +00:00
jmcneill 70fe0f31af initial import of acpica-20090730 2009-08-18 16:23:28 +00:00