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 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 33 * device/sensor. 34 * 35 * This file will be #included by piclfrutree.info. It should be included 36 * after the frutree and system hierarchies are defined. 37 */ 38 39/* 40 * define a macro to force a #ident line into the output stream 41 * otherwise cpp removes it. Use #ifndef because of #included definitions. 42 */ 43#ifndef id 44#define id(s) #ident s 45#endif 46id("%Z%%M% %I% %E% SMI") 47 48/* 49 * add a Devices table to DVD 50 */ 51name:/frutree/chassis/MB/system-board/RMD0/removable-media 52 TABLE Devices 53 ROW 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 56 ENDROW 57 ENDTABLE 58 59/* 60 * add Devices table for the keyswitch 61 */ 62name:/frutree/chassis/SYSCTRL 63 TABLE Devices 64 ROW 65 PROP Class string r 0 "keyswitch" 66 REFPROP _keyswitch_ name:RMCLOMV/keyswitch 67 ENDROW 68 ENDTABLE 69 70/* 71 * add Devices table for the chassis 72 */ 73name:/frutree/chassis 74 TABLE Devices 75 ROW 76 PROP Class string r 0 "chassis_serial_number" 77 REFPROP _chassis-serial-number_ name:RMCLOMV/chassis_serial_number 78 ENDROW 79 ENDTABLE 80 81/* 82 * add a Devices table to the system-board 83 */ 84name:/frutree/chassis/MB/system-board 85 TABLE Devices 86 ROW 87 PROP Class string r 0 "voltage-sensor" 88 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+3v3 89 ENDROW 90 ROW 91 PROP Class string r 0 "voltage-sensor" 92 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+12v 93 ENDROW 94 ROW 95 PROP Class string r 0 "temperature-sensor" 96 REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_remote 97 ENDROW 98 ROW 99 PROP Class string r 0 "temperature-sensor" 100 REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_1064 101 ENDROW 102 ROW 103 PROP Class string r 0 "temperature-sensor" 104 REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_fire 105 ENDROW 106 ROW 107 PROP Class string r 0 "temperature-sensor" 108 REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_amb 109 ENDROW 110 ROW 111 PROP Class string r 0 "led" 112 REFPROP _led_ name:RMCLOMV/sys_act 113 ENDROW 114 ROW 115 PROP Class string r 0 "led" 116 REFPROP _led_ name:RMCLOMV/sys_service 117 ENDROW 118 ROW 119 PROP Class string r 0 "led" 120 REFPROP _led_ name:RMCLOMV/sys_locate 121 ENDROW 122 ROW 123 PROP Class string r 0 "led" 124 REFPROP _led_ name:RMCLOMV/sys_overtemp 125 ENDROW 126 ROW 127 PROP Class string r 0 "led" 128 REFPROP _led_ name:RMCLOMV/sys_psfail 129 ENDROW 130 ROW 131 PROP Class string r 0 "led" 132 REFPROP _led_ name:RMCLOMV/sys_fanfail 133 ENDROW 134 ROW 135 PROP Class string r 0 "keyswitch" 136 REFPROP _keyswitch_ name:RMCLOMV/keyswitch 137 ENDROW 138 ENDTABLE 139 140/* 141 * add a Devices table to the battery 142 */ 143name:/frutree/chassis/MB/system-board/BATTERY/battery 144 TABLE Devices 145 ROW 146 PROP Class string r 0 "voltage-sensor" 147 REFPROP _voltage-sensor_ name:RMCLOMV/mb_bat_v_bat 148 ENDROW 149 ENDTABLE 150 151/* 152 * add a Devices table to the service-processor 153 */ 154name:/frutree/chassis/MB/system-board/SC/sc 155 TABLE Devices 156 ROW 157 PROP Class string r 0 "service-processor" 158 REFPROP _service-processor_ name:RMCLOMV 159 ENDROW 160 ENDTABLE 161 162/* 163 * add a Devices table to the front io board 164 */ 165name:/frutree/chassis/MB/system-board/FIOB/front-io-board-1 166 TABLE Devices 167 ROW 168 PROP Class string r 0 "temperature-sensor" 169 REFPROP _temperature-sensor_ name:RMCLOMV/fiob_t_amb 170 ENDROW 171 ENDTABLE 172 173name:/frutree/chassis/MB/system-board/FIOB/front-io-board-2 174 TABLE Devices 175 ROW 176 PROP Class string r 0 "temperature-sensor" 177 REFPROP _temperature-sensor_ name:RMCLOMV/fiob_t_amb 178 ENDROW 179 ENDTABLE 180 181/* 182 * add a Devices table to the disk back plane 183 */ 184name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1 185 TABLE Devices 186 ROW 187 PROP Class string r 0 "fan" 188 REFPROP _fan_ name:RMCLOMV/sasbp_f0 189 ENDROW 190 ROW 191 PROP Class string r 0 "fan" 192 REFPROP _fan_ name:RMCLOMV/sasbp_f1 193 ENDROW 194 ENDTABLE 195 196name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3 197 TABLE Devices 198 ROW 199 PROP Class string r 0 "fan" 200 REFPROP _fan_ name:RMCLOMV/sasbp_f0 201 ENDROW 202 ROW 203 PROP Class string r 0 "fan" 204 REFPROP _fan_ name:RMCLOMV/sasbp_f1 205 ENDROW 206 ENDTABLE 207 208/* 209 * add a Devices table to the power distribution board 210 */ 211name:/frutree/chassis/PDB 212 TABLE Devices 213 ROW 214 PROP Class string r 0 "temperature-sensor" 215 REFPROP _temperature-sensor_ name:RMCLOMV/pdb_t_disk 216 ENDROW 217 ROW 218 PROP Class string r 0 "temperature-sensor" 219 REFPROP _temperature-sensor_ name:RMCLOMV/pdb_t_ps0 220 ENDROW 221 ROW 222 PROP Class string r 0 "temperature-sensor" 223 REFPROP _temperature-sensor_ name:RMCLOMV/pdb_t_ps1 224 ENDROW 225 ENDTABLE 226 227/* 228 * fru parent for DVD 229 */ 230name:/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 232 233/* 234 * fru parents for mother-board and other sensors 235 */ 236name:RMCLOMV/mb_v_+3v3 237 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 238name:RMCLOMV/mb_v_+12v 239 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 240name:RMCLOMV/mb_t_remote 241 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 242name:RMCLOMV/mb_t_1064 243 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 244name:RMCLOMV/mb_t_fire 245 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 246name:RMCLOMV/mb_t_amb 247 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 248name:RMCLOMV/sys_act 249 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 250name:RMCLOMV/sys_service 251 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 252name: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" 257name:RMCLOMV/sys_overtemp 258 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 259name:RMCLOMV/sys_psfail 260 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 261name:RMCLOMV/sys_fanfail 262 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 263name:RMCLOMV/keyswitch 264 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 265 PROP Label string r 0 "SYSCTRL" 266name:RMCLOMV/chassis_serial_number 267 REFPROP _fru_parent name:/frutree/chassis 268 PROP Label string r 0 "CHASSISSERIAL" 269name:RMCLOMV/pdb_t_disk 270 REFPROP _fru_parent name:/frutree/chassis/PDB/power-distribution-board 271name:RMCLOMV/pdb_t_ps0 272 REFPROP _fru_parent name:/frutree/chassis/PDB/power-distribution-board 273name:RMCLOMV/pdb_t_ps1 274 REFPROP _fru_parent name:/frutree/chassis/PDB/power-distribution-board 275name: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 278name:RMCLOMV/mb_bat_v_bat 279 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/BATTERY/battery 280name: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 283 284name: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 287 288/* 289 * add Devices tables for cpu-related sensors 290 */ 291name:/frutree/chassis/MB/system-board/P0/cpu 292 TABLE Devices 293 ROW 294 PROP Class string r 0 "cpu" 295 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi+@0,0 296 ENDROW 297 ROW 298 PROP Class string r 0 "temperature-sensor" 299 REFPROP _temperature-sensor_ name:RMCLOMV/mb_p0_t_core 300 ENDROW 301 ROW 302 PROP Class string r 0 "voltage-sensor" 303 REFPROP _voltage-sensor_ name:RMCLOMV/mb_p0_v_core 304 ENDROW 305 ENDTABLE 306 307name:RMCLOMV/mb_p0_t_core 308 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu 309name:RMCLOMV/mb_p0_v_core 310 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu 311 312name:/frutree/chassis/MB/system-board/P1/cpu 313 TABLE Devices 314 ROW 315 PROP Class string r 0 "cpu" 316 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi+@1,0 317 ENDROW 318 ROW 319 PROP Class string r 0 "temperature-sensor" 320 REFPROP _temperature-sensor_ name:RMCLOMV/mb_p1_t_core 321 ENDROW 322 ROW 323 PROP Class string r 0 "voltage-sensor" 324 REFPROP _voltage-sensor_ name:RMCLOMV/mb_p1_v_core 325 ENDROW 326 ENDTABLE 327name:RMCLOMV/mb_p1_t_core 328 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu 329name:RMCLOMV/mb_p1_v_core 330 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu 331 332name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0/mem-module 333 TABLE Devices 334 ROW 335 PROP Class string r 0 "memory-module" 336 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=0 337 ENDROW 338 ENDTABLE 339name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1/mem-module 340 TABLE Devices 341 ROW 342 PROP Class string r 0 "memory-module" 343 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=1 344 ENDROW 345 ENDTABLE 346name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0/mem-module 347 TABLE Devices 348 ROW 349 PROP Class string r 0 "memory-module" 350 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=0 351 ENDROW 352 ENDTABLE 353name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1/mem-module 354 TABLE Devices 355 ROW 356 PROP Class string r 0 "memory-module" 357 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=1 358 ENDROW 359 ENDTABLE 360name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0/mem-module 361 TABLE Devices 362 ROW 363 PROP Class string r 0 "memory-module" 364 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=0 365 ENDROW 366 ENDTABLE 367name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1/mem-module 368 TABLE Devices 369 ROW 370 PROP Class string r 0 "memory-module" 371 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=1 372 ENDROW 373 ENDTABLE 374name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0/mem-module 375 TABLE Devices 376 ROW 377 PROP Class string r 0 "memory-module" 378 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=0 379 ENDROW 380 ENDTABLE 381name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1/mem-module 382 TABLE Devices 383 ROW 384 PROP Class string r 0 "memory-module" 385 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=1 386 ENDROW 387 ENDTABLE 388