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 * ident	"%Z%%M%	%I%	%E% SMI"
26 *
27 * This configuration file is parsed by PICL envmon plugin in response
28 * to a PICL_FRU_ADDED event for FT4
29 *
30 * supported prop types: void, int, uint, float, string
31 * supported prop access_modes: r, w, rw
32 *
33 * VERSION <version_number>  -- supported version number is 1.0
34 *
35 * name:<namepath> --     gives the anchor node
36 *      where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>]
37 *
38 * _class:<classpath> --   gives the anchor node
39 *      where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>]
40 *
41 * NODE <name> <class>
42 *       {describes a subtree}
43 * ENDNODE
44 *
45 * PROP <name> <type> <access_mode> [<size> <value>] -- per property
46 *
47 * REFPROP <name> <dstnode>
48 *
49 * REFNODE <name> <class> with <destnode> -- Associates a new node
50 *       with <destnode> if exists
51 *       where
52 *             <name> is the nodename
53 *             <class> is the picl class.
54 *             <destnode> is name:<namepath> or _class:<classpath>
55 *
56 * If "name:" or "_class:" is not specified in the <path>,
57 * the default is "name:"
58 *
59 */
60
61/*
62 * define a macro to force a #ident line into the output stream
63 * otherwise cpp removes it. Use #ifndef because of #included definitions.
64 */
65#ifndef id
66#define	id(s)	#ident s
67#endif
68id("%Z%%M%	%I%	%E% SMI")
69
70#ifndef RMCLOMV
71#define	RMCLOMV	/platform/ebus@1f,464000/rmc-comm@0,c28000/SUNW,rmclomv
72#endif
73
74/*
75 * Parent for the fan tachometer
76 */
77name:RMCLOMV/ft4_f0_tach
78    REFPROP _location_parent name:/frutree/chassis/MB/system-board/FT4/fan-tray/F0
79
80/*
81 * Device table for the fan
82 */
83name:/frutree/chassis/MB/system-board/FT4/fan-tray/F0
84    TABLE Devices
85    ROW
86    PROP Class string r 0 "fan"
87    REFPROP _fan_ name:RMCLOMV/ft4_f0_tach
88    ENDROW
89    ENDTABLE
90