1*8326d453Svenki/* 2*8326d453Svenki * CDDL HEADER START 3*8326d453Svenki * 4*8326d453Svenki * The contents of this file are subject to the terms of the 5*8326d453Svenki * Common Development and Distribution License (the "License"). 6*8326d453Svenki * You may not use this file except in compliance with the License. 7*8326d453Svenki * 8*8326d453Svenki * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*8326d453Svenki * or http://www.opensolaris.org/os/licensing. 10*8326d453Svenki * See the License for the specific language governing permissions 11*8326d453Svenki * and limitations under the License. 12*8326d453Svenki * 13*8326d453Svenki * When distributing Covered Code, include this CDDL HEADER in each 14*8326d453Svenki * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*8326d453Svenki * If applicable, add the following below this CDDL HEADER, with the 16*8326d453Svenki * fields enclosed by brackets "[]" replaced with your own identifying 17*8326d453Svenki * information: Portions Copyright [yyyy] [name of copyright owner] 18*8326d453Svenki * 19*8326d453Svenki * CDDL HEADER END 20*8326d453Svenki */ 21*8326d453Svenki 22*8326d453Svenki/* 23*8326d453Svenki * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24*8326d453Svenki * Use is subject to license terms. 25*8326d453Svenki */ 26*8326d453Svenki 27*8326d453Svenki/* 28*8326d453Svenki * ident "%Z%%M% %I% %E% SMI" 29*8326d453Svenki * 30*8326d453Svenki * This configuration file is parsed by PICL plugin envmon in response 31*8326d453Svenki * to a PICL_FRU_ADDED event for FT3 32*8326d453Svenki * 33*8326d453Svenki * supported prop types: void, int, uint, float, string 34*8326d453Svenki * supported prop access_modes: r, w, rw 35*8326d453Svenki * 36*8326d453Svenki * VERSION <version_number> -- supported version number is 1.0 37*8326d453Svenki * 38*8326d453Svenki * name:<namepath> -- gives the anchor node 39*8326d453Svenki * where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>] 40*8326d453Svenki * 41*8326d453Svenki * _class:<classpath> -- gives the anchor node 42*8326d453Svenki * where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>] 43*8326d453Svenki * 44*8326d453Svenki * NODE <name> <class> 45*8326d453Svenki * {describes a subtree} 46*8326d453Svenki * ENDNODE 47*8326d453Svenki * 48*8326d453Svenki * PROP <name> <type> <access_mode> [<size> <value>] -- per property 49*8326d453Svenki * 50*8326d453Svenki * REFPROP <name> <dstnode> 51*8326d453Svenki * 52*8326d453Svenki * REFNODE <name> <class> with <destnode> -- Associates a new node 53*8326d453Svenki * with <destnode> if exists 54*8326d453Svenki * where 55*8326d453Svenki * <name> is the nodename 56*8326d453Svenki * <class> is the picl class. 57*8326d453Svenki * <destnode> is name:<namepath> or _class:<classpath> 58*8326d453Svenki * 59*8326d453Svenki * If "name:" or "_class:" is not specified in the <path>, 60*8326d453Svenki * the default is "name:" 61*8326d453Svenki * 62*8326d453Svenki */ 63*8326d453Svenki 64*8326d453Svenki/* 65*8326d453Svenki * define a macro to force a #ident line into the output stream 66*8326d453Svenki * otherwise cpp removes it. Use #ifndef because of #included definitions. 67*8326d453Svenki */ 68*8326d453Svenki#ifndef id 69*8326d453Svenki#define id(s) #ident s 70*8326d453Svenki#endif 71*8326d453Svenkiid("%Z%%M% %I% %E% SMI") 72*8326d453Svenki 73*8326d453Svenki#ifndef RMCLOMV 74*8326d453Svenki#define RMCLOMV /platform/ebus@1f,464000/rmc-comm@2,0/SUNW,rmclomv 75*8326d453Svenki#endif 76*8326d453Svenki#ifndef FCB1_1U 77*8326d453Svenki#define FCB1_1U /frutree/chassis/MB/system-board/FIOB/front-io-board-1/FCB1/fan-connector-board 78*8326d453Svenki#endif 79*8326d453Svenki#ifndef FCB1_2U 80*8326d453Svenki#define FCB1_2U /frutree/chassis/MB/system-board/FIOB/front-io-board-2/FCB1/fan-connector-board 81*8326d453Svenki#endif 82*8326d453Svenki 83*8326d453Svenki/* 84*8326d453Svenki * Create device table and location parents for Seattle 1U fans 85*8326d453Svenki */ 86*8326d453Svenkiname:FCB1_1U/FT3/fan-tray/F0 87*8326d453Svenki TABLE Devices 88*8326d453Svenki ROW 89*8326d453Svenki PROP Class string r 0 "fan" 90*8326d453Svenki REFPROP _fan_ name:RMCLOMV/ft3_f0 91*8326d453Svenki ENDROW 92*8326d453Svenki ENDTABLE 93*8326d453Svenkiname:FCB1_1U/FT3/fan-tray/F1 94*8326d453Svenki TABLE Devices 95*8326d453Svenki ROW 96*8326d453Svenki PROP Class string r 0 "fan" 97*8326d453Svenki REFPROP _fan_ name:RMCLOMV/ft3_f1 98*8326d453Svenki ENDROW 99*8326d453Svenki ENDTABLE 100*8326d453Svenkiname:RMCLOMV/ft3_f0 101*8326d453Svenki REFPROP _location_parent name:FCB1_1U/FT3/fan-tray/F0 102*8326d453Svenkiname:RMCLOMV/ft3_f1 103*8326d453Svenki REFPROP _location_parent name:FCB1_1U/FT3/fan-tray/F1 104*8326d453Svenki 105*8326d453Svenki 106*8326d453Svenki/* 107*8326d453Svenki * Create device table and location parents for Seattle 2U fans 108*8326d453Svenki */ 109*8326d453Svenkiname:FCB1_2U/FT3/fan-tray/F0 110*8326d453Svenki TABLE Devices 111*8326d453Svenki ROW 112*8326d453Svenki PROP Class string r 0 "fan" 113*8326d453Svenki REFPROP _fan_ name:RMCLOMV/ft3_f0 114*8326d453Svenki ENDROW 115*8326d453Svenki ENDTABLE 116*8326d453Svenkiname:RMCLOMV/ft3_f0 117*8326d453Svenki REFPROP _location_parent name:FCB1_2U/FT3/fan-tray/F0 118