• Thibaut Varene's avatar
    [PARISC] PDC_CHASSIS is implemented on all machines · 8ffaeaf4
    Thibaut Varene authored
    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: default avatarThibaut VARENE <varenet@parisc-linux.org>
    Signed-off-by: default avatarKyle McMartin <kyle@parisc-linux.org>
    8ffaeaf4
pdc_chassis.c 7.67 KB