ACPI: thinkpad-acpi: allow use of CMOS NVRAM for brightness control
commit028270c6378880f392ffe115d1cb450832f2fe79
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 7 Jul 2007 04:37:57 +0000 (7 01:37 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 23 Sep 2007 12:31:01 +0000 (23 09:31 -0300)
treed938cf4a5f91bb67bce34fa7c351fe6ff27980bf
parentf779d3d3abba05277766222306be8941f19a6d67
ACPI: thinkpad-acpi: allow use of CMOS NVRAM for brightness control

It appears that Lenovo decided to break the EC brightness control interface
in a weird way in their latest BIOSes.  Fortunately, the old CMOS NVRAM
interface works just fine in such BIOSes.

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/Kconfig
drivers/misc/thinkpad_acpi.c
drivers/misc/thinkpad_acpi.h