diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2006-06-21 06:11:16 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-06-27 21:51:12 -0400 |
commit | 70c3967d4f8029f3d53323a9f0490df61d8cb77d (patch) | |
tree | 378a2f245db566c5197792c8be11e60deccf82dc /drivers/macintosh/Kconfig | |
parent | 266bee88699ddbde42ab303bbc426a105cc49809 (diff) |
[POWERPC] Convert powermac ide blink to new led infrastructure
This patch removes the old pmac ide led blink code and
adds generic LED subsystem support for the LED.
It maintains backward compatibility with the old
BLK_DEV_IDE_PMAC_BLINK Kconfig option which now
simply selects the new code and influences the
default trigger.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/macintosh/Kconfig')
-rw-r--r-- | drivers/macintosh/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/macintosh/Kconfig b/drivers/macintosh/Kconfig index 37cd6ee4586b..062dac26f2ae 100644 --- a/drivers/macintosh/Kconfig +++ b/drivers/macintosh/Kconfig | |||
@@ -78,6 +78,17 @@ config ADB_PMU | |||
78 | this device; you should do so if your machine is one of those | 78 | this device; you should do so if your machine is one of those |
79 | mentioned above. | 79 | mentioned above. |
80 | 80 | ||
81 | config ADB_PMU_LED | ||
82 | bool "Support for the Power/iBook front LED" | ||
83 | depends on ADB_PMU | ||
84 | select LEDS_CLASS | ||
85 | help | ||
86 | Support the front LED on Power/iBooks as a generic LED that can | ||
87 | be triggered by any of the supported triggers. To get the | ||
88 | behaviour of the old CONFIG_BLK_DEV_IDE_PMAC_BLINK, select this | ||
89 | and the ide-disk LED trigger and configure appropriately through | ||
90 | sysfs. | ||
91 | |||
81 | config PMAC_SMU | 92 | config PMAC_SMU |
82 | bool "Support for SMU based PowerMacs" | 93 | bool "Support for SMU based PowerMacs" |
83 | depends on PPC_PMAC64 | 94 | depends on PPC_PMAC64 |