thinkpad-acpi: fix detection of old ThinkPads
commite75aa4f7021fa5813ff5d2b17ee289ef2279ce94
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Wed, 7 Jul 2010 02:06:34 +0000 (6 23:06 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Wed, 7 Jul 2010 02:06:34 +0000 (6 23:06 -0300)
treeda5ba3fc2dd5cfbce0870fb9ee2cec47697ca73b
parent9aeb0b328f5ccfd78e96d84a56c46b99e2f479b8
thinkpad-acpi: fix detection of old ThinkPads

There is a problem in the quirk tables used by tpacpi_is_fw_known()
and tpacpi_check_outdated_fw(), which causes outdated BIOSes that are
lacking the EC firmware ID DMI field to never match.

This breaks module loading on, e.g. a T23 with outdated BIOS, and the
module will refuse to load unless the "force_load=1" parameter is
given.

Fix the quirk tables so that they can also match the outdated BIOSes,
which in turn will both fix the module loading, and also warn the user
that he is using outdated firmware and should upgrade.

This fixes a serious regression, introduced by commit
e675abafcc0df38125e6e94a9ba91c92fe774f52,
"thinkpad-acpi: be more strict when detecting a ThinkPad".

Tracked by bugzilla #14597.

Reported-by: Paul Kimoto <kimoto@lightlink.com>
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Tested-by: Paul Kimoto <kimoto@lightlink.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
drivers/platform/x86/thinkpad_acpi.c