Go to the documentation of this file.
11 #ifndef _SPARC64_ENVCTRL_H
12 #define _SPARC64_ENVCTRL_H 1
47 #define ENVCTRL_RD_CPU_TEMPERATURE _IOR('p', 0x40, int)
48 #define ENVCTRL_RD_CPU_VOLTAGE _IOR('p', 0x41, int)
49 #define ENVCTRL_RD_FAN_STATUS _IOR('p', 0x42, int)
50 #define ENVCTRL_RD_WARNING_TEMPERATURE _IOR('p', 0x43, int)
51 #define ENVCTRL_RD_SHUTDOWN_TEMPERATURE _IOR('p', 0x44, int)
52 #define ENVCTRL_RD_VOLTAGE_STATUS _IOR('p', 0x45, int)
53 #define ENVCTRL_RD_SCSI_TEMPERATURE _IOR('p', 0x46, int)
54 #define ENVCTRL_RD_ETHERNET_TEMPERATURE _IOR('p', 0x47, int)
55 #define ENVCTRL_RD_MTHRBD_TEMPERATURE _IOR('p', 0x48, int)
57 #define ENVCTRL_RD_GLOBALADDRESS _IOR('p', 0x49, int)
60 #define ENVCTRL_VOLTAGE_POWERSUPPLY_GOOD 0x01
61 #define ENVCTRL_VOLTAGE_BAD 0x02
62 #define ENVCTRL_POWERSUPPLY_BAD 0x03
63 #define ENVCTRL_VOLTAGE_POWERSUPPLY_BAD 0x04
92 #define ENVCTRL_ALL_FANS_GOOD 0x00
93 #define ENVCTRL_FAN0_FAILURE_MASK 0x01
94 #define ENVCTRL_FAN1_FAILURE_MASK 0x02
95 #define ENVCTRL_FAN2_FAILURE_MASK 0x04
96 #define ENVCTRL_FAN3_FAILURE_MASK 0x08
97 #define ENVCTRL_FAN4_FAILURE_MASK 0x10
98 #define ENVCTRL_FAN5_FAILURE_MASK 0x20
99 #define ENVCTRL_FAN6_FAILURE_MASK 0x40
100 #define ENVCTRL_FAN7_FAILURE_MASK 0x80
101 #define ENVCTRL_ALL_FANS_BAD 0xFF