1*9d215966SJustin Frank/*
2*9d215966SJustin Frank * CDDL HEADER START
3*9d215966SJustin Frank *
4*9d215966SJustin Frank * The contents of this file are subject to the terms of the
5*9d215966SJustin Frank * Common Development and Distribution License (the "License").
6*9d215966SJustin Frank * You may not use this file except in compliance with the License.
7*9d215966SJustin Frank *
8*9d215966SJustin Frank * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*9d215966SJustin Frank * or http://www.opensolaris.org/os/licensing.
10*9d215966SJustin Frank * See the License for the specific language governing permissions
11*9d215966SJustin Frank * and limitations under the License.
12*9d215966SJustin Frank *
13*9d215966SJustin Frank * When distributing Covered Code, include this CDDL HEADER in each
14*9d215966SJustin Frank * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*9d215966SJustin Frank * If applicable, add the following below this CDDL HEADER, with the
16*9d215966SJustin Frank * fields enclosed by brackets "[]" replaced with your own identifying
17*9d215966SJustin Frank * information: Portions Copyright [yyyy] [name of copyright owner]
18*9d215966SJustin Frank *
19*9d215966SJustin Frank * CDDL HEADER END
20*9d215966SJustin Frank */
21*9d215966SJustin Frank/*
22*9d215966SJustin Frank * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
23*9d215966SJustin Frank *
24*9d215966SJustin Frank * This configuration file is parsed by PICL plugin envmon in response
25*9d215966SJustin Frank * to a PICL_FRU_ADDED event for FT0
26*9d215966SJustin Frank *
27*9d215966SJustin Frank * supported prop types: void, int, uint, float, string
28*9d215966SJustin Frank * supported prop access_modes: r, w, rw
29*9d215966SJustin Frank *
30*9d215966SJustin Frank * VERSION <version_number>  -- supported version number is 1.0
31*9d215966SJustin Frank *
32*9d215966SJustin Frank * name:<namepath> --     gives the anchor node
33*9d215966SJustin Frank *      where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>]
34*9d215966SJustin Frank *
35*9d215966SJustin Frank * _class:<classpath> --   gives the anchor node
36*9d215966SJustin Frank *      where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>]
37*9d215966SJustin Frank *
38*9d215966SJustin Frank * NODE <name> <class>
39*9d215966SJustin Frank *       {describes a subtree}
40*9d215966SJustin Frank * ENDNODE
41*9d215966SJustin Frank *
42*9d215966SJustin Frank * PROP <name> <type> <access_mode> [<size> <value>] -- per property
43*9d215966SJustin Frank *
44*9d215966SJustin Frank * REFPROP <name> <dstnode>
45*9d215966SJustin Frank *
46*9d215966SJustin Frank * REFNODE <name> <class> with <destnode> -- Associates a new node
47*9d215966SJustin Frank *       with <destnode> if exists
48*9d215966SJustin Frank *       where
49*9d215966SJustin Frank *             <name> is the nodename
50*9d215966SJustin Frank *             <class> is the picl class.
51*9d215966SJustin Frank *             <destnode> is name:<namepath> or _class:<classpath>
52*9d215966SJustin Frank *
53*9d215966SJustin Frank * If "name:" or "_class:" is not specified in the <path>,
54*9d215966SJustin Frank * the default is "name:"
55*9d215966SJustin Frank *
56*9d215966SJustin Frank */
57*9d215966SJustin Frank
58*9d215966SJustin FrankVERSION 1.1
59*9d215966SJustin FrankVERBOSE 1
60*9d215966SJustin Frank
61*9d215966SJustin Frankname:/frutree/chassis/FT0
62*9d215966SJustin Frank	Node F0 location
63*9d215966SJustin Frank	    PROP SlotType string r 0 "fan-unit"
64*9d215966SJustin Frank	    Prop Label string r 0 "F0"
65*9d215966SJustin Frank		NODE fan fru
66*9d215966SJustin Frank		ENDNODE
67*9d215966SJustin Frank	ENDNODE
68*9d215966SJustin Frankname:/platform/pci@1e,600000/isa@7/rmc-comm@0,3e8/SUNW,rmclomv/ft0_f0_tach
69*9d215966SJustin Frank	REFPROP	_location_parent name:/frutree/chassis/FT0/F0
70*9d215966SJustin Frankname:/platform/pci@1e,600000/isa@7/rmc-comm@0,3e8/SUNW,rmclomv/ft0_f0_act
71*9d215966SJustin Frank	REFPROP	_location_parent name:/frutree/chassis/FT0/F0
72*9d215966SJustin Frankname:/platform/pci@1e,600000/isa@7/rmc-comm@0,3e8/SUNW,rmclomv/ft0_f0_fault
73*9d215966SJustin Frank	REFPROP	_location_parent name:/frutree/chassis/FT0/F0
74*9d215966SJustin Frankname:/frutree/chassis/FT0/F0/fan
75*9d215966SJustin Frank	TABLE Devices
76*9d215966SJustin Frank	ROW
77*9d215966SJustin Frank	PROP Class string r 0 "fan"
78*9d215966SJustin Frank	REFPROP _fan_ name:/platform/pci@1e,600000/isa@7/rmc-comm@0,3e8/SUNW,rmclomv/ft0_f0_tach
79*9d215966SJustin Frank	ENDROW
80*9d215966SJustin Frank	ROW
81*9d215966SJustin Frank	PROP Class string r 0 "led"
82*9d215966SJustin Frank	REFPROP _led_ name:/platform/pci@1e,600000/isa@7/rmc-comm@0,3e8/SUNW,rmclomv/ft0_f0_act
83*9d215966SJustin Frank	ENDROW
84*9d215966SJustin Frank	ROW
85*9d215966SJustin Frank	PROP Class string r 0 "led"
86*9d215966SJustin Frank	REFPROP _led_ name:/platform/pci@1e,600000/isa@7/rmc-comm@0,3e8/SUNW,rmclomv/ft0_f0_fault
87*9d215966SJustin Frank	ENDROW
88*9d215966SJustin Frank	ENDTABLE
89