Skip to content

Commit 3e00a5a

Browse files
ozbenhpaulusmack
authored andcommitted
[POWERPC] Xserve cpu-meter driver
This is a small driver for the Xserve G5 CPU-meter blue LEDs on the front-panel. It might work on the Xserve G4 as well though that was not tested. It's pretty basic and could use some improvements if somebody cares doing them. :) Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
1 parent 088df4d commit 3e00a5a

4 files changed

Lines changed: 627 additions & 1 deletion

File tree

‎drivers/macintosh/Kconfig‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,4 +228,11 @@ config ANSLCD
228228
tristate "Support for ANS LCD display"
229229
depends on ADB_CUDA && PPC_PMAC
230230

231+
config PMAC_RACKMETER
232+
tristate "Support for Apple XServe front panel LEDs"
233+
depends on PPC_PMAC
234+
help
235+
This driver procides some support to control the front panel
236+
blue LEDs "vu-meter" of the XServer macs.
237+
231238
endmenu

‎drivers/macintosh/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ obj-$(CONFIG_WINDFARM_PM112) += windfarm_pm112.o windfarm_smu_sat.o \
4242
windfarm_smu_sensors.o \
4343
windfarm_max6690_sensor.o \
4444
windfarm_lm75_sensor.o windfarm_pid.o
45+
obj-$(CONFIG_PMAC_RACKMETER) += rack-meter.o

0 commit comments

Comments
 (0)