summaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/pdc.h
diff options
context:
space:
mode:
authorThibaut Varene <varenet@parisc-linux.org>2006-05-03 17:27:35 -0600
committerKyle McMartin <kyle@hera.kernel.org>2006-06-27 23:28:37 +0000
commit8ffaeaf42e91930888df09d696a8a6ebe056d0e0 (patch)
tree7b1785ccab10b69c06f91184e382f8d96b1cc04d /include/asm-parisc/pdc.h
parentc95f2e5f2f6f61d734a025414c9eb81872a5c831 (diff)
[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>
Diffstat (limited to 'include/asm-parisc/pdc.h')
-rw-r--r--include/asm-parisc/pdc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-parisc/pdc.h b/include/asm-parisc/pdc.h
index 08364f957e7..7d8a71a2854 100644
--- a/include/asm-parisc/pdc.h
+++ b/include/asm-parisc/pdc.h
@@ -719,6 +719,7 @@ void setup_pdc(void); /* in inventory.c */
int pdc_add_valid(unsigned long address);
int pdc_chassis_info(struct pdc_chassis_info *chassis_info, void *led_info, unsigned long len);
int pdc_chassis_disp(unsigned long disp);
+int pdc_chassis_warn(unsigned long *warn);
int pdc_coproc_cfg(struct pdc_coproc_cfg *pdc_coproc_info);
int pdc_iodc_read(unsigned long *actcnt, unsigned long hpa, unsigned int index,
void *iodc_data, unsigned int iodc_data_size);