diff options
author | Karol Kozimor <sziwan@hell.org.pl> | 2006-07-01 01:11:00 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-07-01 02:37:50 +0200 |
commit | ffab0d9507dc527ff6d704ec5e7e7ccfee119fb1 (patch) | |
tree | b19a776fa4df3619583173f1b14348220eb7f294 /drivers/acpi/resources/rsmisc.c | |
parent | ACPI: asus_acpi: support L5D (diff) | |
download | linux-ffab0d9507dc527ff6d704ec5e7e7ccfee119fb1.tar.xz linux-ffab0d9507dc527ff6d704ec5e7e7ccfee119fb1.zip |
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>
Diffstat (limited to 'drivers/acpi/resources/rsmisc.c')
0 files changed, 0 insertions, 0 deletions