diff options
author | Helge Deller <deller@gmx.de> | 2023-08-27 14:50:00 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-08-28 18:58:14 +0300 |
commit | 789e527adfc335681ea4c3e347e8b500753d4fde (patch) | |
tree | ef31d7e4a1c4c940e753f9aaf8e5b30f0a9880f5 /drivers/parisc/Kconfig | |
parent | 4db89524b084f712a887256391fc19d9f66c8e55 (diff) | |
download | linux-789e527adfc335681ea4c3e347e8b500753d4fde.tar.xz |
parisc: led: Rewrite LED/LCD driver to utilizize Linux LED subsystem
Rewrite the whole driver and drop the own code to calculate load
average, disk and LAN load. Switch instead to use the in-kernel LED
subsystem, which gives us quite some advantages, e.g.
- existing triggers for heartbeat and disk/lan activity can be used
- users can configre the LEDs at will to any existing trigger via
/sys/class/leds
- less overhead since we don't need to run own timers
- fully integrated in Linux and as such cleaner code.
Note that the driver now depends on CONFIG_LEDS_CLASS which has to
be built-in and not as module.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/parisc/Kconfig')
-rw-r--r-- | drivers/parisc/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/parisc/Kconfig b/drivers/parisc/Kconfig index 2fc3222d2634..9cbcf15527b6 100644 --- a/drivers/parisc/Kconfig +++ b/drivers/parisc/Kconfig @@ -100,8 +100,9 @@ config SUPERIO config CHASSIS_LCD_LED bool "Chassis LCD and LED support" + depends on LEDS_CLASS=y default y - select VM_EVENT_COUNTERS + select LEDS_TRIGGERS help Say Y here if you want to enable support for the Heartbeat, Disk/Network activities LEDs on some PA-RISC machines, |