kernel/acpi: Add quirks framework (and some quirks) from FreeBSD.
authorSascha Wildner <saw@online.de>
Wed, 14 May 2014 22:08:49 +0000 (00:08 +0200)
committerSascha Wildner <saw@online.de>
Wed, 14 May 2014 22:08:49 +0000 (00:08 +0200)
commitd2fa5f9560f2780d7fc8448cce5c2706576fd2b7
tree41b61105a6de219b0249dcc6fa44e435da7ea0bf
parent5cd512566e5aac97596790ba51c3339334af956b
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
sys/conf/files
sys/conf/kmod.mk
sys/dev/acpica/Makefile
sys/dev/acpica/acpi.c
sys/dev/acpica/acpi_quirk.c [new file with mode: 0644]
sys/dev/acpica/acpi_quirks [new file with mode: 0644]
sys/dev/acpica/acpi_timer.c
sys/platform/pc32/acpica/acpi_machdep.c
sys/platform/pc64/acpica/acpi_machdep.c
sys/tools/acpi_quirks2h.awk [new file with mode: 0644]