]> bbs.cooldavid.org Git - net-next-2.6.git/commit
leds: leds-alix2c - take port address from MSR
authorDaniel Mack <daniel@caiaq.de>
Mon, 5 Oct 2009 12:22:27 +0000 (20:22 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 16 Dec 2009 11:30:09 +0000 (11:30 +0000)
commit7f131cf3ed96c969d7b092bf629e25c3df50901e
tree4ea2f67bb49158eb66ef5f0e90fa9350503cb0fb
parenta328e95b82c1b8483ae5ab2f809140664d7f6c92
leds: leds-alix2c - take port address from MSR

This makes the LEDs driver for ALIX2.C boards work with Coreboot by
looking up the port address in the MSR rather than hard-coding it.

The BIOS scan also needed some tweaks as the string in Coreboot differs
from the one in the legacy BIOS.

Successfully tested with both the legacy tinyBIOS as well as Coreboot
v3.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/leds/leds-alix2.c