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.
26 * ident "%Z%%M% %I% %E% SMI"
28 * supported prop types: void, int, uint, float, string
29 * supported prop access_modes: r, w, rw
31 * VERSION <version_number> -- supported version number is 1.0
33 * name:<namepath> -- gives the anchor node
34 * where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>]
36 * _class:<classpath> -- gives the anchor node
37 * where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>]
40 * {describes a subtree}
43 * PROP <name> <type> <access_mode> [<size> <value>] -- per property
45 * REFPROP <name> <dstnode>
47 * REFNODE <name> <class> with <destnode> -- Associates a new node
48 * with <destnode> if exists
50 * <name> is the nodename
51 * <class> is the picl class.
52 * <destnode> is name:<namepath> or _class:<classpath>
54 * If "name:" or "_class:" is not specified in the <path>,
55 * the default is "name:"
60 * define a macro to force a #ident line into the output stream
61 * otherwise cpp removes it. Use #ifndef because of #included definitions.
64 #define id(s) #ident s
66 id("%Z%%M% %I% %E% SMI")
69 * There are a lot of nodes below the rmclomv node, define a shortname
73 #define RMCLOMV /platform/ebus@1f,464000/rmc-comm@2,0/SUNW,rmclomv
77 #define DISKBP1 /frutree/chassis/MB/system-board/HDDBP/disk-backplane-1
81 #define DISKBP3 /frutree/chassis/MB/system-board/HDDBP/disk-backplane-3
90 PROP Class string r 0 "led"
91 REFPROP _led_ name:RMCLOMV/hdd0_act
94 PROP Class string r 0 "led"
95 REFPROP _led_ name:RMCLOMV/hdd0_service
98 PROP Class string r 0 "led"
99 REFPROP _led_ name:RMCLOMV/hdd0_ok2rm
103 name:RMCLOMV/hdd0_act
104 REFPROP _location_parent name:DISKBP1/HDD0
105 name:RMCLOMV/hdd0_service
106 REFPROP _location_parent name:DISKBP1/HDD0
107 name:RMCLOMV/hdd0_ok2rm
108 REFPROP _location_parent name:DISKBP1/HDD0
113 PROP Class string r 0 "led"
114 REFPROP _led_ name:RMCLOMV/hdd1_act
117 PROP Class string r 0 "led"
118 REFPROP _led_ name:RMCLOMV/hdd1_service
121 PROP Class string r 0 "led"
122 REFPROP _led_ name:RMCLOMV/hdd1_ok2rm
126 name:RMCLOMV/hdd1_act
127 REFPROP _location_parent name:DISKBP1/HDD1
128 name:RMCLOMV/hdd1_service
129 REFPROP _location_parent name:DISKBP1/HDD1
130 name:RMCLOMV/hdd1_ok2rm
131 REFPROP _location_parent name:DISKBP1/HDD1
136 PROP Class string r 0 "led"
137 REFPROP _led_ name:RMCLOMV/hdd0_act
140 PROP Class string r 0 "led"
141 REFPROP _led_ name:RMCLOMV/hdd0_service
144 PROP Class string r 0 "led"
145 REFPROP _led_ name:RMCLOMV/hdd0_ok2rm
149 name:RMCLOMV/hdd0_act
150 REFPROP _location_parent name:DISKBP3/HDD0
151 name:RMCLOMV/hdd0_service
152 REFPROP _location_parent name:DISKBP3/HDD0
153 name:RMCLOMV/hdd0_ok2rm
154 REFPROP _location_parent name:DISKBP3/HDD0
159 PROP Class string r 0 "led"
160 REFPROP _led_ name:RMCLOMV/hdd1_act
163 PROP Class string r 0 "led"
164 REFPROP _led_ name:RMCLOMV/hdd1_service
167 PROP Class string r 0 "led"
168 REFPROP _led_ name:RMCLOMV/hdd1_ok2rm
172 name:RMCLOMV/hdd1_act
173 REFPROP _location_parent name:DISKBP3/HDD1
174 name:RMCLOMV/hdd1_service
175 REFPROP _location_parent name:DISKBP3/HDD1
176 name:RMCLOMV/hdd1_ok2rm
177 REFPROP _location_parent name:DISKBP3/HDD1
182 PROP Class string r 0 "led"
183 REFPROP _led_ name:RMCLOMV/hdd2_act
186 PROP Class string r 0 "led"
187 REFPROP _led_ name:RMCLOMV/hdd2_service
190 PROP Class string r 0 "led"
191 REFPROP _led_ name:RMCLOMV/hdd2_ok2rm
195 name:RMCLOMV/hdd2_act
196 REFPROP _location_parent name:DISKBP3/HDD2
197 name:RMCLOMV/hdd2_service
198 REFPROP _location_parent name:DISKBP3/HDD2
199 name:RMCLOMV/hdd2_ok2rm
200 REFPROP _location_parent name:DISKBP3/HDD2
205 PROP Class string r 0 "led"
206 REFPROP _led_ name:RMCLOMV/hdd3_act
209 PROP Class string r 0 "led"
210 REFPROP _led_ name:RMCLOMV/hdd3_service
213 PROP Class string r 0 "led"
214 REFPROP _led_ name:RMCLOMV/hdd3_ok2rm
218 name:RMCLOMV/hdd3_act
219 REFPROP _location_parent name:DISKBP3/HDD3
220 name:RMCLOMV/hdd3_service
221 REFPROP _location_parent name:DISKBP3/HDD3
222 name:RMCLOMV/hdd3_ok2rm
223 REFPROP _location_parent name:DISKBP3/HDD3
225 /* add disk Device tables and _fru_parent refprops */
226 #include "fru_HDD0_data.info"
227 #include "fru_HDD1_data.info"
228 #include "fru_HDD2_data.info"
229 #include "fru_HDD3_data.info"
234 #include "fru_PS0_data.info"
235 #include "fru_PS1_data.info"
240 #include "fru_usb-a-1_data.info"
241 #include "fru_usb-a-2_data.info"
242 #include "fru_usb-a-3_data.info"
243 #include "fru_usb-a-4_data.info"
248 #include "fru_FT0_data.info"
249 #include "fru_FT1_data.info"
250 #include "fru_FT2_data.info"
251 #include "fru_FT3_data.info"
252 #include "fru_FT4_data.info"
253 #include "fru_FT5_data.info"
254 #include "fru_FT6_data.info"