17c478bd9Sstevel@tonic-gate/* 27c478bd9Sstevel@tonic-gate * CDDL HEADER START 37c478bd9Sstevel@tonic-gate * 47c478bd9Sstevel@tonic-gate * The contents of this file are subject to the terms of the 57c478bd9Sstevel@tonic-gate * Common Development and Distribution License, Version 1.0 only 67c478bd9Sstevel@tonic-gate * (the "License"). You may not use this file except in compliance 77c478bd9Sstevel@tonic-gate * with the License. 87c478bd9Sstevel@tonic-gate * 97c478bd9Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 107c478bd9Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing. 117c478bd9Sstevel@tonic-gate * See the License for the specific language governing permissions 127c478bd9Sstevel@tonic-gate * and limitations under the License. 137c478bd9Sstevel@tonic-gate * 147c478bd9Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each 157c478bd9Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 167c478bd9Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the 177c478bd9Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying 187c478bd9Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner] 197c478bd9Sstevel@tonic-gate * 207c478bd9Sstevel@tonic-gate * CDDL HEADER END 217c478bd9Sstevel@tonic-gate */ 227c478bd9Sstevel@tonic-gate/* 237c478bd9Sstevel@tonic-gate * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 247c478bd9Sstevel@tonic-gate * Use is subject to license terms. 257c478bd9Sstevel@tonic-gate */ 267c478bd9Sstevel@tonic-gate 277c478bd9Sstevel@tonic-gate/* 287c478bd9Sstevel@tonic-gate * This is the environmental plug-in configuration file for 297c478bd9Sstevel@tonic-gate * Taco platform. 307c478bd9Sstevel@tonic-gate */ 317c478bd9Sstevel@tonic-gate 327c478bd9Sstevel@tonic-gateVERSION 1.1 337c478bd9Sstevel@tonic-gate 347c478bd9Sstevel@tonic-gateVERBOSE 1 357c478bd9Sstevel@tonic-gate 367c478bd9Sstevel@tonic-gate/* 377c478bd9Sstevel@tonic-gate * Fan names 387c478bd9Sstevel@tonic-gate */ 397c478bd9Sstevel@tonic-gate#define ENV_SYSTEM_OUT_FAN outtake-fan 407c478bd9Sstevel@tonic-gate#define ENV_CPU0_FAN cpu0-fan 417c478bd9Sstevel@tonic-gate#define ENV_SYSTEM_INTAKE_FAN intake-fan 427c478bd9Sstevel@tonic-gate#define ENV_CPU1_FAN cpu1-fan 437c478bd9Sstevel@tonic-gate#define ENV_DIMM_FAN dimm-fan 447c478bd9Sstevel@tonic-gate 457c478bd9Sstevel@tonic-gate/* 467c478bd9Sstevel@tonic-gate * Sensor ids 477c478bd9Sstevel@tonic-gate */ 487c478bd9Sstevel@tonic-gate#define SENSOR_CPU0_DIE cpu0 497c478bd9Sstevel@tonic-gate#define SENSOR_CPU1_DIE cpu1 507c478bd9Sstevel@tonic-gate#define SENSOR_INT_AMB_0 int-amb0 517c478bd9Sstevel@tonic-gate#define SENSOR_SYS_IN sys-in 527c478bd9Sstevel@tonic-gate#define SENSOR_SYS_OUT sys-out 537c478bd9Sstevel@tonic-gate#define SENSOR_INT_AMB_1 int-amb1 547c478bd9Sstevel@tonic-gate 55*2a8bcb4eSToomas Soome/* 567c478bd9Sstevel@tonic-gate * Hard disk sensor ids 577c478bd9Sstevel@tonic-gate */ 587c478bd9Sstevel@tonic-gate#define ENV_DISK0 hard-disk0 597c478bd9Sstevel@tonic-gate#define ENV_DISK1 hard-disk1 607c478bd9Sstevel@tonic-gate 617c478bd9Sstevel@tonic-gate/* 627c478bd9Sstevel@tonic-gate * Enchilada sensor IDs as used in FRUID segment 637c478bd9Sstevel@tonic-gate */ 647c478bd9Sstevel@tonic-gate#define CPU0_SENSOR_ID 0 657c478bd9Sstevel@tonic-gate#define CPU1_SENSOR_ID 1 667c478bd9Sstevel@tonic-gate#define INT_AMB0_SENSOR_ID 5 677c478bd9Sstevel@tonic-gate#define SYS_OUT_SENSOR_ID 3 687c478bd9Sstevel@tonic-gate#define INT_AMB1_SENSOR_ID 4 697c478bd9Sstevel@tonic-gate#define SYS_IN_SENSOR_ID 2 707c478bd9Sstevel@tonic-gate 717c478bd9Sstevel@tonic-gate/* 727c478bd9Sstevel@tonic-gate * Enchilada fan IDs used in FRUID segment 737c478bd9Sstevel@tonic-gate */ 747c478bd9Sstevel@tonic-gate#define CPU0_FAN_ID 0 757c478bd9Sstevel@tonic-gate#define CPU1_FAN_ID 1 767c478bd9Sstevel@tonic-gate#define SYSTEM_OUT_FAN_ID 2 777c478bd9Sstevel@tonic-gate#define SYSTEM_INTAKE_FAN_ID 3 787c478bd9Sstevel@tonic-gate 797c478bd9Sstevel@tonic-gate#define DIMM_FAN_ID 4 807c478bd9Sstevel@tonic-gate 817c478bd9Sstevel@tonic-gate#define DISK0_ID 0 827c478bd9Sstevel@tonic-gate#define DISK1_ID 1 837c478bd9Sstevel@tonic-gate/* 847c478bd9Sstevel@tonic-gate * Publish the labels for sensors and fans 857c478bd9Sstevel@tonic-gate */ 867c478bd9Sstevel@tonic-gate 877c478bd9Sstevel@tonic-gate/* 887c478bd9Sstevel@tonic-gate * Hardware monitor 0 - at 0,58 897c478bd9Sstevel@tonic-gate */ 907c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/SENSOR_CPU0_DIE 917c478bd9Sstevel@tonic-gate PROP Label string r 0 "Die" 927c478bd9Sstevel@tonic-gate PROP ID int r 4 CPU0_SENSOR_ID 937c478bd9Sstevel@tonic-gate 947c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/SENSOR_CPU1_DIE 957c478bd9Sstevel@tonic-gate PROP Label string r 0 "Die" 967c478bd9Sstevel@tonic-gate PROP ID int r 4 CPU1_SENSOR_ID 977c478bd9Sstevel@tonic-gate 987c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/SENSOR_INT_AMB_0 997c478bd9Sstevel@tonic-gate PROP Label string r 0 "Ambient" 1007c478bd9Sstevel@tonic-gate PROP ID int r 4 INT_AMB0_SENSOR_ID 1017c478bd9Sstevel@tonic-gate 1027c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/ENV_CPU0_FAN 1037c478bd9Sstevel@tonic-gate PROP Label string r 0 "CPU0" 1047c478bd9Sstevel@tonic-gate PROP ID int r 4 CPU0_FAN_ID 1057c478bd9Sstevel@tonic-gate 1067c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/ENV_CPU1_FAN 1077c478bd9Sstevel@tonic-gate PROP Label string r 0 "CPU1" 1087c478bd9Sstevel@tonic-gate PROP ID int r 4 CPU1_FAN_ID 1097c478bd9Sstevel@tonic-gate 1107c478bd9Sstevel@tonic-gate/* 1117c478bd9Sstevel@tonic-gate * Hardware monitor 1 - at 0,5c 1127c478bd9Sstevel@tonic-gate */ 1137c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/SENSOR_SYS_IN 1147c478bd9Sstevel@tonic-gate PROP Label string r 0 "Ambient" 1157c478bd9Sstevel@tonic-gate PROP ID int r 4 SYS_IN_SENSOR_ID 1167c478bd9Sstevel@tonic-gate 1177c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/SENSOR_INT_AMB_1 1187c478bd9Sstevel@tonic-gate PROP Label string r 0 "Ambient" 1197c478bd9Sstevel@tonic-gate PROP ID int r 4 INT_AMB1_SENSOR_ID 1207c478bd9Sstevel@tonic-gate 1217c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/SENSOR_SYS_OUT 1227c478bd9Sstevel@tonic-gate PROP Label string r 0 "Ambient" 1237c478bd9Sstevel@tonic-gate PROP ID int r 4 SYS_OUT_SENSOR_ID 1247c478bd9Sstevel@tonic-gate 1257c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/ENV_SYSTEM_INTAKE_FAN 1267c478bd9Sstevel@tonic-gate PROP Label string r 0 "Intake" 1277c478bd9Sstevel@tonic-gate PROP ID int r 4 SYSTEM_INTAKE_FAN_ID 1287c478bd9Sstevel@tonic-gate 1297c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/ENV_SYSTEM_OUT_FAN 1307c478bd9Sstevel@tonic-gate PROP Label string r 0 "Outtake" 1317c478bd9Sstevel@tonic-gate PROP ID int r 4 SYSTEM_OUT_FAN_ID 1327c478bd9Sstevel@tonic-gate 1337c478bd9Sstevel@tonic-gate/* 1347c478bd9Sstevel@tonic-gate * PIC Microcontroller at 0,52 1357c478bd9Sstevel@tonic-gate */ 1367c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,52/ENV_DIMM_FAN 1377c478bd9Sstevel@tonic-gate PROP Label string r 0 "dimm-fan" 1387c478bd9Sstevel@tonic-gate PROP ID int r 4 DIMM_FAN_ID 1397c478bd9Sstevel@tonic-gate 1407c478bd9Sstevel@tonic-gate/* 1417c478bd9Sstevel@tonic-gate * Internal hard disks 1427c478bd9Sstevel@tonic-gate */ 1437c478bd9Sstevel@tonic-gatename:/platform/pci@1d,700000/scsi@4/sd@0,0/ENV_DISK0 1447c478bd9Sstevel@tonic-gate PROP Label string r 0 "hard-disk0" 1457c478bd9Sstevel@tonic-gate PROP ID int r 4 DISK0_ID 1467c478bd9Sstevel@tonic-gate 1477c478bd9Sstevel@tonic-gatename:/platform/pci@1d,700000/scsi@4/sd@1,0/ENV_DISK1 1487c478bd9Sstevel@tonic-gate PROP Label string r 0 "hard-disk1" 1497c478bd9Sstevel@tonic-gate PROP ID int r 4 DISK1_ID 1507c478bd9Sstevel@tonic-gate 1517c478bd9Sstevel@tonic-gate/* 1527c478bd9Sstevel@tonic-gate * Associate the environmental information with devices. 1537c478bd9Sstevel@tonic-gate */ 1547c478bd9Sstevel@tonic-gate 1557c478bd9Sstevel@tonic-gate/* 1567c478bd9Sstevel@tonic-gate * CPU 0 environmental information 1577c478bd9Sstevel@tonic-gate */ 1587c478bd9Sstevel@tonic-gate_class:/jbus/cpu?ID=0 1597c478bd9Sstevel@tonic-gateTABLE Environment 1607c478bd9Sstevel@tonic-gate ROW 1617c478bd9Sstevel@tonic-gate PROP Class string r 0 "temperature-sensor" 1627c478bd9Sstevel@tonic-gate REFPROP _temperature-sensor_ /platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/SENSOR_CPU0_DIE 1637c478bd9Sstevel@tonic-gate ENDROW 1647c478bd9Sstevel@tonic-gate ROW 1657c478bd9Sstevel@tonic-gate PROP Class string r 0 "temperature-sensor" 1667c478bd9Sstevel@tonic-gate REFPROP _temperature-sensor_ /platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/SENSOR_SYS_IN 1677c478bd9Sstevel@tonic-gate ENDROW 1687c478bd9Sstevel@tonic-gate ROW 1697c478bd9Sstevel@tonic-gate PROP Class string r 0 "fan" 1707c478bd9Sstevel@tonic-gate REFPROP _fan_ /platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/ENV_CPU0_FAN 1717c478bd9Sstevel@tonic-gate ENDROW 1727c478bd9Sstevel@tonic-gateENDTABLE 1737c478bd9Sstevel@tonic-gate 1747c478bd9Sstevel@tonic-gate/* 1757c478bd9Sstevel@tonic-gate * CPU 1 environmental information 1767c478bd9Sstevel@tonic-gate */ 1777c478bd9Sstevel@tonic-gate_class:/jbus/cpu?ID=1 1787c478bd9Sstevel@tonic-gateTABLE Environment 1797c478bd9Sstevel@tonic-gate ROW 1807c478bd9Sstevel@tonic-gate PROP Class string r 0 "temperature-sensor" 1817c478bd9Sstevel@tonic-gate REFPROP _temperature-sensor_ /platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/SENSOR_CPU1_DIE 1827c478bd9Sstevel@tonic-gate ENDROW 1837c478bd9Sstevel@tonic-gate ROW 1847c478bd9Sstevel@tonic-gate PROP Class string r 0 "temperature-sensor" 1857c478bd9Sstevel@tonic-gate REFPROP _temperature-sensor_ /platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/SENSOR_SYS_IN 1867c478bd9Sstevel@tonic-gate ENDROW 1877c478bd9Sstevel@tonic-gate ROW 1887c478bd9Sstevel@tonic-gate PROP Class string r 0 "fan" 1897c478bd9Sstevel@tonic-gate REFPROP _fan_ /platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/ENV_CPU1_FAN 1907c478bd9Sstevel@tonic-gate ENDROW 1917c478bd9Sstevel@tonic-gateENDTABLE 1927c478bd9Sstevel@tonic-gate 193