4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright 2004 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
71 #define RMCLOMV /platform/pci@1e,600000/isa@7/rmc-comm@0,3e8/SUNW,rmclomv
76 name:/frutree/chassis/HDD0
79 PROP Class string r 0 "led"
80 REFPROP _led_ name:RMCLOMV/hdd0_act
83 PROP Class string r 0 "led"
84 REFPROP _led_ name:RMCLOMV/hdd0_service
87 PROP Class string r 0 "led"
88 REFPROP _led_ name:RMCLOMV/hdd0_ok2rm
93 REFPROP _location_parent name:/frutree/chassis/HDD0
94 name:RMCLOMV/hdd0_service
95 REFPROP _location_parent name:/frutree/chassis/HDD0
96 name:RMCLOMV/hdd0_ok2rm
97 REFPROP _location_parent name:/frutree/chassis/HDD0
99 name:/frutree/chassis/HDD1
102 PROP Class string r 0 "led"
103 REFPROP _led_ name:RMCLOMV/hdd1_act
106 PROP Class string r 0 "led"
107 REFPROP _led_ name:RMCLOMV/hdd1_service
110 PROP Class string r 0 "led"
111 REFPROP _led_ name:RMCLOMV/hdd1_ok2rm
115 name:RMCLOMV/hdd1_act
116 REFPROP _location_parent name:/frutree/chassis/HDD1
117 name:RMCLOMV/hdd1_service
118 REFPROP _location_parent name:/frutree/chassis/HDD1
119 name:RMCLOMV/hdd1_ok2rm
120 REFPROP _location_parent name:/frutree/chassis/HDD1
122 name:/frutree/chassis/HDD2
125 PROP Class string r 0 "led"
126 REFPROP _led_ name:RMCLOMV/hdd2_act
129 PROP Class string r 0 "led"
130 REFPROP _led_ name:RMCLOMV/hdd2_service
133 PROP Class string r 0 "led"
134 REFPROP _led_ name:RMCLOMV/hdd2_ok2rm
138 name:RMCLOMV/hdd2_act
139 REFPROP _location_parent name:/frutree/chassis/HDD2
140 name:RMCLOMV/hdd2_service
141 REFPROP _location_parent name:/frutree/chassis/HDD2
142 name:RMCLOMV/hdd2_ok2rm
143 REFPROP _location_parent name:/frutree/chassis/HDD2
145 name:/frutree/chassis/HDD3
148 PROP Class string r 0 "led"
149 REFPROP _led_ name:RMCLOMV/hdd3_act
152 PROP Class string r 0 "led"
153 REFPROP _led_ name:RMCLOMV/hdd3_service
156 PROP Class string r 0 "led"
157 REFPROP _led_ name:RMCLOMV/hdd3_ok2rm
161 name:RMCLOMV/hdd3_act
162 REFPROP _location_parent name:/frutree/chassis/HDD3
163 name:RMCLOMV/hdd3_service
164 REFPROP _location_parent name:/frutree/chassis/HDD3
165 name:RMCLOMV/hdd3_ok2rm
166 REFPROP _location_parent name:/frutree/chassis/HDD3
168 /* add disk Device tables and _fru_parent refprops */
169 #include "fru_HDD0_data.info"
170 #include "fru_HDD1_data.info"
171 #include "fru_HDD2_data.info"
172 #include "fru_HDD3_data.info"
177 #include "fru_PS0_data.info"
178 #include "fru_PS1_data.info"
179 #include "fru_PSU0_data.info"
180 #include "fru_PSU1_data.info"
181 #include "fru_PSU2_data.info"
182 #include "fru_PSU3_data.info"
187 name:RMCLOMV/scsibp_t_amb
188 REFPROP _fru_parent /frutree/chassis/SCSIBP/system-board
189 name:/platform/pci@1e,600000/isa@7/i2c@0,320/scsi-fru-prom@0,a8
190 REFPROP _fru_parent /frutree/chassis/SCSIBP/system-board
195 name:RMCLOMV/ft0_f0_tach
196 REFPROP _location_parent name:/frutree/chassis/FT0/F0
197 name:RMCLOMV/ft1_f0_tach
198 REFPROP _location_parent name:/frutree/chassis/FT1/F0
199 name:RMCLOMV/ft1_f1_tach
200 REFPROP _location_parent name:/frutree/chassis/FT1/F1
201 name:RMCLOMV/ft2_f0_tach
202 REFPROP _location_parent name:/frutree/chassis/FT2/F0
204 REFPROP _location_parent name:/frutree/chassis/FT3/F0
209 name:RMCLOMV/ft0_f0_act
210 REFPROP _location_parent name:/frutree/chassis/FT0/F0
211 name:RMCLOMV/ft0_f0_fault
212 REFPROP _location_parent name:/frutree/chassis/FT0/F0
213 name:RMCLOMV/ft1_f0_act
214 REFPROP _location_parent name:/frutree/chassis/FT1/F0
215 name:RMCLOMV/ft1_f0_fault
216 REFPROP _location_parent name:/frutree/chassis/FT1/F0
217 name:RMCLOMV/ft2_f0_act
218 REFPROP _location_parent name:/frutree/chassis/FT2/F0
219 name:RMCLOMV/ft2_f0_fault
220 REFPROP _location_parent name:/frutree/chassis/FT2/F0
226 REFPROP _fru_parent name:/frutree/chassis/SYS/led-location
227 name:RMCLOMV/sys_service
228 REFPROP _fru_parent name:/frutree/chassis/SYS/led-location
229 name:RMCLOMV/sys_locate
230 REFPROP _fru_parent name:/frutree/chassis/SYS/led-location
231 PROP IsLocator string r 0 "true"
232 PROP LocatorName string r 0 "system"
237 name:RMCLOMV/keyswitch
238 REFPROP _fru_parent name:/frutree/chassis/SYS/key-location
239 PROP Label string r 0 "SYSCTRL"