kernel_optimize_test/drivers/acpi
Karol Kozimor ffab0d9507 ACPI: asus_acpi: rework model detection
This patch reworks laptop model detection.

This addresses the Samsung P30 issue, where the INIT method would return no
object, but the implicit return in the AML interpreter would confuse the
driver. It also accounts for a newer batch of Asus models whose INIT
returns ACPI_TYPE_BUFFER instead of STRING.

The handling is now much leaner, if we get a buffer or a string, we check
against known values, in every other case we use a different path
(currently DSDT signatures). The bulk of this patch is separating the
string matching from asus_hotk_get_info() into a separate function.

This patch properly fixes http://bugme.osdl.org/show_bug.cgi?id=5067 and
http://bugme.osdl.org/show_bug.cgi?id=5092 and makes the driver fully
functional again with acpi=strict on all machines.

Signed-off-by: Karol Kozimor <sziwan@hell.org.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
2006-06-30 20:37:50 -04:00
..
dispatcher ACPI: ACPICA 20060623 2006-06-28 03:11:38 -04:00
events ACPI: ACPICA 20060623 2006-06-28 03:11:38 -04:00
executer ACPI: ACPICA 20060623 2006-06-28 03:11:38 -04:00
hardware ACPI: ACPICA 20060623 2006-06-28 03:11:38 -04:00
namespace ACPI: delete acpi_os_free(), use kfree() directly 2006-06-30 03:19:10 -04:00
parser ACPI: ACPICA 20060623 2006-06-28 03:11:38 -04:00
resources ACPI: ACPICA 20060526 2006-06-14 02:44:35 -04:00
sleep Pull button into release branch 2006-06-15 23:17:14 -04:00
tables ACPI: ACPICA 20060608 2006-06-14 02:45:47 -04:00
utilities ACPI: delete acpi_os_free(), use kfree() directly 2006-06-30 03:19:10 -04:00
ac.c ACPI: delete tracing macros from drivers/acpi/*.c 2006-06-27 00:41:40 -04:00
acpi_memhotplug.c Pull kmalloc into release branch 2006-06-30 20:07:01 -04:00
asus_acpi.c ACPI: asus_acpi: rework model detection 2006-06-30 20:37:50 -04:00
battery.c ACPI: delete acpi_os_free(), use kfree() directly 2006-06-30 03:19:10 -04:00
blacklist.c [PATCH] x86_64: Clean up and tweak ACPI blacklist year code 2006-03-25 09:10:54 -08:00
bus.c ACPI: delete tracing macros from drivers/acpi/*.c 2006-06-27 00:41:40 -04:00
button.c ACPI: delete tracing macros from drivers/acpi/*.c 2006-06-27 00:41:40 -04:00
container.c ACPI: delete acpi_os_free(), use kfree() directly 2006-06-30 03:19:10 -04:00
debug.c ACPI: delete tracing macros from drivers/acpi/*.c 2006-06-27 00:41:40 -04:00
dock.c ACPI: dock driver 2006-06-28 03:07:16 -04:00
ec.c ACPI: fix battery on HP NX6125 2006-06-28 12:44:45 -04:00
event.c ACPI: delete tracing macros from drivers/acpi/*.c 2006-06-27 00:41:40 -04:00
fan.c ACPI: delete tracing macros from drivers/acpi/*.c 2006-06-27 00:41:40 -04:00
glue.c ACPI: delete acpi_os_free(), use kfree() directly 2006-06-30 03:19:10 -04:00
hotkey.c ACPI: delete tracing macros from drivers/acpi/*.c 2006-06-27 00:41:40 -04:00
ibm_acpi.c ACPI: Allow a WAN module enable/disable on a Thinkpad X60. 2006-06-01 20:42:32 -04:00
Kconfig merge linus into release branch 2006-06-29 19:57:46 -04:00
Makefile ACPI: dock driver 2006-06-28 03:07:16 -04:00
motherboard.c ACPI: delete tracing macros from drivers/acpi/*.c 2006-06-27 00:41:40 -04:00
numa.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
osl.c Pull kmalloc into release branch 2006-06-30 20:07:01 -04:00
pci_bind.c ACPI: delete tracing macros from drivers/acpi/*.c 2006-06-27 00:41:40 -04:00
pci_irq.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2006-06-30 15:39:30 -07:00
pci_link.c ACPI: delete tracing macros from drivers/acpi/*.c 2006-06-27 00:41:40 -04:00
pci_root.c ACPI: delete tracing macros from drivers/acpi/*.c 2006-06-27 00:41:40 -04:00
power.c ACPI: delete tracing macros from drivers/acpi/*.c 2006-06-27 00:41:40 -04:00
processor_core.c ACPI: delete tracing macros from drivers/acpi/*.c 2006-06-27 00:41:40 -04:00
processor_idle.c ACPI: delete acpi_os_free(), use kfree() directly 2006-06-30 03:19:10 -04:00
processor_perflib.c ACPI: delete acpi_os_free(), use kfree() directly 2006-06-30 03:19:10 -04:00
processor_thermal.c ACPI: delete tracing macros from drivers/acpi/*.c 2006-06-27 00:41:40 -04:00
processor_throttling.c ACPI: delete tracing macros from drivers/acpi/*.c 2006-06-27 00:41:40 -04:00
scan.c Pull kmalloc into release branch 2006-06-30 20:07:01 -04:00
system.c ACPI: delete acpi_os_free(), use kfree() directly 2006-06-30 03:19:10 -04:00
tables.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
thermal.c ACPI: delete tracing macros from drivers/acpi/*.c 2006-06-27 00:41:40 -04:00
toshiba_acpi.c [ACPI] Lindent all ACPI files 2005-08-05 00:45:14 -04:00
utils.c ACPI: delete acpi_os_free(), use kfree() directly 2006-06-30 03:19:10 -04:00
video.c ACPI: delete acpi_os_free(), use kfree() directly 2006-06-30 03:19:10 -04:00