diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2006-06-21 12:11:16 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-06-28 11:51:12 +1000 |
commit | 70c3967d4f8029f3d53323a9f0490df61d8cb77d (patch) | |
tree | 378a2f245db566c5197792c8be11e60deccf82dc /drivers/ide/Kconfig | |
parent | 266bee88699ddbde42ab303bbc426a105cc49809 (diff) | |
download | blackbird-op-linux-70c3967d4f8029f3d53323a9f0490df61d8cb77d.tar.gz blackbird-op-linux-70c3967d4f8029f3d53323a9f0490df61d8cb77d.zip |
[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/ide/Kconfig')
-rw-r--r-- | drivers/ide/Kconfig | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig index d633081fa4c5..d1266fe2d1ab 100644 --- a/drivers/ide/Kconfig +++ b/drivers/ide/Kconfig @@ -774,11 +774,18 @@ config BLK_DEV_IDEDMA_PMAC performance. config BLK_DEV_IDE_PMAC_BLINK - bool "Blink laptop LED on drive activity" + bool "Blink laptop LED on drive activity (DEPRECATED)" depends on BLK_DEV_IDE_PMAC && ADB_PMU + select ADB_PMU_LED + select LEDS_TRIGGERS + select LEDS_TRIGGER_IDE_DISK help This option enables the use of the sleep LED as a hard drive activity LED. + This option is deprecated, it only selects ADB_PMU_LED and + LEDS_TRIGGER_IDE_DISK and changes the code in the new led class + device to default to the ide-disk trigger (which should be set + from userspace via sysfs). config BLK_DEV_IDE_SWARM tristate "IDE for Sibyte evaluation boards" |