1*7c478bd9Sstevel@tonic-gate/* 2*7c478bd9Sstevel@tonic-gate * CDDL HEADER START 3*7c478bd9Sstevel@tonic-gate * 4*7c478bd9Sstevel@tonic-gate * The contents of this file are subject to the terms of the 5*7c478bd9Sstevel@tonic-gate * Common Development and Distribution License, Version 1.0 only 6*7c478bd9Sstevel@tonic-gate * (the "License"). You may not use this file except in compliance 7*7c478bd9Sstevel@tonic-gate * with the License. 8*7c478bd9Sstevel@tonic-gate * 9*7c478bd9Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*7c478bd9Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing. 11*7c478bd9Sstevel@tonic-gate * See the License for the specific language governing permissions 12*7c478bd9Sstevel@tonic-gate * and limitations under the License. 13*7c478bd9Sstevel@tonic-gate * 14*7c478bd9Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each 15*7c478bd9Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*7c478bd9Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the 17*7c478bd9Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying 18*7c478bd9Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner] 19*7c478bd9Sstevel@tonic-gate * 20*7c478bd9Sstevel@tonic-gate * CDDL HEADER END 21*7c478bd9Sstevel@tonic-gate */ 22*7c478bd9Sstevel@tonic-gate/* 23*7c478bd9Sstevel@tonic-gate * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 24*7c478bd9Sstevel@tonic-gate * Use is subject to license terms. 25*7c478bd9Sstevel@tonic-gate */ 26*7c478bd9Sstevel@tonic-gate 27*7c478bd9Sstevel@tonic-gate/* 28*7c478bd9Sstevel@tonic-gate * This is the environmental plug-in configuration file for 29*7c478bd9Sstevel@tonic-gate * Taco platform. 30*7c478bd9Sstevel@tonic-gate */ 31*7c478bd9Sstevel@tonic-gate 32*7c478bd9Sstevel@tonic-gateVERSION 1.1 33*7c478bd9Sstevel@tonic-gate 34*7c478bd9Sstevel@tonic-gateVERBOSE 1 35*7c478bd9Sstevel@tonic-gate 36*7c478bd9Sstevel@tonic-gate/* 37*7c478bd9Sstevel@tonic-gate * Fan names 38*7c478bd9Sstevel@tonic-gate */ 39*7c478bd9Sstevel@tonic-gate#define ENV_SYSTEM_OUT_FAN outtake-fan 40*7c478bd9Sstevel@tonic-gate#define ENV_CPU0_FAN cpu0-fan 41*7c478bd9Sstevel@tonic-gate#define ENV_SYSTEM_INTAKE_FAN intake-fan 42*7c478bd9Sstevel@tonic-gate#define ENV_CPU1_FAN cpu1-fan 43*7c478bd9Sstevel@tonic-gate#define ENV_DIMM_FAN dimm-fan 44*7c478bd9Sstevel@tonic-gate 45*7c478bd9Sstevel@tonic-gate/* 46*7c478bd9Sstevel@tonic-gate * Sensor ids 47*7c478bd9Sstevel@tonic-gate */ 48*7c478bd9Sstevel@tonic-gate#define SENSOR_CPU0_DIE cpu0 49*7c478bd9Sstevel@tonic-gate#define SENSOR_CPU1_DIE cpu1 50*7c478bd9Sstevel@tonic-gate#define SENSOR_INT_AMB_0 int-amb0 51*7c478bd9Sstevel@tonic-gate#define SENSOR_SYS_IN sys-in 52*7c478bd9Sstevel@tonic-gate#define SENSOR_SYS_OUT sys-out 53*7c478bd9Sstevel@tonic-gate#define SENSOR_INT_AMB_1 int-amb1 54*7c478bd9Sstevel@tonic-gate 55*7c478bd9Sstevel@tonic-gate/* 56*7c478bd9Sstevel@tonic-gate * Hard disk sensor ids 57*7c478bd9Sstevel@tonic-gate */ 58*7c478bd9Sstevel@tonic-gate#define ENV_DISK0 hard-disk0 59*7c478bd9Sstevel@tonic-gate#define ENV_DISK1 hard-disk1 60*7c478bd9Sstevel@tonic-gate 61*7c478bd9Sstevel@tonic-gate/* 62*7c478bd9Sstevel@tonic-gate * Enchilada sensor IDs as used in FRUID segment 63*7c478bd9Sstevel@tonic-gate */ 64*7c478bd9Sstevel@tonic-gate#define CPU0_SENSOR_ID 0 65*7c478bd9Sstevel@tonic-gate#define CPU1_SENSOR_ID 1 66*7c478bd9Sstevel@tonic-gate#define INT_AMB0_SENSOR_ID 5 67*7c478bd9Sstevel@tonic-gate#define SYS_OUT_SENSOR_ID 3 68*7c478bd9Sstevel@tonic-gate#define INT_AMB1_SENSOR_ID 4 69*7c478bd9Sstevel@tonic-gate#define SYS_IN_SENSOR_ID 2 70*7c478bd9Sstevel@tonic-gate 71*7c478bd9Sstevel@tonic-gate/* 72*7c478bd9Sstevel@tonic-gate * Enchilada fan IDs used in FRUID segment 73*7c478bd9Sstevel@tonic-gate */ 74*7c478bd9Sstevel@tonic-gate#define CPU0_FAN_ID 0 75*7c478bd9Sstevel@tonic-gate#define CPU1_FAN_ID 1 76*7c478bd9Sstevel@tonic-gate#define SYSTEM_OUT_FAN_ID 2 77*7c478bd9Sstevel@tonic-gate#define SYSTEM_INTAKE_FAN_ID 3 78*7c478bd9Sstevel@tonic-gate 79*7c478bd9Sstevel@tonic-gate#define DIMM_FAN_ID 4 80*7c478bd9Sstevel@tonic-gate 81*7c478bd9Sstevel@tonic-gate#define DISK0_ID 0 82*7c478bd9Sstevel@tonic-gate#define DISK1_ID 1 83*7c478bd9Sstevel@tonic-gate/* 84*7c478bd9Sstevel@tonic-gate * Publish the labels for sensors and fans 85*7c478bd9Sstevel@tonic-gate */ 86*7c478bd9Sstevel@tonic-gate 87*7c478bd9Sstevel@tonic-gate/* 88*7c478bd9Sstevel@tonic-gate * Hardware monitor 0 - at 0,58 89*7c478bd9Sstevel@tonic-gate */ 90*7c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/SENSOR_CPU0_DIE 91*7c478bd9Sstevel@tonic-gate PROP Label string r 0 "Die" 92*7c478bd9Sstevel@tonic-gate PROP ID int r 4 CPU0_SENSOR_ID 93*7c478bd9Sstevel@tonic-gate 94*7c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/SENSOR_CPU1_DIE 95*7c478bd9Sstevel@tonic-gate PROP Label string r 0 "Die" 96*7c478bd9Sstevel@tonic-gate PROP ID int r 4 CPU1_SENSOR_ID 97*7c478bd9Sstevel@tonic-gate 98*7c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/SENSOR_INT_AMB_0 99*7c478bd9Sstevel@tonic-gate PROP Label string r 0 "Ambient" 100*7c478bd9Sstevel@tonic-gate PROP ID int r 4 INT_AMB0_SENSOR_ID 101*7c478bd9Sstevel@tonic-gate 102*7c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/ENV_CPU0_FAN 103*7c478bd9Sstevel@tonic-gate PROP Label string r 0 "CPU0" 104*7c478bd9Sstevel@tonic-gate PROP ID int r 4 CPU0_FAN_ID 105*7c478bd9Sstevel@tonic-gate 106*7c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/ENV_CPU1_FAN 107*7c478bd9Sstevel@tonic-gate PROP Label string r 0 "CPU1" 108*7c478bd9Sstevel@tonic-gate PROP ID int r 4 CPU1_FAN_ID 109*7c478bd9Sstevel@tonic-gate 110*7c478bd9Sstevel@tonic-gate/* 111*7c478bd9Sstevel@tonic-gate * Hardware monitor 1 - at 0,5c 112*7c478bd9Sstevel@tonic-gate */ 113*7c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/SENSOR_SYS_IN 114*7c478bd9Sstevel@tonic-gate PROP Label string r 0 "Ambient" 115*7c478bd9Sstevel@tonic-gate PROP ID int r 4 SYS_IN_SENSOR_ID 116*7c478bd9Sstevel@tonic-gate 117*7c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/SENSOR_INT_AMB_1 118*7c478bd9Sstevel@tonic-gate PROP Label string r 0 "Ambient" 119*7c478bd9Sstevel@tonic-gate PROP ID int r 4 INT_AMB1_SENSOR_ID 120*7c478bd9Sstevel@tonic-gate 121*7c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/SENSOR_SYS_OUT 122*7c478bd9Sstevel@tonic-gate PROP Label string r 0 "Ambient" 123*7c478bd9Sstevel@tonic-gate PROP ID int r 4 SYS_OUT_SENSOR_ID 124*7c478bd9Sstevel@tonic-gate 125*7c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/ENV_SYSTEM_INTAKE_FAN 126*7c478bd9Sstevel@tonic-gate PROP Label string r 0 "Intake" 127*7c478bd9Sstevel@tonic-gate PROP ID int r 4 SYSTEM_INTAKE_FAN_ID 128*7c478bd9Sstevel@tonic-gate 129*7c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/ENV_SYSTEM_OUT_FAN 130*7c478bd9Sstevel@tonic-gate PROP Label string r 0 "Outtake" 131*7c478bd9Sstevel@tonic-gate PROP ID int r 4 SYSTEM_OUT_FAN_ID 132*7c478bd9Sstevel@tonic-gate 133*7c478bd9Sstevel@tonic-gate/* 134*7c478bd9Sstevel@tonic-gate * PIC Microcontroller at 0,52 135*7c478bd9Sstevel@tonic-gate */ 136*7c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,52/ENV_DIMM_FAN 137*7c478bd9Sstevel@tonic-gate PROP Label string r 0 "dimm-fan" 138*7c478bd9Sstevel@tonic-gate PROP ID int r 4 DIMM_FAN_ID 139*7c478bd9Sstevel@tonic-gate 140*7c478bd9Sstevel@tonic-gate/* 141*7c478bd9Sstevel@tonic-gate * Internal hard disks 142*7c478bd9Sstevel@tonic-gate */ 143*7c478bd9Sstevel@tonic-gatename:/platform/pci@1d,700000/scsi@4/sd@0,0/ENV_DISK0 144*7c478bd9Sstevel@tonic-gate PROP Label string r 0 "hard-disk0" 145*7c478bd9Sstevel@tonic-gate PROP ID int r 4 DISK0_ID 146*7c478bd9Sstevel@tonic-gate 147*7c478bd9Sstevel@tonic-gatename:/platform/pci@1d,700000/scsi@4/sd@1,0/ENV_DISK1 148*7c478bd9Sstevel@tonic-gate PROP Label string r 0 "hard-disk1" 149*7c478bd9Sstevel@tonic-gate PROP ID int r 4 DISK1_ID 150*7c478bd9Sstevel@tonic-gate 151*7c478bd9Sstevel@tonic-gate/* 152*7c478bd9Sstevel@tonic-gate * Associate the environmental information with devices. 153*7c478bd9Sstevel@tonic-gate */ 154*7c478bd9Sstevel@tonic-gate 155*7c478bd9Sstevel@tonic-gate/* 156*7c478bd9Sstevel@tonic-gate * CPU 0 environmental information 157*7c478bd9Sstevel@tonic-gate */ 158*7c478bd9Sstevel@tonic-gate_class:/jbus/cpu?ID=0 159*7c478bd9Sstevel@tonic-gateTABLE Environment 160*7c478bd9Sstevel@tonic-gate ROW 161*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "temperature-sensor" 162*7c478bd9Sstevel@tonic-gate REFPROP _temperature-sensor_ /platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/SENSOR_CPU0_DIE 163*7c478bd9Sstevel@tonic-gate ENDROW 164*7c478bd9Sstevel@tonic-gate ROW 165*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "temperature-sensor" 166*7c478bd9Sstevel@tonic-gate REFPROP _temperature-sensor_ /platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/SENSOR_SYS_IN 167*7c478bd9Sstevel@tonic-gate ENDROW 168*7c478bd9Sstevel@tonic-gate ROW 169*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "fan" 170*7c478bd9Sstevel@tonic-gate REFPROP _fan_ /platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/ENV_CPU0_FAN 171*7c478bd9Sstevel@tonic-gate ENDROW 172*7c478bd9Sstevel@tonic-gateENDTABLE 173*7c478bd9Sstevel@tonic-gate 174*7c478bd9Sstevel@tonic-gate/* 175*7c478bd9Sstevel@tonic-gate * CPU 1 environmental information 176*7c478bd9Sstevel@tonic-gate */ 177*7c478bd9Sstevel@tonic-gate_class:/jbus/cpu?ID=1 178*7c478bd9Sstevel@tonic-gateTABLE Environment 179*7c478bd9Sstevel@tonic-gate ROW 180*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "temperature-sensor" 181*7c478bd9Sstevel@tonic-gate REFPROP _temperature-sensor_ /platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/SENSOR_CPU1_DIE 182*7c478bd9Sstevel@tonic-gate ENDROW 183*7c478bd9Sstevel@tonic-gate ROW 184*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "temperature-sensor" 185*7c478bd9Sstevel@tonic-gate REFPROP _temperature-sensor_ /platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/SENSOR_SYS_IN 186*7c478bd9Sstevel@tonic-gate ENDROW 187*7c478bd9Sstevel@tonic-gate ROW 188*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "fan" 189*7c478bd9Sstevel@tonic-gate REFPROP _fan_ /platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/ENV_CPU1_FAN 190*7c478bd9Sstevel@tonic-gate ENDROW 191*7c478bd9Sstevel@tonic-gateENDTABLE 192*7c478bd9Sstevel@tonic-gate 193