]> err.no Git - linux-2.6/commit
[PARISC] PDC_CHASSIS is implemented on all machines
authorThibaut Varene <varenet@parisc-linux.org>
Wed, 3 May 2006 23:27:35 +0000 (17:27 -0600)
committerKyle McMartin <kyle@hera.kernel.org>
Tue, 27 Jun 2006 23:28:37 +0000 (23:28 +0000)
commit8ffaeaf42e91930888df09d696a8a6ebe056d0e0
tree7b1785ccab10b69c06f91184e382f8d96b1cc04d
parentc95f2e5f2f6f61d734a025414c9eb81872a5c831
[PARISC] PDC_CHASSIS is implemented on all machines

This patch removes a limitation of the original code, so that CHASSIS
codes can be sent to all machines. On machines with a LCD panel, this
code displays "INI" during bootup, "RUN" when the system is booted and
running, "FLT" when a panic occurs, etc.

This part of the code can be enabled/disabled through CONFIG_PDC_CHASSIS

This patch also adds minimalistic support for Chassis warnings, through
a proc entry '/proc/chassis', which will reflect the warnings status (PSU
or fans failure when they happen, NVRAM battery level and temperature
thresholds overflows).

This part of the code can be enabled/disabled through CONFIG_PDC_CHASSIS_WARN

Signed-off-by: Thibaut VARENE <varenet@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
arch/parisc/kernel/firmware.c
arch/parisc/kernel/pdc_chassis.c
drivers/parisc/Kconfig
include/asm-parisc/pdc.h