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

看板DFBSD_commit作者時間15年前 (2011/03/27 19:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 29b0d8e7b398c0db96e877a1a0ff818fc557d619 Author: Magliano Andrea <masterblaster@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
文章代碼(AID): #1DZnZ_0n (DFBSD_commit)