fru_SC_data.info revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2003 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* #ident "%Z%%M% %I% %E% SMI"
*
* supported prop types: void, int, uint, float, string
* supported prop access_modes: r, w, rw
*
* VERSION <version_number> -- supported version number is 1.0
*
* name:<namepath> -- gives the anchor node
* where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>]
*
* _class:<classpath> -- gives the anchor node
* where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>]
*
* NODE <name> <class>
* {describes a subtree}
* ENDNODE
*
* PROP <name> <type> <access_mode> [<size> <value>] -- per property
*
* REFPROP <name> <dstnode>
*
* REFNODE <name> <class> with <destnode> -- Associates a new node
* with <destnode> if exists
* where
* <name> is the nodename
* <class> is the picl class.
* <destnode> is name:<namepath> or _class:<classpath>
*
* If "name:" or "_class:" is not specified in the <path>,
* the default is "name:"
*
*/
/*
* define a macro to force a #ident line into the output stream
* otherwise cpp removes it. Use #ifndef because of #included definitions.
*/
#ifndef id
#define id(s) #ident s
#endif
id("%Z%%M% %I% %E% SMI")
/*
* There are a lot of nodes below the rmclomv node, define a shortname
*/
#define RMCLOMV /platform/pci@1e,600000/isa@7/rmc-comm@0,3e8/SUNW,rmclomv
/*
* add disk leds
*/
name:/frutree/chassis/HDD0
TABLE Devices
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd0_act
ENDROW
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd0_service
ENDROW
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd0_ok2rm
ENDROW
ENDTABLE
name:RMCLOMV/hdd0_act
REFPROP _location_parent name:/frutree/chassis/HDD0
name:RMCLOMV/hdd0_service
REFPROP _location_parent name:/frutree/chassis/HDD0
name:RMCLOMV/hdd0_ok2rm
REFPROP _location_parent name:/frutree/chassis/HDD0
name:/frutree/chassis/HDD1
TABLE Devices
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd1_act
ENDROW
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd1_service
ENDROW
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd1_ok2rm
ENDROW
ENDTABLE
name:RMCLOMV/hdd1_act
REFPROP _location_parent name:/frutree/chassis/HDD1
name:RMCLOMV/hdd1_service
REFPROP _location_parent name:/frutree/chassis/HDD1
name:RMCLOMV/hdd1_ok2rm
REFPROP _location_parent name:/frutree/chassis/HDD1
name:/frutree/chassis/HDD2
TABLE Devices
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd2_act
ENDROW
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd2_service
ENDROW
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd2_ok2rm
ENDROW
ENDTABLE
name:RMCLOMV/hdd2_act
REFPROP _location_parent name:/frutree/chassis/HDD2
name:RMCLOMV/hdd2_service
REFPROP _location_parent name:/frutree/chassis/HDD2
name:RMCLOMV/hdd2_ok2rm
REFPROP _location_parent name:/frutree/chassis/HDD2
name:/frutree/chassis/HDD3
TABLE Devices
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd3_act
ENDROW
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd3_service
ENDROW
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd3_ok2rm
ENDROW
ENDTABLE
name:RMCLOMV/hdd3_act
REFPROP _location_parent name:/frutree/chassis/HDD3
name:RMCLOMV/hdd3_service
REFPROP _location_parent name:/frutree/chassis/HDD3
name:RMCLOMV/hdd3_ok2rm
REFPROP _location_parent name:/frutree/chassis/HDD3
name:/frutree/chassis/HDD4
TABLE Devices
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd4_act
ENDROW
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd4_service
ENDROW
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd4_ok2rm
ENDROW
ENDTABLE
name:RMCLOMV/hdd4_act
REFPROP _location_parent name:/frutree/chassis/HDD4
name:RMCLOMV/hdd4_service
REFPROP _location_parent name:/frutree/chassis/HDD4
name:RMCLOMV/hdd4_ok2rm
REFPROP _location_parent name:/frutree/chassis/HDD4
name:/frutree/chassis/HDD5
TABLE Devices
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd5_act
ENDROW
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd5_service
ENDROW
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd5_ok2rm
ENDROW
ENDTABLE
name:RMCLOMV/hdd5_act
REFPROP _location_parent name:/frutree/chassis/HDD5
name:RMCLOMV/hdd5_service
REFPROP _location_parent name:/frutree/chassis/HDD5
name:RMCLOMV/hdd5_ok2rm
REFPROP _location_parent name:/frutree/chassis/HDD5
name:/frutree/chassis/HDD6
TABLE Devices
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd6_act
ENDROW
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd6_service
ENDROW
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd6_ok2rm
ENDROW
ENDTABLE
name:RMCLOMV/hdd6_act
REFPROP _location_parent name:/frutree/chassis/HDD6
name:RMCLOMV/hdd6_service
REFPROP _location_parent name:/frutree/chassis/HDD6
name:RMCLOMV/hdd6_ok2rm
REFPROP _location_parent name:/frutree/chassis/HDD6
name:/frutree/chassis/HDD7
TABLE Devices
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd7_act
ENDROW
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd7_service
ENDROW
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/hdd7_ok2rm
ENDROW
ENDTABLE
name:RMCLOMV/hdd7_act
REFPROP _location_parent name:/frutree/chassis/HDD7
name:RMCLOMV/hdd7_service
REFPROP _location_parent name:/frutree/chassis/HDD7
name:RMCLOMV/hdd7_ok2rm
REFPROP _location_parent name:/frutree/chassis/HDD7
/* add disk Device tables and _fru_parent refprops */
#include "fru_HDD0_data.info"
#include "fru_HDD1_data.info"
#include "fru_HDD2_data.info"
#include "fru_HDD3_data.info"
#include "fru_HDD4_data.info"
#include "fru_HDD5_data.info"
#include "fru_HDD6_data.info"
#include "fru_HDD7_data.info"
/*
* power supplies
*/
#include "fru_PS0_data.info"
#include "fru_PS1_data.info"
/*
* USB ports
*/
#include "fru_usb-a-1_data.info"
#include "fru_usb-a-2_data.info"
#include "fru_usb-b-1_data.info"
#include "fru_usb-b-2_data.info"
/*
* add tables and fru parents for system fans
*/
name:/frutree/chassis/FT0/fan-tray/F0/fan-unit
TABLE Devices
ROW
PROP Class string r 0 "fan"
REFPROP _fan_ name:RMCLOMV/ft0_f0_rs
ENDROW
ENDTABLE
name:/frutree/chassis/FT0/fan-tray/F1/fan-unit
TABLE Devices
ROW
PROP Class string r 0 "fan"
REFPROP _fan_ name:RMCLOMV/ft0_f1_rs
ENDROW
ENDTABLE
name:/frutree/chassis/FT1/fan-tray/F0/fan-unit
TABLE Devices
ROW
PROP Class string r 0 "fan"
REFPROP _fan_ name:RMCLOMV/ft1_f0_rs
ENDROW
ENDTABLE
name:/frutree/chassis/FT2/fan-tray/F0/fan-unit
TABLE Devices
ROW
PROP Class string r 0 "fan"
REFPROP _fan_ name:RMCLOMV/ft2_f0_rs
ENDROW
ENDTABLE
name:RMCLOMV/ft0_f0_rs
REFPROP _fru_parent name:/frutree/chassis/FT0/fan-tray/F0/fan-unit
name:RMCLOMV/ft0_f1_rs
REFPROP _fru_parent name:/frutree/chassis/FT0/fan-tray/F1/fan-unit
name:RMCLOMV/ft1_f0_rs
REFPROP _fru_parent name:/frutree/chassis/FT1/fan-tray/F0/fan-unit
name:RMCLOMV/ft2_f0_rs
REFPROP _fru_parent name:/frutree/chassis/FT2/fan-tray/F0/fan-unit