Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/reboot.h>
#include <linux/notifier.h>
#include <linux/cache.h>
#include <linux/proc_fs.h>
#include <asm/pdc_chassis.h>
#include <asm/processor.h>
#include <asm/pdc.h>
#include <asm/pdcpat.h>
Go to the source code of this file.
Macros | |
#define | DPRINTK(fmt, args...) |
#define | PDC_CHASSIS_VER "0.05" |
Functions | |
void __init | parisc_pdc_chassis_init (void) |
int | pdc_chassis_send_status (int message) |
#define DPRINTK | ( | fmt, | |
args... | |||
) |
Definition at line 29 of file pdc_chassis.c.
#define PDC_CHASSIS_VER "0.05" |
Definition at line 44 of file pdc_chassis.c.
parisc_pdc_chassis_init() - Called at boot time.
Definition at line 135 of file pdc_chassis.c.
pdc_chassis_send_status() - Sends a predefined message to the chassis, and changes the front panel LEDs according to the new system state
PDC call return value. |
Only machines with 64 bits PDC PAT and those reported in pdc_chassis_checkold() are supported atm.
returns 0 if no error, -1 if no supported PDC is present or invalid message, else returns the appropriate PDC error code.
For a list of predefined messages, see asm-parisc/pdc_chassis.h
Definition at line 171 of file pdc_chassis.c.