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.
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.
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]
23 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
28 * ident "%Z%%M% %I% %E% SMI"
30 * This configuration file is parsed by PICL plugin frudr in response
31 * to a PICL_FRU_ADDED event for FT4
33 * supported prop types: void, int, uint, float, string
34 * supported prop access_modes: r, w, rw
36 * VERSION <version_number> -- supported version number is 1.0
38 * name:<namepath> -- gives the anchor node
39 * where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>]
41 * _class:<classpath> -- gives the anchor node
42 * where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>]
45 * {describes a subtree}
48 * PROP <name> <type> <access_mode> [<size> <value>] -- per property
50 * REFPROP <name> <dstnode>
52 * REFNODE <name> <class> with <destnode> -- Associates a new node
53 * with <destnode> if exists
55 * <name> is the nodename
56 * <class> is the picl class.
57 * <destnode> is name:<namepath> or _class:<classpath>
59 * If "name:" or "_class:" is not specified in the <path>,
60 * the default is "name:"
65 * define a macro to force a #ident line into the output stream
66 * otherwise cpp removes it. Use #ifndef because of #included definitions.
69 #define id(s) #ident s
71 id("%Z%%M% %I% %E% SMI")
77 #define FCB1_1U /frutree/chassis/MB/system-board/FIOB/front-io-board-1/FCB1/fan-connector-board
80 #define FCB1_2U /frutree/chassis/MB/system-board/FIOB/front-io-board-2/FCB1/fan-connector-board
84 * Create fan nodes for Seattle 1U
86 name:FCB1_1U/FT4/fan-tray
88 PROP SlotType string r 0 "fan-unit"
89 PROP Label string r 0 "F0"
92 PROP SlotType string r 0 "fan-unit"
93 PROP Label string r 0 "F1"
98 * Create fan nodes for Seattle 2U
100 name:FCB1_2U/FT4/fan-tray
102 PROP SlotType string r 0 "fan-unit"
103 PROP Label string r 0 "F0"
106 #include "fru_FT4_data.info"