git: kernel/acpi: Add quirks framework (and some quirks) from FreeBSD.
Sascha Wildner
swildner at crater.dragonflybsd.org
Wed May 14 15:09:30 PDT 2014
commit d2fa5f9560f2780d7fc8448cce5c2706576fd2b7
Author: Sascha Wildner <saw at online.de>
Date: Thu May 15 00:08:49 2014 +0200
kernel/acpi: Add quirks framework (and some quirks) from FreeBSD.
I don't know how common the signatures from the supplied quirks
are nowadays (the last addition was in 2005) but the framework
could nevertheless be useful.
For now, the ACPI_Q_MADT_IRQ0 quirk remains unimplemented because
of the way the associated code is implemented in DragonFly. This
will need further work in the future.
In-discussion-with: sephe
Summary of changes:
sys/conf/files | 6 +
sys/conf/kmod.mk | 10 +
sys/dev/acpica/Makefile | 5 +-
sys/dev/acpica/acpi.c | 3 +-
sys/dev/acpica/acpi_quirk.c | 184 ++++++++++++
sys/dev/acpica/acpi_quirks | 497 ++++++++++++++++++++++++++++++++
sys/dev/acpica/acpi_timer.c | 3 +-
sys/platform/pc32/acpica/acpi_machdep.c | 21 ++
sys/platform/pc64/acpica/acpi_machdep.c | 7 +
sys/tools/acpi_quirks2h.awk | 187 ++++++++++++
10 files changed, 918 insertions(+), 5 deletions(-)
create mode 100644 sys/dev/acpica/acpi_quirk.c
create mode 100644 sys/dev/acpica/acpi_quirks
create mode 100644 sys/tools/acpi_quirks2h.awk
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d2fa5f9560f2780d7fc8448cce5c2706576fd2b7
--
DragonFly BSD source repository
More information about the Commits
mailing list