xref: /onnv-gate/usr/src/cmd/picl/plugins/sun4u/chicago/envd/envmodel.info (revision 707:ebdb0ba40911)
10Sstevel@tonic-gate/*
20Sstevel@tonic-gate * CDDL HEADER START
30Sstevel@tonic-gate *
40Sstevel@tonic-gate * The contents of this file are subject to the terms of the
50Sstevel@tonic-gate * Common Development and Distribution License, Version 1.0 only
60Sstevel@tonic-gate * (the "License").  You may not use this file except in compliance
70Sstevel@tonic-gate * with the License.
80Sstevel@tonic-gate *
90Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
100Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing.
110Sstevel@tonic-gate * See the License for the specific language governing permissions
120Sstevel@tonic-gate * and limitations under the License.
130Sstevel@tonic-gate *
140Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each
150Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
160Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the
170Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying
180Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner]
190Sstevel@tonic-gate *
200Sstevel@tonic-gate * CDDL HEADER END
210Sstevel@tonic-gate */
220Sstevel@tonic-gate/*
230Sstevel@tonic-gate * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
240Sstevel@tonic-gate * Use is subject to license terms.
250Sstevel@tonic-gate */
260Sstevel@tonic-gate
270Sstevel@tonic-gate#pragma ident	"%Z%%M%	%I%	%E% SMI"
280Sstevel@tonic-gate
290Sstevel@tonic-gate/*
300Sstevel@tonic-gate * This is the environmental plug-in configuration file for
310Sstevel@tonic-gate * Chicago platform.
320Sstevel@tonic-gate */
330Sstevel@tonic-gate
340Sstevel@tonic-gateVERSION 1.1
350Sstevel@tonic-gate
360Sstevel@tonic-gateVERBOSE 1
370Sstevel@tonic-gate
380Sstevel@tonic-gate/*
390Sstevel@tonic-gate * Fan names and ids
400Sstevel@tonic-gate */
410Sstevel@tonic-gate#define	ENV_SYSTEM_FAN0		system-fan0
420Sstevel@tonic-gate#define	ENV_SYSTEM_FAN1		system-fan1
430Sstevel@tonic-gate#define	ENV_SYSTEM_FAN2		system-fan2
440Sstevel@tonic-gate#define	ENV_SYSTEM_FAN3		system-fan3
450Sstevel@tonic-gate#define	ENV_SYSTEM_FAN4		system-fan4
460Sstevel@tonic-gate
470Sstevel@tonic-gate#define	SYSTEM_FAN0_ID		0
480Sstevel@tonic-gate#define	SYSTEM_FAN1_ID		1
490Sstevel@tonic-gate#define	SYSTEM_FAN2_ID		2
500Sstevel@tonic-gate#define	SYSTEM_FAN3_ID		3
510Sstevel@tonic-gate#define	SYSTEM_FAN4_ID		4
520Sstevel@tonic-gate
530Sstevel@tonic-gate/*
540Sstevel@tonic-gate * Sensor names and ids
550Sstevel@tonic-gate */
560Sstevel@tonic-gate#define	SENSOR_CPU0		cpu0
570Sstevel@tonic-gate#define	SENSOR_CPU1		cpu1
580Sstevel@tonic-gate#define	SENSOR_MB		MotherBoard
590Sstevel@tonic-gate#define	SENSOR_ADT7462		ADT7462
600Sstevel@tonic-gate#define	SENSOR_LM95221		LM95221
610Sstevel@tonic-gate#define	SENSOR_FIRE		FireASIC
620Sstevel@tonic-gate#define	SENSOR_LSI1064		LSI1064
630Sstevel@tonic-gate#define	SENSOR_FRONT_PANEL	Front_panel
64*707Svenki#define	SENSOR_PSU		PSU
650Sstevel@tonic-gate
660Sstevel@tonic-gate#define	CPU0_SENSOR_ID		0
670Sstevel@tonic-gate#define	CPU1_SENSOR_ID		1
680Sstevel@tonic-gate#define	ADT7462_SENSOR_ID	2
690Sstevel@tonic-gate#define	MB_SENSOR_ID		3
700Sstevel@tonic-gate#define	LM95221_SENSOR_ID	4
710Sstevel@tonic-gate#define	FIRE_SENSOR_ID		5
720Sstevel@tonic-gate#define	LSI1064_SENSOR_ID	6
730Sstevel@tonic-gate#define	FRONT_PANEL_SENSOR_ID	7
74*707Svenki#define	PSU_SENSOR_ID		8
750Sstevel@tonic-gate
760Sstevel@tonic-gate/*
770Sstevel@tonic-gate * Hard disk sensor names and ids
780Sstevel@tonic-gate */
790Sstevel@tonic-gate#define	ENV_DISK0		hard-disk0
800Sstevel@tonic-gate#define	ENV_DISK1		hard-disk1
810Sstevel@tonic-gate#define ENV_DISK2		hard-disk2
820Sstevel@tonic-gate#define ENV_DISK3		hard-disk3
830Sstevel@tonic-gate
840Sstevel@tonic-gate#define	DISK0_ID		0
850Sstevel@tonic-gate#define	DISK1_ID		1
860Sstevel@tonic-gate#define DISK2_ID		2
870Sstevel@tonic-gate#define DISK3_ID		3
880Sstevel@tonic-gate
890Sstevel@tonic-gate/*
900Sstevel@tonic-gate * Publish the labels for sensors and fans
910Sstevel@tonic-gate */
920Sstevel@tonic-gate
930Sstevel@tonic-gatename:/platform/ebus@1f,464000/env-monitor@3,0/SENSOR_CPU0
940Sstevel@tonic-gate    PROP Label string r 0 "cpu0-sensor"
950Sstevel@tonic-gate    PROP ID int r 4 CPU0_SENSOR_ID
960Sstevel@tonic-gate
970Sstevel@tonic-gatename:/platform/ebus@1f,464000/env-monitor@3,0/SENSOR_CPU1
980Sstevel@tonic-gate    PROP Label string r 0 "cpu1-sensor"
990Sstevel@tonic-gate    PROP ID int r 4 CPU1_SENSOR_ID
1000Sstevel@tonic-gate
1010Sstevel@tonic-gatename:/platform/ebus@1f,464000/env-monitor@3,0/SENSOR_MB
1020Sstevel@tonic-gate    PROP Label string r 0 "mb-sensor"
1030Sstevel@tonic-gate    PROP ID int r 4 MB_SENSOR_ID
1040Sstevel@tonic-gate
1050Sstevel@tonic-gatename:/platform/ebus@1f,464000/env-monitor@3,0/SENSOR_ADT7462
1060Sstevel@tonic-gate    PROP Label string r 0 "adt7462-sensor"
1070Sstevel@tonic-gate    PROP ID int r 4 ADT7462_SENSOR_ID
1080Sstevel@tonic-gate
1090Sstevel@tonic-gatename:/platform/ebus@1f,464000/env-monitor@3,0/SENSOR_LM95221
1100Sstevel@tonic-gate    PROP Label string r 0 "lm95221-sensor"
1110Sstevel@tonic-gate    PROP ID int r 4 LM95221_SENSOR_ID
1120Sstevel@tonic-gate
1130Sstevel@tonic-gatename:/platform/ebus@1f,464000/env-monitor@3,0/SENSOR_FIRE
1140Sstevel@tonic-gate    PROP Label string r 0 "fire-sensor"
1150Sstevel@tonic-gate    PROP ID int r 4 FIRE_SENSOR_ID
1160Sstevel@tonic-gate
1170Sstevel@tonic-gatename:/platform/ebus@1f,464000/env-monitor@3,0/SENSOR_LSI1064
1180Sstevel@tonic-gate    PROP Label string r 0 "lsi1064-sensor"
1190Sstevel@tonic-gate    PROP ID int r 4 LSI1064_SENSOR_ID
1200Sstevel@tonic-gate
1210Sstevel@tonic-gatename:/platform/ebus@1f,464000/env-monitor@3,0/SENSOR_FRONT_PANEL
1220Sstevel@tonic-gate    PROP Label string r 0 "front_panel-sensor"
1230Sstevel@tonic-gate    PROP ID int r 4 FRONT_PANEL_SENSOR_ID
1240Sstevel@tonic-gate
125*707Svenkiname:/platform/ebus@1f,464000/env-monitor@3,0/SENSOR_PSU
126*707Svenki    PROP Label string r 0 "psu-sensor"
127*707Svenki    PROP ID int r 4 PSU_SENSOR_ID
128*707Svenki
1290Sstevel@tonic-gate
1300Sstevel@tonic-gatename:/platform/ebus@1f,464000/env-monitor@3,0/ENV_SYSTEM_FAN0
1310Sstevel@tonic-gate    PROP Label string r 0 "cpu0-fan"
1320Sstevel@tonic-gate    PROP ID int r 4 SYSTEM_FAN0_ID
1330Sstevel@tonic-gate
1340Sstevel@tonic-gatename:/platform/ebus@1f,464000/env-monitor@3,0/ENV_SYSTEM_FAN1
1350Sstevel@tonic-gate    PROP Label string r 0 "cpu1-fan"
1360Sstevel@tonic-gate    PROP ID int r 4 SYSTEM_FAN1_ID
1370Sstevel@tonic-gate
1380Sstevel@tonic-gatename:/platform/ebus@1f,464000/env-monitor@3,0/ENV_SYSTEM_FAN2
1390Sstevel@tonic-gate    PROP Label string r 0 "pci-fan"
1400Sstevel@tonic-gate    PROP ID int r 4 SYSTEM_FAN2_ID
1410Sstevel@tonic-gate
1420Sstevel@tonic-gatename:/platform/ebus@1f,464000/env-monitor@3,0/ENV_SYSTEM_FAN3
1430Sstevel@tonic-gate    PROP Label string r 0 "system-fan3"
1440Sstevel@tonic-gate    PROP ID int r 4 SYSTEM_FAN3_ID
1450Sstevel@tonic-gate
1460Sstevel@tonic-gatename:/platform/ebus@1f,464000/env-monitor@3,0/ENV_SYSTEM_FAN4
1470Sstevel@tonic-gate    PROP Label string r 0 "system-fan4"
1480Sstevel@tonic-gate    PROP ID int r 4 SYSTEM_FAN4_ID
1490Sstevel@tonic-gate
1500Sstevel@tonic-gate/*
1510Sstevel@tonic-gate * Internal hard disks
1520Sstevel@tonic-gate */
153673Svenkiname:/platform/pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@0,0/ENV_DISK0
1540Sstevel@tonic-gate    PROP Label string r 0 "hard-disk0"
1550Sstevel@tonic-gate    PROP ID int r 4 DISK0_ID
1560Sstevel@tonic-gate
157673Svenkiname:/platform/pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@1,0/ENV_DISK1
1580Sstevel@tonic-gate    PROP Label string r 0 "hard-disk1"
1590Sstevel@tonic-gate    PROP ID int r 4 DISK1_ID
1600Sstevel@tonic-gate
161673Svenkiname:/platform/pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@2,0/ENV_DISK2
1620Sstevel@tonic-gate    PROP Label string r 0 "hard-disk2"
1630Sstevel@tonic-gate    PROP ID int r 4 DISK2_ID
1640Sstevel@tonic-gate
165673Svenkiname:/platform/pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@3,0/ENV_DISK3
1660Sstevel@tonic-gate    PROP Label string r 0 "hard-disk3"
1670Sstevel@tonic-gate    PROP ID int r 4 DISK3_ID
1680Sstevel@tonic-gate
1690Sstevel@tonic-gate/*
1700Sstevel@tonic-gate * Associate the environmental information with devices.
1710Sstevel@tonic-gate */
1720Sstevel@tonic-gate
1730Sstevel@tonic-gate/*
1740Sstevel@tonic-gate * CPU 0 environmental information
1750Sstevel@tonic-gate */
1760Sstevel@tonic-gate_class:/jbus/cpu?ID=0
1770Sstevel@tonic-gateTABLE Environment
1780Sstevel@tonic-gate    ROW
1790Sstevel@tonic-gate        PROP Class string r 0 "temperature-sensor"
1800Sstevel@tonic-gate        REFPROP _temperature-sensor_ /platform/ebus@1f,464000/env-monitor@3,0/SENSOR_CPU0
1810Sstevel@tonic-gate    ENDROW
1820Sstevel@tonic-gate    ROW
1830Sstevel@tonic-gate        PROP Class string r 0 "fan"
1840Sstevel@tonic-gate        REFPROP _fan_ /platform/ebus@1f,464000/env-monitor@3,0/ENV_SYSTEM_FAN0
1850Sstevel@tonic-gate    ENDROW
1860Sstevel@tonic-gateENDTABLE
1870Sstevel@tonic-gate
1880Sstevel@tonic-gate/*
1890Sstevel@tonic-gate * CPU 1 environmental information
1900Sstevel@tonic-gate */
1910Sstevel@tonic-gate_class:/jbus/cpu?ID=1
1920Sstevel@tonic-gateTABLE Environment
1930Sstevel@tonic-gate    ROW
1940Sstevel@tonic-gate        PROP Class string r 0 "temperature-sensor"
1950Sstevel@tonic-gate        REFPROP _temperature-sensor_ /platform/ebus@1f,464000/env-monitor@3,0/SENSOR_CPU1
1960Sstevel@tonic-gate    ENDROW
1970Sstevel@tonic-gate    ROW
1980Sstevel@tonic-gate        PROP Class string r 0 "fan"
1990Sstevel@tonic-gate        REFPROP _fan_ /platform/ebus@1f,464000/env-monitor@3,0/ENV_SYSTEM_FAN1
2000Sstevel@tonic-gate    ENDROW
2010Sstevel@tonic-gateENDTABLE
202