ACPI: thinkpad-acpi: allow use of CMOS NVRAM for brightness control
commit1f4bfa201e4983c48cc9d1f6fc9832efc29fcc65
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 7 Jul 2007 01:37:57 +0000 (6 22:37 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Mon, 9 Jul 2007 12:47:11 +0000 (9 09:47 -0300)
treed2d052bba8bde22bc0cc752517830103dc091d3d
parent7d9fd491e7fe032380a8d9af90cd55259b343b86
ACPI: thinkpad-acpi: allow use of CMOS NVRAM for brightness control

It appears that Lenovo, in its efforts to support Vista's ACPI 2.0, decided
to break the EC brightness control interface in a weird way.  Fortunately,
the old CMOS NVRAM interface works just fine in the Lenovo ThinkPad models.

Add a module parameter that allows the user to select which strategy to use
for brightness control: EC, NVRAM, or both.  By default, do both (which is
the way thinkpad-acpi used to work until now) on IBM ThinkPads, and use
NVRAM only on Lenovo ThinkPads.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Documentation/thinkpad-acpi.txt
drivers/misc/thinkpad_acpi.c
drivers/misc/thinkpad_acpi.h