/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (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 2006 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:"
*
* This file captures all of the location and fru parents for the
* sensors and led's in the system, whose state is learned from
* ALOM via rmclomv.
*/
/*
* 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
*/
#ifndef RMCLOMV
#define RMCLOMV /platform/ebus@1f,464000/rmc-comm@0,c28000/SUNW,rmclomv
#endif
/*
* fru/location parents and device tables for the disks and their
* associated sensors
*/
#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"
/*
* fru/location parents and device tables for the power supplies
*/
#include "fru_PS0_data.info"
#include "fru_PS1_data.info"
#include "fru_PS2_data.info"
#include "fru_PS3_data.info"
/*
* usb ports
*/
#include "fru_usb-a-1_data.info"
#include "fru_usb-a-2_data.info"
#include "fru_usb-a-3_data.info"
#include "fru_usb-a-4_data.info"
/*
* fans
*/
#include "fru_FT0_data.info"
#include "fru_FT1_data.info"
#include "fru_FT2_data.info"
#include "fru_FT3_data.info"
#include "fru_FT4_data.info"
#include "fru_FT5_data.info"
/*
* parents for system leds
*/
name:RMCLOMV/sys_act
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/FLEDB/front-led-board
name:RMCLOMV/sys_service
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/FLEDB/front-led-board
name:RMCLOMV/sys_locate
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/FLEDB/front-led-board
PROP IsLocator string r 0 "true"
PROP LocatorName string r 0 "system"
PROP LocatorOn string r 0 "blinking"
name:RMCLOMV/sys_fanfail
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/FLEDB/front-led-board
name:RMCLOMV/sys_psfail
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/FLEDB/front-led-board
name:RMCLOMV/sys_overtemp
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/FLEDB/front-led-board
/*
* parents for fan-fault led's
*/
name:RMCLOMV/ft0_f0_fault
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8
name:RMCLOMV/ft1_f0_fault
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8
name:RMCLOMV/ft2_f0_fault
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8
name:RMCLOMV/ft3_f0_fault
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8
name:RMCLOMV/ft4_f0_fault
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8
name:RMCLOMV/ft5_f0_fault
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8
/*
* keyswitch parent
*/
name:RMCLOMV/keyswitch
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/SC/service-processor
PROP Label string r 0 "SYSCTRL"
/*
* chassis serial number parent
*/
name:RMCLOMV/chassis_serial_number
REFPROP _fru_parent name:/frutree/chassis
PROP Label string r 0 "CHASSISSERIAL"
/*
* fru parents for motherboard sensors
*/
name:RMCLOMV/mb_v_+1v0
REFPROP _fru_parent name:/frutree/chassis/MB/system-board
name:RMCLOMV/mb_v_+1v2
REFPROP _fru_parent name:/frutree/chassis/MB/system-board
name:RMCLOMV/mb_v_+1v5
REFPROP _fru_parent name:/frutree/chassis/MB/system-board
name:RMCLOMV/mb_v_+1v8
REFPROP _fru_parent name:/frutree/chassis/MB/system-board
name:RMCLOMV/mb_v_+2v5
REFPROP _fru_parent name:/frutree/chassis/MB/system-board
name:RMCLOMV/mb_v_+3v3
REFPROP _fru_parent name:/frutree/chassis/MB/system-board
name:RMCLOMV/mb_v_+3v3stby
REFPROP _fru_parent name:/frutree/chassis/MB/system-board
name:RMCLOMV/mb_v_+5v
REFPROP _fru_parent name:/frutree/chassis/MB/system-board
name:RMCLOMV/mb_v_+12v
REFPROP _fru_parent name:/frutree/chassis/MB/system-board
name:RMCLOMV/mb_v_-12v
REFPROP _fru_parent name:/frutree/chassis/MB/system-board
name:RMCLOMV/mb_i_usb0
REFPROP _location_parent name:/frutree/chassis/MB/system-board/USB0
name:RMCLOMV/mb_i_usb1
REFPROP _location_parent name:/frutree/chassis/MB/system-board/USB1
name:RMCLOMV/fire_t_core
REFPROP _fru_parent name:/frutree/chassis/MB/system-board
name:RMCLOMV/mb_t_amb
REFPROP _fru_parent name:/frutree/chassis/MB/system-board
name:RMCLOMV/mb_io_t_amb
REFPROP _fru_parent name:/frutree/chassis/MB/system-board
name:RMCLOMV/mb_ff_pok
REFPROP _fru_parent name:/frutree/chassis/MB/system-board
/*
* fru parents for front IO board sensors
*/
name:RMCLOMV/fiob_i_usb2
REFPROP _location_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/USB2
name:RMCLOMV/fiob_i_usb3
REFPROP _location_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/USB3
name:RMCLOMV/fiob_t_amb
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board
/*
* fru parent for SC battery
*/
name:RMCLOMV/sc_bat_v_bat
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/SC/service-processor/BATTERY/battery
/*
* parents for CPU board and CPU die sensors
*/
name:RMCLOMV/c0_t_amb
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C0/cpu-module
name:RMCLOMV/c0_p0_ff_pok
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C0/cpu-module
name:RMCLOMV/c0_p0_t_core
REFPROP _location_parent name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu
name:RMCLOMV/c1_t_amb
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C1/cpu-module
name:RMCLOMV/c1_p0_ff_pok
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C1/cpu-module
name:RMCLOMV/c1_p0_t_core
REFPROP _location_parent name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu
name:RMCLOMV/c2_t_amb
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C2/cpu-module
name:RMCLOMV/c2_p0_ff_pok
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C2/cpu-module
name:RMCLOMV/c2_p0_t_core
REFPROP _location_parent name:/frutree/chassis/MB/system-board/C2/cpu-module/P0/cpu
name:RMCLOMV/c3_t_amb
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C3/cpu-module
name:RMCLOMV/c3_p0_ff_pok
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C3/cpu-module
name:RMCLOMV/c3_p0_t_core
REFPROP _location_parent name:/frutree/chassis/MB/system-board/C3/cpu-module/P0/cpu