8326d453818c9fb78ac1670cf49d26fa4da15003venki/*
8326d453818c9fb78ac1670cf49d26fa4da15003venki * CDDL HEADER START
8326d453818c9fb78ac1670cf49d26fa4da15003venki *
8326d453818c9fb78ac1670cf49d26fa4da15003venki * The contents of this file are subject to the terms of the
8326d453818c9fb78ac1670cf49d26fa4da15003venki * Common Development and Distribution License (the "License").
8326d453818c9fb78ac1670cf49d26fa4da15003venki * You may not use this file except in compliance with the License.
8326d453818c9fb78ac1670cf49d26fa4da15003venki *
8326d453818c9fb78ac1670cf49d26fa4da15003venki * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8326d453818c9fb78ac1670cf49d26fa4da15003venki * or http://www.opensolaris.org/os/licensing.
8326d453818c9fb78ac1670cf49d26fa4da15003venki * See the License for the specific language governing permissions
8326d453818c9fb78ac1670cf49d26fa4da15003venki * and limitations under the License.
8326d453818c9fb78ac1670cf49d26fa4da15003venki *
8326d453818c9fb78ac1670cf49d26fa4da15003venki * When distributing Covered Code, include this CDDL HEADER in each
8326d453818c9fb78ac1670cf49d26fa4da15003venki * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8326d453818c9fb78ac1670cf49d26fa4da15003venki * If applicable, add the following below this CDDL HEADER, with the
8326d453818c9fb78ac1670cf49d26fa4da15003venki * fields enclosed by brackets "[]" replaced with your own identifying
8326d453818c9fb78ac1670cf49d26fa4da15003venki * information: Portions Copyright [yyyy] [name of copyright owner]
8326d453818c9fb78ac1670cf49d26fa4da15003venki *
8326d453818c9fb78ac1670cf49d26fa4da15003venki * CDDL HEADER END
8326d453818c9fb78ac1670cf49d26fa4da15003venki */
8326d453818c9fb78ac1670cf49d26fa4da15003venki
8326d453818c9fb78ac1670cf49d26fa4da15003venki/*
8326d453818c9fb78ac1670cf49d26fa4da15003venki * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
8326d453818c9fb78ac1670cf49d26fa4da15003venki * Use is subject to license terms.
8326d453818c9fb78ac1670cf49d26fa4da15003venki * ident "%Z%%M% %I% %E% SMI"
8326d453818c9fb78ac1670cf49d26fa4da15003venki *
8326d453818c9fb78ac1670cf49d26fa4da15003venki * This configuration file is parsed by PICL envmon plugin in response
8326d453818c9fb78ac1670cf49d26fa4da15003venki * to a PICL_FRU_ADDED event for FT5
8326d453818c9fb78ac1670cf49d26fa4da15003venki *
8326d453818c9fb78ac1670cf49d26fa4da15003venki * supported prop types: void, int, uint, float, string
8326d453818c9fb78ac1670cf49d26fa4da15003venki * supported prop access_modes: r, w, rw
8326d453818c9fb78ac1670cf49d26fa4da15003venki *
8326d453818c9fb78ac1670cf49d26fa4da15003venki * VERSION <version_number> -- supported version number is 1.0
8326d453818c9fb78ac1670cf49d26fa4da15003venki *
8326d453818c9fb78ac1670cf49d26fa4da15003venki * name:<namepath> -- gives the anchor node
8326d453818c9fb78ac1670cf49d26fa4da15003venki * where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>]
8326d453818c9fb78ac1670cf49d26fa4da15003venki *
8326d453818c9fb78ac1670cf49d26fa4da15003venki * _class:<classpath> -- gives the anchor node
8326d453818c9fb78ac1670cf49d26fa4da15003venki * where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>]
8326d453818c9fb78ac1670cf49d26fa4da15003venki *
8326d453818c9fb78ac1670cf49d26fa4da15003venki * NODE <name> <class>
8326d453818c9fb78ac1670cf49d26fa4da15003venki * {describes a subtree}
8326d453818c9fb78ac1670cf49d26fa4da15003venki * ENDNODE
8326d453818c9fb78ac1670cf49d26fa4da15003venki *
8326d453818c9fb78ac1670cf49d26fa4da15003venki * PROP <name> <type> <access_mode> [<size> <value>] -- per property
8326d453818c9fb78ac1670cf49d26fa4da15003venki *
8326d453818c9fb78ac1670cf49d26fa4da15003venki * REFPROP <name> <dstnode>
8326d453818c9fb78ac1670cf49d26fa4da15003venki *
8326d453818c9fb78ac1670cf49d26fa4da15003venki * REFNODE <name> <class> with <destnode> -- Associates a new node
8326d453818c9fb78ac1670cf49d26fa4da15003venki * with <destnode> if exists
8326d453818c9fb78ac1670cf49d26fa4da15003venki * where
8326d453818c9fb78ac1670cf49d26fa4da15003venki * <name> is the nodename
8326d453818c9fb78ac1670cf49d26fa4da15003venki * <class> is the picl class.
8326d453818c9fb78ac1670cf49d26fa4da15003venki * <destnode> is name:<namepath> or _class:<classpath>
8326d453818c9fb78ac1670cf49d26fa4da15003venki *
8326d453818c9fb78ac1670cf49d26fa4da15003venki * If "name:" or "_class:" is not specified in the <path>,
8326d453818c9fb78ac1670cf49d26fa4da15003venki * the default is "name:"
8326d453818c9fb78ac1670cf49d26fa4da15003venki *
8326d453818c9fb78ac1670cf49d26fa4da15003venki */
8326d453818c9fb78ac1670cf49d26fa4da15003venki
8326d453818c9fb78ac1670cf49d26fa4da15003venki/*
8326d453818c9fb78ac1670cf49d26fa4da15003venki * define a macro to force a #ident line into the output stream
8326d453818c9fb78ac1670cf49d26fa4da15003venki * otherwise cpp removes it. Use #ifndef because of #included definitions.
8326d453818c9fb78ac1670cf49d26fa4da15003venki */
8326d453818c9fb78ac1670cf49d26fa4da15003venki#ifndef id
8326d453818c9fb78ac1670cf49d26fa4da15003venki#define id(s) #ident s
8326d453818c9fb78ac1670cf49d26fa4da15003venki#endif
8326d453818c9fb78ac1670cf49d26fa4da15003venkiid("%Z%%M% %I% %E% SMI")
8326d453818c9fb78ac1670cf49d26fa4da15003venki
8326d453818c9fb78ac1670cf49d26fa4da15003venki#ifndef RMCLOMV
8326d453818c9fb78ac1670cf49d26fa4da15003venki#define RMCLOMV /platform/ebus@1f,464000/rmc-comm@0,c28000/SUNW,rmclomv
8326d453818c9fb78ac1670cf49d26fa4da15003venki#endif
8326d453818c9fb78ac1670cf49d26fa4da15003venki
8326d453818c9fb78ac1670cf49d26fa4da15003venki/*
8326d453818c9fb78ac1670cf49d26fa4da15003venki * Parent for the fan tachometer
8326d453818c9fb78ac1670cf49d26fa4da15003venki */
8326d453818c9fb78ac1670cf49d26fa4da15003venkiname:RMCLOMV/ft5_f0_tach
8326d453818c9fb78ac1670cf49d26fa4da15003venki REFPROP _location_parent name:/frutree/chassis/MB/system-board/FT5/fan-tray/F0
8326d453818c9fb78ac1670cf49d26fa4da15003venki
8326d453818c9fb78ac1670cf49d26fa4da15003venki/*
8326d453818c9fb78ac1670cf49d26fa4da15003venki * Device table for the fan
8326d453818c9fb78ac1670cf49d26fa4da15003venki */
8326d453818c9fb78ac1670cf49d26fa4da15003venkiname:/frutree/chassis/MB/system-board/FT5/fan-tray/F0
8326d453818c9fb78ac1670cf49d26fa4da15003venki TABLE Devices
8326d453818c9fb78ac1670cf49d26fa4da15003venki ROW
8326d453818c9fb78ac1670cf49d26fa4da15003venki PROP Class string r 0 "fan"
8326d453818c9fb78ac1670cf49d26fa4da15003venki REFPROP _fan_ name:RMCLOMV/ft5_f0_tach
8326d453818c9fb78ac1670cf49d26fa4da15003venki ENDROW
8326d453818c9fb78ac1670cf49d26fa4da15003venki ENDTABLE