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 2005 Sun Microsystems, Inc. All rights reserved. 24*7c478bd9Sstevel@tonic-gate * Use is subject to license terms. 25*7c478bd9Sstevel@tonic-gate * 26*7c478bd9Sstevel@tonic-gate * #ident "%Z%%M% %I% %E% SMI" 27*7c478bd9Sstevel@tonic-gate * 28*7c478bd9Sstevel@tonic-gate * supported prop types: void, int, uint, float, string 29*7c478bd9Sstevel@tonic-gate * supported prop access_modes: r, w, rw 30*7c478bd9Sstevel@tonic-gate * 31*7c478bd9Sstevel@tonic-gate * VERSION <version_number> -- supported version number is 1.0 32*7c478bd9Sstevel@tonic-gate * 33*7c478bd9Sstevel@tonic-gate * name:<namepath> -- gives the anchor node 34*7c478bd9Sstevel@tonic-gate * where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>] 35*7c478bd9Sstevel@tonic-gate * 36*7c478bd9Sstevel@tonic-gate * _class:<classpath> -- gives the anchor node 37*7c478bd9Sstevel@tonic-gate * where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>] 38*7c478bd9Sstevel@tonic-gate * 39*7c478bd9Sstevel@tonic-gate * NODE <name> <class> 40*7c478bd9Sstevel@tonic-gate * {describes a subtree} 41*7c478bd9Sstevel@tonic-gate * ENDNODE 42*7c478bd9Sstevel@tonic-gate * 43*7c478bd9Sstevel@tonic-gate * PROP <name> <type> <access_mode> [<size> <value>] -- per property 44*7c478bd9Sstevel@tonic-gate * 45*7c478bd9Sstevel@tonic-gate * REFPROP <name> <dstnode> 46*7c478bd9Sstevel@tonic-gate * 47*7c478bd9Sstevel@tonic-gate * REFNODE <name> <class> with <destnode> -- Associates a new node 48*7c478bd9Sstevel@tonic-gate * with <destnode> if exists 49*7c478bd9Sstevel@tonic-gate * where 50*7c478bd9Sstevel@tonic-gate * <name> is the nodename 51*7c478bd9Sstevel@tonic-gate * <class> is the picl class. 52*7c478bd9Sstevel@tonic-gate * <destnode> is name:<namepath> or _class:<classpath> 53*7c478bd9Sstevel@tonic-gate * 54*7c478bd9Sstevel@tonic-gate * If "name:" or "_class:" is not specified in the <path>, 55*7c478bd9Sstevel@tonic-gate * the default is "name:" 56*7c478bd9Sstevel@tonic-gate * 57*7c478bd9Sstevel@tonic-gate */ 58*7c478bd9Sstevel@tonic-gate 59*7c478bd9Sstevel@tonic-gate/* 60*7c478bd9Sstevel@tonic-gate * define a macro to force a #ident line into the output stream 61*7c478bd9Sstevel@tonic-gate * otherwise cpp removes it. Use #ifndef because of #included definitions. 62*7c478bd9Sstevel@tonic-gate */ 63*7c478bd9Sstevel@tonic-gate#ifndef id 64*7c478bd9Sstevel@tonic-gate#define id(s) #ident s 65*7c478bd9Sstevel@tonic-gate#endif 66*7c478bd9Sstevel@tonic-gateid("%Z%%M% %I% %E% SMI") 67*7c478bd9Sstevel@tonic-gate 68*7c478bd9Sstevel@tonic-gate/* 69*7c478bd9Sstevel@tonic-gate * There are a lot of nodes below the rmclomv node, define a shortname 70*7c478bd9Sstevel@tonic-gate */ 71*7c478bd9Sstevel@tonic-gate#define RMCLOMV /platform/pci@1e,600000/isa@7/rmc-comm@0,3e8/SUNW,rmclomv 72*7c478bd9Sstevel@tonic-gate 73*7c478bd9Sstevel@tonic-gate/* 74*7c478bd9Sstevel@tonic-gate * add disk leds 75*7c478bd9Sstevel@tonic-gate */ 76*7c478bd9Sstevel@tonic-gatename:/frutree/chassis/HDD0 77*7c478bd9Sstevel@tonic-gate TABLE Devices 78*7c478bd9Sstevel@tonic-gate ROW 79*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "led" 80*7c478bd9Sstevel@tonic-gate REFPROP _led_ name:RMCLOMV/hdd0_act 81*7c478bd9Sstevel@tonic-gate ENDROW 82*7c478bd9Sstevel@tonic-gate ROW 83*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "led" 84*7c478bd9Sstevel@tonic-gate REFPROP _led_ name:RMCLOMV/hdd0_service 85*7c478bd9Sstevel@tonic-gate ENDROW 86*7c478bd9Sstevel@tonic-gate ROW 87*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "led" 88*7c478bd9Sstevel@tonic-gate REFPROP _led_ name:RMCLOMV/hdd0_ok2rm 89*7c478bd9Sstevel@tonic-gate ENDROW 90*7c478bd9Sstevel@tonic-gate ENDTABLE 91*7c478bd9Sstevel@tonic-gate 92*7c478bd9Sstevel@tonic-gatename:RMCLOMV/hdd0_act 93*7c478bd9Sstevel@tonic-gate REFPROP _location_parent name:/frutree/chassis/HDD0 94*7c478bd9Sstevel@tonic-gatename:RMCLOMV/hdd0_service 95*7c478bd9Sstevel@tonic-gate REFPROP _location_parent name:/frutree/chassis/HDD0 96*7c478bd9Sstevel@tonic-gatename:RMCLOMV/hdd0_ok2rm 97*7c478bd9Sstevel@tonic-gate REFPROP _location_parent name:/frutree/chassis/HDD0 98*7c478bd9Sstevel@tonic-gate 99*7c478bd9Sstevel@tonic-gatename:/frutree/chassis/HDD1 100*7c478bd9Sstevel@tonic-gate TABLE Devices 101*7c478bd9Sstevel@tonic-gate ROW 102*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "led" 103*7c478bd9Sstevel@tonic-gate REFPROP _led_ name:RMCLOMV/hdd1_act 104*7c478bd9Sstevel@tonic-gate ENDROW 105*7c478bd9Sstevel@tonic-gate ROW 106*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "led" 107*7c478bd9Sstevel@tonic-gate REFPROP _led_ name:RMCLOMV/hdd1_service 108*7c478bd9Sstevel@tonic-gate ENDROW 109*7c478bd9Sstevel@tonic-gate ROW 110*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "led" 111*7c478bd9Sstevel@tonic-gate REFPROP _led_ name:RMCLOMV/hdd1_ok2rm 112*7c478bd9Sstevel@tonic-gate ENDROW 113*7c478bd9Sstevel@tonic-gate ENDTABLE 114*7c478bd9Sstevel@tonic-gate 115*7c478bd9Sstevel@tonic-gatename:RMCLOMV/hdd1_act 116*7c478bd9Sstevel@tonic-gate REFPROP _location_parent name:/frutree/chassis/HDD1 117*7c478bd9Sstevel@tonic-gatename:RMCLOMV/hdd1_service 118*7c478bd9Sstevel@tonic-gate REFPROP _location_parent name:/frutree/chassis/HDD1 119*7c478bd9Sstevel@tonic-gatename:RMCLOMV/hdd1_ok2rm 120*7c478bd9Sstevel@tonic-gate REFPROP _location_parent name:/frutree/chassis/HDD1 121*7c478bd9Sstevel@tonic-gate 122*7c478bd9Sstevel@tonic-gatename:/frutree/chassis/HDD2 123*7c478bd9Sstevel@tonic-gate TABLE Devices 124*7c478bd9Sstevel@tonic-gate ROW 125*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "led" 126*7c478bd9Sstevel@tonic-gate REFPROP _led_ name:RMCLOMV/hdd2_act 127*7c478bd9Sstevel@tonic-gate ENDROW 128*7c478bd9Sstevel@tonic-gate ROW 129*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "led" 130*7c478bd9Sstevel@tonic-gate REFPROP _led_ name:RMCLOMV/hdd2_service 131*7c478bd9Sstevel@tonic-gate ENDROW 132*7c478bd9Sstevel@tonic-gate ROW 133*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "led" 134*7c478bd9Sstevel@tonic-gate REFPROP _led_ name:RMCLOMV/hdd2_ok2rm 135*7c478bd9Sstevel@tonic-gate ENDROW 136*7c478bd9Sstevel@tonic-gate ENDTABLE 137*7c478bd9Sstevel@tonic-gate 138*7c478bd9Sstevel@tonic-gatename:RMCLOMV/hdd2_act 139*7c478bd9Sstevel@tonic-gate REFPROP _location_parent name:/frutree/chassis/HDD2 140*7c478bd9Sstevel@tonic-gatename:RMCLOMV/hdd2_service 141*7c478bd9Sstevel@tonic-gate REFPROP _location_parent name:/frutree/chassis/HDD2 142*7c478bd9Sstevel@tonic-gatename:RMCLOMV/hdd2_ok2rm 143*7c478bd9Sstevel@tonic-gate REFPROP _location_parent name:/frutree/chassis/HDD2 144*7c478bd9Sstevel@tonic-gate 145*7c478bd9Sstevel@tonic-gatename:/frutree/chassis/HDD3 146*7c478bd9Sstevel@tonic-gate TABLE Devices 147*7c478bd9Sstevel@tonic-gate ROW 148*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "led" 149*7c478bd9Sstevel@tonic-gate REFPROP _led_ name:RMCLOMV/hdd3_act 150*7c478bd9Sstevel@tonic-gate ENDROW 151*7c478bd9Sstevel@tonic-gate ROW 152*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "led" 153*7c478bd9Sstevel@tonic-gate REFPROP _led_ name:RMCLOMV/hdd3_service 154*7c478bd9Sstevel@tonic-gate ENDROW 155*7c478bd9Sstevel@tonic-gate ROW 156*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "led" 157*7c478bd9Sstevel@tonic-gate REFPROP _led_ name:RMCLOMV/hdd3_ok2rm 158*7c478bd9Sstevel@tonic-gate ENDROW 159*7c478bd9Sstevel@tonic-gate ENDTABLE 160*7c478bd9Sstevel@tonic-gate 161*7c478bd9Sstevel@tonic-gatename:RMCLOMV/hdd3_act 162*7c478bd9Sstevel@tonic-gate REFPROP _location_parent name:/frutree/chassis/HDD3 163*7c478bd9Sstevel@tonic-gatename:RMCLOMV/hdd3_service 164*7c478bd9Sstevel@tonic-gate REFPROP _location_parent name:/frutree/chassis/HDD3 165*7c478bd9Sstevel@tonic-gatename:RMCLOMV/hdd3_ok2rm 166*7c478bd9Sstevel@tonic-gate REFPROP _location_parent name:/frutree/chassis/HDD3 167*7c478bd9Sstevel@tonic-gate 168*7c478bd9Sstevel@tonic-gate/* add disk Device tables and _fru_parent refprops */ 169*7c478bd9Sstevel@tonic-gate#include "fru_HDD0_data.info" 170*7c478bd9Sstevel@tonic-gate#include "fru_HDD1_data.info" 171*7c478bd9Sstevel@tonic-gate#include "fru_HDD2_data.info" 172*7c478bd9Sstevel@tonic-gate#include "fru_HDD3_data.info" 173*7c478bd9Sstevel@tonic-gate 174*7c478bd9Sstevel@tonic-gatename:/frutree/chassis/HCM/hcm 175*7c478bd9Sstevel@tonic-gate TABLE Devices 176*7c478bd9Sstevel@tonic-gate ROW 177*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "hcm" 178*7c478bd9Sstevel@tonic-gate REFPROP _hcm_ name:/platform/pci@1c,600000/cpu?DeviceID=1 179*7c478bd9Sstevel@tonic-gate ENDROW 180*7c478bd9Sstevel@tonic-gate ENDTABLE 181*7c478bd9Sstevel@tonic-gate 182*7c478bd9Sstevel@tonic-gate/* 183*7c478bd9Sstevel@tonic-gate * power supplies 184*7c478bd9Sstevel@tonic-gate */ 185*7c478bd9Sstevel@tonic-gate#include "fru_PS0_data.info" 186*7c478bd9Sstevel@tonic-gate#include "fru_PS1_data.info" 187*7c478bd9Sstevel@tonic-gate 188*7c478bd9Sstevel@tonic-gate/* 189*7c478bd9Sstevel@tonic-gate * USB ports 190*7c478bd9Sstevel@tonic-gate */ 191*7c478bd9Sstevel@tonic-gate#include "fru_usb-a-1_data.info" 192*7c478bd9Sstevel@tonic-gate#include "fru_usb-a-2_data.info" 193*7c478bd9Sstevel@tonic-gate 194*7c478bd9Sstevel@tonic-gate/* 195*7c478bd9Sstevel@tonic-gate * add tables and fru parents for system fans 196*7c478bd9Sstevel@tonic-gate */ 197*7c478bd9Sstevel@tonic-gatename:/frutree/chassis/F0/fan-unit 198*7c478bd9Sstevel@tonic-gate TABLE Devices 199*7c478bd9Sstevel@tonic-gate ROW 200*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "fan" 201*7c478bd9Sstevel@tonic-gate REFPROP _fan_ name:RMCLOMV/f0_rs 202*7c478bd9Sstevel@tonic-gate ENDROW 203*7c478bd9Sstevel@tonic-gate ENDTABLE 204*7c478bd9Sstevel@tonic-gatename:/frutree/chassis/F1/fan-unit 205*7c478bd9Sstevel@tonic-gate TABLE Devices 206*7c478bd9Sstevel@tonic-gate ROW 207*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "fan" 208*7c478bd9Sstevel@tonic-gate REFPROP _fan_ name:RMCLOMV/f1_rs 209*7c478bd9Sstevel@tonic-gate ENDROW 210*7c478bd9Sstevel@tonic-gate ENDTABLE 211*7c478bd9Sstevel@tonic-gatename:/frutree/chassis/F2/fan-unit 212*7c478bd9Sstevel@tonic-gate TABLE Devices 213*7c478bd9Sstevel@tonic-gate ROW 214*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "fan" 215*7c478bd9Sstevel@tonic-gate REFPROP _fan_ name:RMCLOMV/f2_rs 216*7c478bd9Sstevel@tonic-gate ENDROW 217*7c478bd9Sstevel@tonic-gate ENDTABLE 218*7c478bd9Sstevel@tonic-gatename:/frutree/chassis/F3/fan-unit 219*7c478bd9Sstevel@tonic-gate TABLE Devices 220*7c478bd9Sstevel@tonic-gate ROW 221*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "fan" 222*7c478bd9Sstevel@tonic-gate REFPROP _fan_ name:RMCLOMV/f3_rs 223*7c478bd9Sstevel@tonic-gate ENDROW 224*7c478bd9Sstevel@tonic-gate ENDTABLE 225*7c478bd9Sstevel@tonic-gate 226*7c478bd9Sstevel@tonic-gatename:RMCLOMV/f0_rs 227*7c478bd9Sstevel@tonic-gate REFPROP _fru_parent name:/frutree/chassis/F0/fan-unit 228*7c478bd9Sstevel@tonic-gatename:RMCLOMV/f1_rs 229*7c478bd9Sstevel@tonic-gate REFPROP _fru_parent name:/frutree/chassis/F1/fan-unit 230*7c478bd9Sstevel@tonic-gatename:RMCLOMV/f2_rs 231*7c478bd9Sstevel@tonic-gate REFPROP _fru_parent name:/frutree/chassis/F2/fan-unit 232*7c478bd9Sstevel@tonic-gatename:RMCLOMV/f3_rs 233*7c478bd9Sstevel@tonic-gate REFPROP _fru_parent name:/frutree/chassis/F3/fan-unit 234*7c478bd9Sstevel@tonic-gate 235*7c478bd9Sstevel@tonic-gate/* 236*7c478bd9Sstevel@tonic-gate * Sas_controller 237*7c478bd9Sstevel@tonic-gate */ 238*7c478bd9Sstevel@tonic-gatename:/frutree/chassis/SASPCI/saspci 239*7c478bd9Sstevel@tonic-gate TABLE Devices 240*7c478bd9Sstevel@tonic-gate ROW 241*7c478bd9Sstevel@tonic-gate PROP Class string r 0 "temperature-sensor" 242*7c478bd9Sstevel@tonic-gate REFPROP _temperature-sensor_ name:/platform/pci@1e,600000/isa@7/rmc-comm@0,3e8/SUNW,rmclomv/sas_controller 243*7c478bd9Sstevel@tonic-gate ENDROW 244*7c478bd9Sstevel@tonic-gate ENDTABLE 245*7c478bd9Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/rmc-comm@0,3e8/SUNW,rmclomv/sas_controller 246*7c478bd9Sstevel@tonic-gate REFPROP _fru_parent name:/frutree/chassis/SASPCI/saspci 247*7c478bd9Sstevel@tonic-gate 248