xref: /titanic_51/usr/src/cmd/picl/plugins/sun4v/include/picloids.h (revision 0d63ce2b32a9e1cc8ed71d4d92536c44d66a530a)
1*0d63ce2bSvenki /*
2*0d63ce2bSvenki  * CDDL HEADER START
3*0d63ce2bSvenki  *
4*0d63ce2bSvenki  * The contents of this file are subject to the terms of the
5*0d63ce2bSvenki  * Common Development and Distribution License (the "License").
6*0d63ce2bSvenki  * You may not use this file except in compliance with the License.
7*0d63ce2bSvenki  *
8*0d63ce2bSvenki  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*0d63ce2bSvenki  * or http://www.opensolaris.org/os/licensing.
10*0d63ce2bSvenki  * See the License for the specific language governing permissions
11*0d63ce2bSvenki  * and limitations under the License.
12*0d63ce2bSvenki  *
13*0d63ce2bSvenki  * When distributing Covered Code, include this CDDL HEADER in each
14*0d63ce2bSvenki  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*0d63ce2bSvenki  * If applicable, add the following below this CDDL HEADER, with the
16*0d63ce2bSvenki  * fields enclosed by brackets "[]" replaced with your own identifying
17*0d63ce2bSvenki  * information: Portions Copyright [yyyy] [name of copyright owner]
18*0d63ce2bSvenki  *
19*0d63ce2bSvenki  * CDDL HEADER END
20*0d63ce2bSvenki  */
21*0d63ce2bSvenki 
22*0d63ce2bSvenki /*
23*0d63ce2bSvenki  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
24*0d63ce2bSvenki  * Use is subject to license terms.
25*0d63ce2bSvenki  */
26*0d63ce2bSvenki 
27*0d63ce2bSvenki #ifndef	_PICLOIDS_H
28*0d63ce2bSvenki #define	_PICLOIDS_H
29*0d63ce2bSvenki 
30*0d63ce2bSvenki #pragma ident	"%Z%%M%	%I%	%E% SMI"
31*0d63ce2bSvenki 
32*0d63ce2bSvenki #ifdef	__cplusplus
33*0d63ce2bSvenki extern "C" {
34*0d63ce2bSvenki #endif
35*0d63ce2bSvenki 
36*0d63ce2bSvenki /*
37*0d63ce2bSvenki  * IETF OIDs (not all are used by PICL)
38*0d63ce2bSvenki  */
39*0d63ce2bSvenki #define	OID_ISO				"1"
40*0d63ce2bSvenki #define	OID_ORG				OID_ISO ".3"
41*0d63ce2bSvenki #define	OID_DOD				OID_ORG ".6"
42*0d63ce2bSvenki #define	OID_INTERNET			OID_DOD ".1"
43*0d63ce2bSvenki 
44*0d63ce2bSvenki #define	OID_PRIVATE			OID_INTERNET ".4"
45*0d63ce2bSvenki #define	OID_ENTERPRISES			OID_PRIVATE ".1"
46*0d63ce2bSvenki #define	OID_SUN				OID_ENTERPRISES ".42"
47*0d63ce2bSvenki 
48*0d63ce2bSvenki #define	OID_MGMT			OID_INTERNET ".2"
49*0d63ce2bSvenki #define	OID_MIB2			OID_MGMT ".1"
50*0d63ce2bSvenki #define	OID_entityMIB			OID_MIB2 ".47"
51*0d63ce2bSvenki #define	OID_entityMIBObjects		OID_entityMIB ".1"
52*0d63ce2bSvenki 
53*0d63ce2bSvenki #define	OID_entityPhysical		OID_entityMIBObjects ".1"
54*0d63ce2bSvenki #define	OID_entPhysicalTable		OID_entityPhysical ".1"
55*0d63ce2bSvenki #define	OID_entPhysicalEntry		OID_entPhysicalTable ".1"
56*0d63ce2bSvenki 
57*0d63ce2bSvenki #define	OID_entPhysicalIndex		OID_entPhysicalEntry ".1"
58*0d63ce2bSvenki #define	OID_entPhysicalDescr		OID_entPhysicalEntry ".2"
59*0d63ce2bSvenki #define	OID_entPhysicalVendorType	OID_entPhysicalEntry ".3"
60*0d63ce2bSvenki #define	OID_entPhysicalContainedIn	OID_entPhysicalEntry ".4"
61*0d63ce2bSvenki #define	OID_entPhysicalClass		OID_entPhysicalEntry ".5"
62*0d63ce2bSvenki #define	OID_entPhysicalParentRelPos	OID_entPhysicalEntry ".6"
63*0d63ce2bSvenki #define	OID_entPhysicalName		OID_entPhysicalEntry ".7"
64*0d63ce2bSvenki #define	OID_entPhysicalHardwareRev	OID_entPhysicalEntry ".8"
65*0d63ce2bSvenki #define	OID_entPhysicalFirmwareRev	OID_entPhysicalEntry ".9"
66*0d63ce2bSvenki #define	OID_entPhysicalSoftwareRev	OID_entPhysicalEntry ".10"
67*0d63ce2bSvenki #define	OID_entPhysicalSerialNum	OID_entPhysicalEntry ".11"
68*0d63ce2bSvenki #define	OID_entPhysicalMfgName		OID_entPhysicalEntry ".12"
69*0d63ce2bSvenki #define	OID_entPhysicalModelName	OID_entPhysicalEntry ".13"
70*0d63ce2bSvenki #define	OID_entPhysicalAlias		OID_entPhysicalEntry ".14"
71*0d63ce2bSvenki #define	OID_entPhysicalAssetID		OID_entPhysicalEntry ".15"
72*0d63ce2bSvenki #define	OID_entPhysicalIsFRU		OID_entPhysicalEntry ".16"
73*0d63ce2bSvenki 
74*0d63ce2bSvenki /*
75*0d63ce2bSvenki  * Conceptual row change time for handling hotplug/hotswap events
76*0d63ce2bSvenki  */
77*0d63ce2bSvenki #define	OID_entityGeneral		OID_entityMIBObjects ".4"
78*0d63ce2bSvenki #define	OID_entLastChangeTime		OID_entityGeneral ".1"
79*0d63ce2bSvenki 
80*0d63ce2bSvenki /*
81*0d63ce2bSvenki  * Sun Platform MIB OIDs used by PICL
82*0d63ce2bSvenki  */
83*0d63ce2bSvenki #define	OID_products			OID_SUN ".2"
84*0d63ce2bSvenki #define	OID_sunFire			OID_products ".70"
85*0d63ce2bSvenki #define	OID_sunPlatMIB			OID_sunFire ".101"
86*0d63ce2bSvenki #define	OID_sunPlatMIBObjects		OID_sunPlatMIB ".1"
87*0d63ce2bSvenki #define	OID_sunPlatMIBPhysicalObjects	OID_sunPlatMIBObjects ".1"
88*0d63ce2bSvenki 
89*0d63ce2bSvenki /*
90*0d63ce2bSvenki  * Equipment Table
91*0d63ce2bSvenki  */
92*0d63ce2bSvenki #define	OID_sunPlatEquipmentTable	OID_sunPlatMIBPhysicalObjects ".2"
93*0d63ce2bSvenki #define	OID_sunPlatEquipmentEntry	OID_sunPlatEquipmentTable ".1"
94*0d63ce2bSvenki #define	OID_sunPlatEquipmentOperationalState	\
95*0d63ce2bSvenki 					OID_sunPlatEquipmentEntry ".2"
96*0d63ce2bSvenki 
97*0d63ce2bSvenki /*
98*0d63ce2bSvenki  * Equipment Holder Table
99*0d63ce2bSvenki  */
100*0d63ce2bSvenki #define	OID_sunPlatEquipmentHolderTable	OID_sunPlatMIBPhysicalObjects ".3"
101*0d63ce2bSvenki #define	OID_sunPlatEquipmentHolderEntry	OID_sunPlatEquipmentHolderTable ".1"
102*0d63ce2bSvenki #define	OID_sunPlatEquipmentHolderAcceptableTypes	\
103*0d63ce2bSvenki 					OID_sunPlatEquipmentHolderEntry ".2"
104*0d63ce2bSvenki 
105*0d63ce2bSvenki /*
106*0d63ce2bSvenki  * Circuit Pack Table
107*0d63ce2bSvenki  */
108*0d63ce2bSvenki #define	OID_sunPlatCircuitPackTable	OID_sunPlatMIBPhysicalObjects ".4"
109*0d63ce2bSvenki #define	OID_sunPlatCircuitPackEntry	OID_sunPlatCircuitPackTable ".1"
110*0d63ce2bSvenki #define	OID_sunPlatCircuitPackReplaceable	\
111*0d63ce2bSvenki 					OID_sunPlatCircuitPackEntry ".3"
112*0d63ce2bSvenki #define	OID_sunPlatCircuitPackHotSwappable	\
113*0d63ce2bSvenki 					OID_sunPlatCircuitPackEntry ".4"
114*0d63ce2bSvenki 
115*0d63ce2bSvenki /*
116*0d63ce2bSvenki  * Physical Class Table
117*0d63ce2bSvenki  */
118*0d63ce2bSvenki #define	OID_sunPlatPhysicalTable	OID_sunPlatMIBPhysicalObjects ".5"
119*0d63ce2bSvenki #define	OID_sunPlatPhysicalEntry	OID_sunPlatPhysicalTable ".1"
120*0d63ce2bSvenki #define	OID_sunPlatPhysicalClass	OID_sunPlatPhysicalEntry ".1"
121*0d63ce2bSvenki 
122*0d63ce2bSvenki /*
123*0d63ce2bSvenki  * Sensor Table
124*0d63ce2bSvenki  */
125*0d63ce2bSvenki #define	OID_sunPlatSensorTable		OID_sunPlatMIBPhysicalObjects ".6"
126*0d63ce2bSvenki #define	OID_sunPlatSensorEntry		OID_sunPlatSensorTable ".1"
127*0d63ce2bSvenki #define	OID_sunPlatSensorClass		OID_sunPlatSensorEntry ".1"
128*0d63ce2bSvenki #define	OID_sunPlatSensorType		OID_sunPlatSensorEntry ".2"
129*0d63ce2bSvenki 
130*0d63ce2bSvenki /*
131*0d63ce2bSvenki  * Binary Sensor Table
132*0d63ce2bSvenki  */
133*0d63ce2bSvenki #define	OID_sunPlatBinarySensorTable	OID_sunPlatMIBPhysicalObjects ".7"
134*0d63ce2bSvenki #define	OID_sunPlatBinarySensorEntry	OID_sunPlatBinarySensorTable ".1"
135*0d63ce2bSvenki 
136*0d63ce2bSvenki #define	OID_sunPlatBinarySensorCurrent	OID_sunPlatBinarySensorEntry ".1"
137*0d63ce2bSvenki #define	OID_sunPlatBinarySensorExpected	OID_sunPlatBinarySensorEntry ".2"
138*0d63ce2bSvenki #define	OID_sunPlatBinarySensorInterpretTrue	\
139*0d63ce2bSvenki 					OID_sunPlatBinarySensorEntry ".3"
140*0d63ce2bSvenki #define	OID_sunPlatBinarySensorInterpretFalse	\
141*0d63ce2bSvenki 					OID_sunPlatBinarySensorEntry ".4"
142*0d63ce2bSvenki 
143*0d63ce2bSvenki /*
144*0d63ce2bSvenki  * Numeric Sensor Table
145*0d63ce2bSvenki  */
146*0d63ce2bSvenki #define	OID_sunPlatNumericSensorTable	OID_sunPlatMIBPhysicalObjects ".8"
147*0d63ce2bSvenki #define	OID_sunPlatNumericSensorEntry	OID_sunPlatNumericSensorTable ".1"
148*0d63ce2bSvenki #define	OID_sunPlatNumericSensorCurrent	OID_sunPlatNumericSensorEntry ".4"
149*0d63ce2bSvenki #define	OID_sunPlatNumericSensorBaseUnits	\
150*0d63ce2bSvenki 					OID_sunPlatNumericSensorEntry ".1"
151*0d63ce2bSvenki #define	OID_sunPlatNumericSensorExponent	\
152*0d63ce2bSvenki 					OID_sunPlatNumericSensorEntry ".2"
153*0d63ce2bSvenki #define	OID_sunPlatNumericSensorRateUnits	\
154*0d63ce2bSvenki 					OID_sunPlatNumericSensorEntry ".3"
155*0d63ce2bSvenki #define	OID_sunPlatNumericSensorLowerThresholdNonCritical	\
156*0d63ce2bSvenki 					OID_sunPlatNumericSensorEntry ".8"
157*0d63ce2bSvenki #define	OID_sunPlatNumericSensorUpperThresholdNonCritical	\
158*0d63ce2bSvenki 					OID_sunPlatNumericSensorEntry ".9"
159*0d63ce2bSvenki #define	OID_sunPlatNumericSensorLowerThresholdCritical	\
160*0d63ce2bSvenki 					OID_sunPlatNumericSensorEntry ".10"
161*0d63ce2bSvenki #define	OID_sunPlatNumericSensorUpperThresholdCritical	\
162*0d63ce2bSvenki 					OID_sunPlatNumericSensorEntry ".11"
163*0d63ce2bSvenki #define	OID_sunPlatNumericSensorLowerThresholdFatal	\
164*0d63ce2bSvenki 					OID_sunPlatNumericSensorEntry ".12"
165*0d63ce2bSvenki #define	OID_sunPlatNumericSensorUpperThresholdFatal	\
166*0d63ce2bSvenki 					OID_sunPlatNumericSensorEntry ".13"
167*0d63ce2bSvenki #define	OID_sunPlatNumericSensorEnabledThresholds	\
168*0d63ce2bSvenki 					OID_sunPlatNumericSensorEntry ".15"
169*0d63ce2bSvenki 
170*0d63ce2bSvenki /*
171*0d63ce2bSvenki  * Alarm Table
172*0d63ce2bSvenki  */
173*0d63ce2bSvenki #define	OID_sunPlatAlarmTable		OID_sunPlatMIBPhysicalObjects ".12"
174*0d63ce2bSvenki #define	OID_sunPlatAlarmEntry		OID_sunPlatAlarmTable ".1"
175*0d63ce2bSvenki #define	OID_sunPlatAlarmType		OID_sunPlatAlarmEntry ".1"
176*0d63ce2bSvenki #define	OID_sunPlatAlarmState		OID_sunPlatAlarmEntry ".2"
177*0d63ce2bSvenki 
178*0d63ce2bSvenki /*
179*0d63ce2bSvenki  * Power Supply Table
180*0d63ce2bSvenki  */
181*0d63ce2bSvenki #define	OID_sunPlatPowerSupplyTable	OID_sunPlatMIBPhysicalObjects ".14"
182*0d63ce2bSvenki #define	OID_sunPlatPowerSupplyEntry	OID_sunPlatPowerSupplyTable ".1"
183*0d63ce2bSvenki #define	OID_sunPlatPowerSupplyClass	OID_sunPlatPowerSupplyEntry ".1"
184*0d63ce2bSvenki 
185*0d63ce2bSvenki /*
186*0d63ce2bSvenki  * Battery Table
187*0d63ce2bSvenki  */
188*0d63ce2bSvenki #define	OID_sunPlatBatteryTable		OID_sunPlatMIBPhysicalObjects ".15"
189*0d63ce2bSvenki #define	OID_sunPlatBatteryEntry		OID_sunPlatBatteryTable ".1"
190*0d63ce2bSvenki #define	OID_sunPlatBatteryStatus	OID_sunPlatBatteryEntry ".1"
191*0d63ce2bSvenki 
192*0d63ce2bSvenki /*
193*0d63ce2bSvenki  * Integer enumeration classes used by PICL
194*0d63ce2bSvenki  */
195*0d63ce2bSvenki typedef enum {
196*0d63ce2bSvenki 	ST_TRUE = 1,
197*0d63ce2bSvenki 	ST_FALSE = 2
198*0d63ce2bSvenki } snmp_truthval_t;
199*0d63ce2bSvenki 
200*0d63ce2bSvenki /*
201*0d63ce2bSvenki  * Note that the truth values could be much longer than the length
202*0d63ce2bSvenki  * of the strings "true" or "false", since we actuallly interpret them
203*0d63ce2bSvenki  * using InterpretTrue and InterpretFalse values in the MIB. Currently
204*0d63ce2bSvenki  * we limit them to be 32 (see MAX_TRUTHVAL_LEN definition below)
205*0d63ce2bSvenki  */
206*0d63ce2bSvenki #define	STR_ST_TRUE	"true"
207*0d63ce2bSvenki #define	STR_ST_FALSE	"false"
208*0d63ce2bSvenki 
209*0d63ce2bSvenki /* entPhysicalClass */
210*0d63ce2bSvenki typedef enum {
211*0d63ce2bSvenki 	SPC_OTHER = 1,
212*0d63ce2bSvenki 	SPC_UNKNOWN = 2,
213*0d63ce2bSvenki 	SPC_CHASSIS = 3,
214*0d63ce2bSvenki 	SPC_BACKPLANE = 4,
215*0d63ce2bSvenki 	SPC_CONTAINER = 5,
216*0d63ce2bSvenki 	SPC_POWERSUPPLY = 6,
217*0d63ce2bSvenki 	SPC_FAN = 7,
218*0d63ce2bSvenki 	SPC_SENSOR = 8,
219*0d63ce2bSvenki 	SPC_MODULE = 9,
220*0d63ce2bSvenki 	SPC_PORT = 10,
221*0d63ce2bSvenki 	SPC_STACK = 11
222*0d63ce2bSvenki } snmp_physical_class_t;
223*0d63ce2bSvenki 
224*0d63ce2bSvenki /* sunPlatEquipmentOperationalState */
225*0d63ce2bSvenki typedef enum {
226*0d63ce2bSvenki 	SSOS_DISABLED = 1,
227*0d63ce2bSvenki 	SSOS_ENABLED = 2
228*0d63ce2bSvenki } snmp_sunplat_op_state_t;
229*0d63ce2bSvenki 
230*0d63ce2bSvenki /*
231*0d63ce2bSvenki  * Update MAX_OPSTATE_LEN below if these strings are changed
232*0d63ce2bSvenki  */
233*0d63ce2bSvenki #define	STR_SSOS_DISABLED	"disabled"
234*0d63ce2bSvenki #define	STR_SSOS_ENABLED	"enabled"
235*0d63ce2bSvenki 
236*0d63ce2bSvenki /* sunPlatPhysicalClass */
237*0d63ce2bSvenki typedef enum {
238*0d63ce2bSvenki 	SSPC_OTHER = 1,
239*0d63ce2bSvenki 	SSPC_ALARM = 2,
240*0d63ce2bSvenki 	SSPC_WATCHDOG = 3
241*0d63ce2bSvenki } snmp_sunplat_phys_class_t;
242*0d63ce2bSvenki 
243*0d63ce2bSvenki /* sunPlatSensorClass */
244*0d63ce2bSvenki typedef enum {
245*0d63ce2bSvenki 	SSSC_BINARY = 1,
246*0d63ce2bSvenki 	SSSC_NUMERIC = 2,
247*0d63ce2bSvenki 	SSSC_DISCRETE = 3
248*0d63ce2bSvenki } snmp_sunplat_sensor_class_t;
249*0d63ce2bSvenki 
250*0d63ce2bSvenki /* sunPlatSensorType */
251*0d63ce2bSvenki typedef enum {
252*0d63ce2bSvenki 	SSST_OTHER = 1,
253*0d63ce2bSvenki 	SSST_UNKNOWN = 2,
254*0d63ce2bSvenki 	SSST_TEMPERATURE = 3,
255*0d63ce2bSvenki 	SSST_VOLTAGE = 4,
256*0d63ce2bSvenki 	SSST_CURRENT = 5,
257*0d63ce2bSvenki 	SSST_TACHOMETER = 6,
258*0d63ce2bSvenki 	SSST_COUNTER = 7,
259*0d63ce2bSvenki 	SSST_SWITCH = 8,
260*0d63ce2bSvenki 	SSST_LOCK = 9,
261*0d63ce2bSvenki 	SSST_HUMIDITY = 10,
262*0d63ce2bSvenki 	SSST_SMOKE_DETECTION = 11,
263*0d63ce2bSvenki 	SSST_PRESENCE = 12,
264*0d63ce2bSvenki 	SSST_AIRFLOW = 13
265*0d63ce2bSvenki } snmp_sunplat_sensor_type_t;
266*0d63ce2bSvenki 
267*0d63ce2bSvenki /* sunPlatAlarmType */
268*0d63ce2bSvenki typedef enum {
269*0d63ce2bSvenki 	SSAT_OTHER = 1,
270*0d63ce2bSvenki 	SSAT_AUDIBLE = 2,
271*0d63ce2bSvenki 	SSAT_VISIBLE = 3,
272*0d63ce2bSvenki 	SSAT_MOTION = 4,
273*0d63ce2bSvenki 	SSAT_SWITCH = 5
274*0d63ce2bSvenki } snmp_sunplat_alarm_type_t;
275*0d63ce2bSvenki 
276*0d63ce2bSvenki /* sunPlatAlarmState */
277*0d63ce2bSvenki typedef enum {
278*0d63ce2bSvenki 	SSAS_UNKNOWN = 1,
279*0d63ce2bSvenki 	SSAS_OFF = 2,
280*0d63ce2bSvenki 	SSAS_STEADY = 3,
281*0d63ce2bSvenki 	SSAS_ALTERNATING = 4
282*0d63ce2bSvenki } snmp_sunplat_alarm_state_t;
283*0d63ce2bSvenki 
284*0d63ce2bSvenki /*
285*0d63ce2bSvenki  * Update MAX_ALARMSTATE_LEN below if these strings are changed
286*0d63ce2bSvenki  */
287*0d63ce2bSvenki #define	STR_SSAS_UNKNOWN	"unknown"
288*0d63ce2bSvenki #define	STR_SSAS_OFF		"off"
289*0d63ce2bSvenki #define	STR_SSAS_STEADY		"steady"
290*0d63ce2bSvenki #define	STR_SSAS_ALTERNATING	"alternating"
291*0d63ce2bSvenki 
292*0d63ce2bSvenki /*
293*0d63ce2bSvenki  * Bit masks for the sunPlatNumericSensorEnabledThresholds
294*0d63ce2bSvenki  */
295*0d63ce2bSvenki #define	LOWER_NON_CRITICAL	0x80
296*0d63ce2bSvenki #define	UPPER_NON_CRITICAL	0x40
297*0d63ce2bSvenki #define	LOWER_CRITICAL		0x20
298*0d63ce2bSvenki #define	UPPER_CRITICAL		0x10
299*0d63ce2bSvenki #define	LOWER_FATAL		0x08
300*0d63ce2bSvenki #define	UPPER_FATAL		0x04
301*0d63ce2bSvenki 
302*0d63ce2bSvenki /*
303*0d63ce2bSvenki  * sunPlatPowerSupplyClass
304*0d63ce2bSvenki  */
305*0d63ce2bSvenki typedef enum {
306*0d63ce2bSvenki 	SSPSC_OTHER = 1,
307*0d63ce2bSvenki 	SSPSC_POWERSUPPLY = 2,
308*0d63ce2bSvenki 	SSPSC_BATTERY = 3
309*0d63ce2bSvenki } snmp_sunplat_power_supply_class_t;
310*0d63ce2bSvenki 
311*0d63ce2bSvenki /*
312*0d63ce2bSvenki  * sunPlatBatteryStatus
313*0d63ce2bSvenki  */
314*0d63ce2bSvenki typedef enum {
315*0d63ce2bSvenki 	SSBS_OTHER = 1,
316*0d63ce2bSvenki 	SSBS_UNKNOWN = 2,
317*0d63ce2bSvenki 	SSBS_FULLYCHARGED = 3,
318*0d63ce2bSvenki 	SSBS_LOW = 4,
319*0d63ce2bSvenki 	SSBS_CRITICAL = 5,
320*0d63ce2bSvenki 	SSBS_CHARGING = 6,
321*0d63ce2bSvenki 	SSBS_CHARGING_AND_LOW = 7,
322*0d63ce2bSvenki 	SSBS_CHARGING_AND_HIGH = 8,
323*0d63ce2bSvenki 	SSBS_CHARGING_AND_CRITICAL = 9,
324*0d63ce2bSvenki 	SSBS_UNDEFINED = 10,
325*0d63ce2bSvenki 	SSBS_PARTIALLY_CHARGED = 11
326*0d63ce2bSvenki } snmp_sunplat_battery_status_t;
327*0d63ce2bSvenki 
328*0d63ce2bSvenki /*
329*0d63ce2bSvenki  * Update MAX_BATTERYSTATUS_LEN below if these strings are changed
330*0d63ce2bSvenki  */
331*0d63ce2bSvenki #define	STR_SSBS_OTHER			"Other"
332*0d63ce2bSvenki #define	STR_SSBS_UNKNOWN		"Unknown"
333*0d63ce2bSvenki #define	STR_SSBS_FULLYCHARGED		"Fully Charged"
334*0d63ce2bSvenki #define	STR_SSBS_LOW			"Low"
335*0d63ce2bSvenki #define	STR_SSBS_CRITICAL		"Critical"
336*0d63ce2bSvenki #define	STR_SSBS_CHARGING		"Charging"
337*0d63ce2bSvenki #define	STR_SSBS_CHARGING_AND_LOW	"Charging and Low"
338*0d63ce2bSvenki #define	STR_SSBS_CHARGING_AND_HIGH	"Charging and High"
339*0d63ce2bSvenki #define	STR_SSBS_CHARGING_AND_CRITICAL	"Charging and Critical"
340*0d63ce2bSvenki #define	STR_SSBS_UNDEFINED		"Undefined"
341*0d63ce2bSvenki #define	STR_SSBS_PARTIALLY_CHARGED	"Partially Charged"
342*0d63ce2bSvenki 
343*0d63ce2bSvenki /*
344*0d63ce2bSvenki  * Max limits of all volatiles
345*0d63ce2bSvenki  */
346*0d63ce2bSvenki #define	MAX_OPSTATE_LEN			10
347*0d63ce2bSvenki #define	MAX_ALARMSTATE_LEN		12
348*0d63ce2bSvenki #define	MAX_TRUTHVAL_LEN		32
349*0d63ce2bSvenki #define	MAX_BATTERYSTATUS_LEN		32
350*0d63ce2bSvenki 
351*0d63ce2bSvenki #ifdef	__cplusplus
352*0d63ce2bSvenki }
353*0d63ce2bSvenki #endif
354*0d63ce2bSvenki 
355*0d63ce2bSvenki #endif	/* _PICLOIDS_H */
356