envd.h revision b29b9e18acbca49b266e291e6dc75a886c5d3d2b
2N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A#ifdef __cplusplus
2N/A#define SYSTEM_FAN0_ID 0
2N/A#define CPU0_SENSOR_ID 0
2N/A#define DISK_LOW_SHUTDOWN_TEMPERATURE 0
2N/A#define DISK0_PHYSPATH \
2N/A#define DISK1_PHYSPATH \
2N/A#define DISK2_PHYSPATH \
2N/A#define DISK3_PHYSPATH \
2N/A#define ENV_DISK0_DEVFS \
2N/A#define ENV_DISK1_DEVFS \
2N/A#define ENV_DISK2_DEVFS \
2N/A#define ENV_DISK3_DEVFS \
2N/A#define DISK0_NODE_PATH \
2N/A#define DISK1_NODE_PATH \
2N/A#define DISK2_NODE_PATH \
2N/A#define DISK3_NODE_PATH \
2N/A#define SCSI_CONTROLLER_NODE_PATH \
2N/A#define ENV_SYSTEM_FAN0_DEVFS \
2N/A#define ENV_SYSTEM_FAN1_DEVFS \
2N/A#define ENV_SYSTEM_FAN2_DEVFS \
2N/A#define ENV_SYSTEM_FAN3_DEVFS \
2N/A#define ENV_SYSTEM_FAN4_DEVFS \
2N/A#define SENSOR_CPU0_DEVFS \
2N/A#define SENSOR_CPU1_DEVFS \
2N/A#define SENSOR_MB_DEVFS \
2N/A#define SENSOR_ADT7462_DEVFS \
2N/A#define SENSOR_LM95221_DEVFS \
2N/A#define SENSOR_FIRE_DEVFS \
2N/A#define SENSOR_LSI1064_DEVFS \
2N/A#define SENSOR_FRONT_PANEL_DEVFS \
2N/A#define SENSOR_PSU_DEVFS \
2N/A#define CPU0_LOW_SHUTDOWN 0
2N/A#define CPU0_LOW_POWER_OFF 0
2N/A#define CPU1_LOW_SHUTDOWN 0
2N/A#define CPU1_LOW_POWER_OFF 0
2N/A#define ADT7462_LOW_SHUTDOWN 0
2N/A#define ADT7462_LOW_POWER_OFF 0
2N/A#define MB_LOW_SHUTDOWN 0
2N/A#define MB_LOW_POWER_OFF 0
2N/A#define LM95221_LOW_SHUTDOWN 0
2N/A#define LM95221_LOW_POWER_OFF 0
2N/A#define FIRE_LOW_SHUTDOWN 0
2N/A#define FIRE_LOW_POWER_OFF 0
2N/A#define LSI1064_LOW_SHUTDOWN 0
2N/A#define LSI1064_LOW_POWER_OFF 0
2N/A#define FRONT_PANEL_LOW_SHUTDOWN 0
2N/A#define FRONT_PANEL_LOW_POWER_OFF 0
2N/A#define PSU_LOW_SHUTDOWN 0
2N/A#define PSU_LOW_POWER_OFF 0
2N/Atypedef struct env_sensor {
} env_sensor_t;
typedef struct env_disk {
int current_temp;
int ref_temp;
int reliability_temp;
} env_disk_t;
typedef int fanspeed_t;
typedef struct env_fan {
} env_fan_t;
typedef struct env_tuneable {
char *name;
char type;
void *value;
int nbytes;
typedef struct smart_field {
typedef struct smart_struct {
extern int env_debug;
#define ENVD_PLUGIN_INIT_FAILED \
#define ENVD_PICL_SETUP_FAILED \
#define PM_THREAD_CREATE_FAILED \
#define PM_THREAD_EXITING \
#define DISK_TEMP_THREAD_EXITING \
#define ENVTHR_THREAD_CREATE_FAILED \
#define ENV_SHUTDOWN_MSG \
#define ENV_WARNING_MSG \
#define ENV_FAN_OPEN_FAIL \
#define ENV_SENSOR_OPEN_FAIL \
#define ENV_SENSOR_ACCESS_FAIL \
#define ENV_SENSOR_ACCESS_OK \
#define ENV_FAN_FAILURE_WARNING_MSG \
#define ENV_FAN_OK_MSG \
#define ENV_FRU_OPEN_FAIL \
#define ENV_FRU_BAD_ENVSEG \
#define ENV_FRU_BAD_SCNHDR \
#define ENV_FRU_NOMEM_FOR_SEG \
#define ENV_DEFAULT_LIMITS \
#ifdef __cplusplus