git: acpi: sync GPE with FreeBSD 8.0 (and according the acpi api)

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Mar 27 03:47:51 PDT 2011


commit 29b0d8e7b398c0db96e877a1a0ff818fc557d619
Author: Magliano Andrea <masterblaster at tiscali.it>
Date:   Thu Feb 24 17:37:44 2011 +0100

    acpi: sync GPE with FreeBSD 8.0 (and according the acpi api)
    
    * use AcpiSetGpeWakeMask(), as AcpiEnableGpe() is already done in
      embedded controller initialization code. AcpiSetGpeWakeMask()
      is needed anyway to mark the gpe as wakable.
      (AcpiEnableGpe() enableas automatically only runtime GPEs now)
    
    * using AcpiFinishGpe() in EcGpeQueryHandler() (as fbsd does) seems
      to make the system reactive as it should (was sensibly slowly
      without that)

Summary of changes:
 sys/dev/acpica5/acpi.c        |   43 ++++++++++++++--------------------------
 sys/dev/acpica5/acpi_button.c |    3 +-
 sys/dev/acpica5/acpi_ec.c     |    8 +++++++
 sys/dev/acpica5/acpi_lid.c    |    3 +-
 sys/dev/acpica5/acpivar.h     |    1 -
 5 files changed, 25 insertions(+), 33 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/29b0d8e7b398c0db96e877a1a0ff818fc557d619


-- 
DragonFly BSD source repository





More information about the Commits mailing list