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 file creates device tables for all of the fru's in the system
31 * (except for hard disk drives and power supplies.) Each table contains
32 * one or more rows of devices, each with a reference to a particular
35 * This file will be #included by piclfrutree.info. It should be included
36 * after the frutree and system hierarchies are defined.
40 * define a macro to force a #ident line into the output stream
41 * otherwise cpp removes it. Use #ifndef because of #included definitions.
44 #define id(s) #ident s
46 id("%Z%%M% %I% %E% SMI")
49 * add a Devices table to DVD
51 name:/frutree/chassis/MB/system-board/RMD0/removable-media
54 PROP Class string r 0 "cdrom"
55 REFPROP _cdrom_ name:/platform/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0
60 * add Devices table for the keyswitch
62 name:/frutree/chassis/SYSCTRL
65 PROP Class string r 0 "keyswitch"
66 REFPROP _keyswitch_ name:RMCLOMV/keyswitch
71 * add Devices table for the chassis
76 PROP Class string r 0 "chassis_serial_number"
77 REFPROP _chassis-serial-number_ name:RMCLOMV/chassis_serial_number
82 * add a Devices table to the system-board
84 name:/frutree/chassis/MB/system-board
87 PROP Class string r 0 "voltage-sensor"
88 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+3v3
91 PROP Class string r 0 "voltage-sensor"
92 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+12v
95 PROP Class string r 0 "temperature-sensor"
96 REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_remote
99 PROP Class string r 0 "temperature-sensor"
100 REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_1064
103 PROP Class string r 0 "temperature-sensor"
104 REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_fire
107 PROP Class string r 0 "temperature-sensor"
108 REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_amb
111 PROP Class string r 0 "led"
112 REFPROP _led_ name:RMCLOMV/sys_act
115 PROP Class string r 0 "led"
116 REFPROP _led_ name:RMCLOMV/sys_service
119 PROP Class string r 0 "led"
120 REFPROP _led_ name:RMCLOMV/sys_locate
123 PROP Class string r 0 "led"
124 REFPROP _led_ name:RMCLOMV/sys_overtemp
127 PROP Class string r 0 "led"
128 REFPROP _led_ name:RMCLOMV/sys_psfail
131 PROP Class string r 0 "led"
132 REFPROP _led_ name:RMCLOMV/sys_fanfail
135 PROP Class string r 0 "keyswitch"
136 REFPROP _keyswitch_ name:RMCLOMV/keyswitch
141 * add a Devices table to the battery
143 name:/frutree/chassis/MB/system-board/BATTERY/battery
146 PROP Class string r 0 "voltage-sensor"
147 REFPROP _voltage-sensor_ name:RMCLOMV/mb_bat_v_bat
152 * add a Devices table to the service-processor
154 name:/frutree/chassis/MB/system-board/SC/sc
157 PROP Class string r 0 "service-processor"
158 REFPROP _service-processor_ name:RMCLOMV
163 * add a Devices table to the front io board
165 name:/frutree/chassis/MB/system-board/FIOB/front-io-board-1
168 PROP Class string r 0 "temperature-sensor"
169 REFPROP _temperature-sensor_ name:RMCLOMV/fiob_t_amb
173 name:/frutree/chassis/MB/system-board/FIOB/front-io-board-2
176 PROP Class string r 0 "temperature-sensor"
177 REFPROP _temperature-sensor_ name:RMCLOMV/fiob_t_amb
182 * add a Devices table to the disk back plane
184 name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1
187 PROP Class string r 0 "fan"
188 REFPROP _fan_ name:RMCLOMV/sasbp_f0
191 PROP Class string r 0 "fan"
192 REFPROP _fan_ name:RMCLOMV/sasbp_f1
196 name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3
199 PROP Class string r 0 "fan"
200 REFPROP _fan_ name:RMCLOMV/sasbp_f0
203 PROP Class string r 0 "fan"
204 REFPROP _fan_ name:RMCLOMV/sasbp_f1
209 * add a Devices table to the power distribution board
211 name:/frutree/chassis/PDB
214 PROP Class string r 0 "temperature-sensor"
215 REFPROP _temperature-sensor_ name:RMCLOMV/pdb_t_disk
218 PROP Class string r 0 "temperature-sensor"
219 REFPROP _temperature-sensor_ name:RMCLOMV/pdb_t_ps0
222 PROP Class string r 0 "temperature-sensor"
223 REFPROP _temperature-sensor_ name:RMCLOMV/pdb_t_ps1
230 name:/platform/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0
231 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/RMD0/removable-media
234 * fru parents for mother-board and other sensors
236 name:RMCLOMV/mb_v_+3v3
237 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
238 name:RMCLOMV/mb_v_+12v
239 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
240 name:RMCLOMV/mb_t_remote
241 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
242 name:RMCLOMV/mb_t_1064
243 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
244 name:RMCLOMV/mb_t_fire
245 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
246 name:RMCLOMV/mb_t_amb
247 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
249 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
250 name:RMCLOMV/sys_service
251 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
252 name:RMCLOMV/sys_locate
253 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
254 PROP IsLocator string r 0 "true"
255 PROP LocatorName string r 0 "system"
256 PROP LocatorOn string r 0 "blinking"
257 name:RMCLOMV/sys_overtemp
258 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
259 name:RMCLOMV/sys_psfail
260 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
261 name:RMCLOMV/sys_fanfail
262 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
263 name:RMCLOMV/keyswitch
264 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
265 PROP Label string r 0 "SYSCTRL"
266 name:RMCLOMV/chassis_serial_number
267 REFPROP _fru_parent name:/frutree/chassis
268 PROP Label string r 0 "CHASSISSERIAL"
269 name:RMCLOMV/pdb_t_disk
270 REFPROP _fru_parent name:/frutree/chassis/PDB/power-distribution-board
271 name:RMCLOMV/pdb_t_ps0
272 REFPROP _fru_parent name:/frutree/chassis/PDB/power-distribution-board
273 name:RMCLOMV/pdb_t_ps1
274 REFPROP _fru_parent name:/frutree/chassis/PDB/power-distribution-board
275 name:RMCLOMV/fiob_t_amb
276 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-io-board-1
277 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-io-board-2
278 name:RMCLOMV/mb_bat_v_bat
279 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/BATTERY/battery
280 name:RMCLOMV/sasbp_f0
281 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1
282 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3
284 name:RMCLOMV/sasbp_f1
285 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1
286 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3
289 * add Devices tables for cpu-related sensors
291 name:/frutree/chassis/MB/system-board/P0/cpu
294 PROP Class string r 0 "cpu"
295 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi+@0,0
296 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi@0,0
299 PROP Class string r 0 "temperature-sensor"
300 REFPROP _temperature-sensor_ name:RMCLOMV/mb_p0_t_core
303 PROP Class string r 0 "voltage-sensor"
304 REFPROP _voltage-sensor_ name:RMCLOMV/mb_p0_v_core
308 name:RMCLOMV/mb_p0_t_core
309 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu
310 name:RMCLOMV/mb_p0_v_core
311 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu
313 name:/frutree/chassis/MB/system-board/P1/cpu
316 PROP Class string r 0 "cpu"
317 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi+@1,0
318 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi@1,0
321 PROP Class string r 0 "temperature-sensor"
322 REFPROP _temperature-sensor_ name:RMCLOMV/mb_p1_t_core
325 PROP Class string r 0 "voltage-sensor"
326 REFPROP _voltage-sensor_ name:RMCLOMV/mb_p1_v_core
329 name:RMCLOMV/mb_p1_t_core
330 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu
331 name:RMCLOMV/mb_p1_v_core
332 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu
334 name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0/mem-module
337 PROP Class string r 0 "memory-module"
338 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=0
341 name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1/mem-module
344 PROP Class string r 0 "memory-module"
345 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=1
348 name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0/mem-module
351 PROP Class string r 0 "memory-module"
352 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=0
355 name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1/mem-module
358 PROP Class string r 0 "memory-module"
359 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=1
362 name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0/mem-module
365 PROP Class string r 0 "memory-module"
366 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=0
369 name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1/mem-module
372 PROP Class string r 0 "memory-module"
373 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=1
376 name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0/mem-module
379 PROP Class string r 0 "memory-module"
380 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=0
383 name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1/mem-module
386 PROP Class string r 0 "memory-module"
387 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=1