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