cmd: remove sparc-only virtinfo
[unleashed.git] / usr / src / cmd / picl / plugins / sun4u / taco / envd / envmodel.info
blobcb7e1fb4cdfbe4646eb88ae1e7e99b778ad7020b
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
23  * Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
24  * Use is subject to license terms.
25  */
28 #pragma ident   "%Z%%M% %I%     %E% SMI"
31  * This is the environmental plug-in configuration file for
32  * Taco platform.
33  */
35 VERSION 1.1
37 VERBOSE 1
40  * Fan names
41  */
42 #define ENV_SYSTEM_INTAKE_FAN   intake-fan
43 #define ENV_SYSTEM_OUT_FAN      outtake-fan
44 #define ENV_CPU_FAN             cpu-fan
47  * Sensor ids & names
48  */
49 #define SENSOR_CPU_DIE          cpu
50 #define SENSOR_SYS_IN           sys-in
51 #define SENSOR_INT_AMB          int-amb
54  * Sensor IDs
55  */
56 #define CPU_SENSOR_ID           1
57 #define INT_AMB_SENSOR_ID       0
58 #define SYS_IN_SENSOR_ID        2
61  * Fan IDs
62  */
63 #define CPU_FAN_ID              1
64 #define SYSTEM_FAN_ID   0
67  * Publish the labels for sensors and fans
68  */
69 name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/SENSOR_CPU_DIE
70     PROP Label string r 0 "Die"
71     PROP ID int r 4 CPU_SENSOR_ID
73 name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/SENSOR_SYS_IN
74     PROP Label string r 0 "Ambient"
75     PROP ID int r 4 SYS_IN_SENSOR_ID
77 name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/SENSOR_INT_AMB
78     PROP Label string r 0 "Ambient"
79     PROP ID int r 4 INT_AMB_SENSOR_ID
81 name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/ENV_SYSTEM_INTAKE_FAN
82     PROP Label string r 0 "Intake"
83     PROP ID int r 4 SYSTEM_FAN_ID
85 name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/ENV_SYSTEM_OUT_FAN
86     PROP Label string r 0 "Outtake"
87     PROP ID int r 4 SYSTEM_FAN_ID
89 name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/ENV_CPU_FAN
90     PROP Label string r 0 "CPU"
91     PROP ID int r 4 CPU_FAN_ID
94  * Associate the environmental information with devices.
95  */
98  * CPU environmental information
99  */
100 _class:/jbus/cpu?ID=0
101 TABLE Environment
102     ROW
103         PROP Class string r 0 "temperature-sensor"
104         REFPROP _temperature-sensor_ /platform/pci/isa/i2c?UnitAddress=0,320/hardware-monitor?UnitAddress=0,5c/SENSOR_CPU_DIE
105     ENDROW
106     ROW
107         PROP Class string r 0 "temperature-sensor"
108         REFPROP _temperature-sensor_ /platform/pci/isa/i2c?UnitAddress=0,320/hardware-monitor?UnitAddress=0,5c/SENSOR_SYS_IN
109     ENDROW
110     ROW
111         PROP Class string r 0 "fan"
112         REFPROP _fan_ /platform/pci/isa/i2c?UnitAddress=0,320/hardware-monitor?UnitAddress=0,5c/ENV_CPU_FAN
113     ENDROW
114 ENDTABLE