cmd: remove sparc-only virtinfo
[unleashed.git] / usr / src / cmd / picl / plugins / sun4u / excalibur / frutree / piclfrutree.info
blobe7239ffdddee44406dcbfe8eb10d5077b6ff52ca
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, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
23  * Copyright (c) 2001 by Sun Microsystems, Inc.
24  * All rights reserved.
25  *
26  * #ident       "%Z%%M% %I%     %E% SMI"
27  *
28  * supported prop types: void, int, uint, float, string
29  * supported prop access_modes: r, w, rw
30  *
31  * VERSION <version_number>  -- supported version number is 1.0
32  *
33  * name:<namepath> --     gives the anchor node
34  *      where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>]
35  *
36  * _class:<classpath> --   gives the anchor node
37  *      where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>]
38  *
39  * NODE <name> <class>
40  *       {describes a subtree}
41  * ENDNODE
42  *
43  * PROP <name> <type> <access_mode> [<size> <value>] -- per property
44  *
45  * REFPROP <name> <dstnode>
46  *
47  * REFNODE <name> <class> with <destnode> -- Associates a new node
48  *       with <destnode> if exists
49  *       where 
50  *             <name> is the nodename
51  *             <class> is the picl class.
52  *             <destnode> is name:<namepath> or _class:<classpath>
53  *
54  * TABLE  <table_prop_name> 
55  *        creates a table property of name <table_prop_name> 
56  * ENDTABLE
57  *
58  * ROW -- marks the beginning of a row of properties
59  * ENDROW
60  *
61  * If "name:" or "_class:" is not specified in the <path>,
62  * the default is "name:"
63  *
64  */
66 #define PLATFORM_CLASS  gptwo
68 VERSION 1.1
69 VERBOSE 1
70 NODE frutree picl
71     NODE chassis fru
72         /*
73          * SunMC physical view view_points for this platform
74          * This will get moved to a separate SunMC physical view plugin later.
75          */
76         PROP ViewPoints string r 0 "front rear side"
77         NODE power-supply-slot location
78             PROP Label string r 0 "power-supply-slot"
79             PROP SlotType string r 0 "power-supply"
80         ENDNODE
81         NODE disk-slot location
82             PROP Label string r 0 "0"
83             PROP Slot uint r 4 0
84         ENDNODE
85         NODE disk-slot location
86             PROP Label string r 0 "1"
87             PROP Slot uint r 4 1
88         ENDNODE
89         NODE cpu-fan-slot location
90             PROP Label string r 0 "cpu-fan-slot"
91             PROP SlotType string r 0 "fan-unit"
92         ENDNODE
93         NODE system-fan-slot location
94             PROP Label string r 0 "system-fan-slot"
95             PROP SlotType string r 0 "fan-unit"
96         ENDNODE
97     ENDNODE
98 ENDNODE
101  * set the label for chassis, so that the children have a location
102  */
103 name:/frutree/chassis
104 PROP Label string r 0 "chassis"
107  * add the power-supply fru to the power-supply-slot
108  */
109 name:/frutree/chassis/power-supply-slot
110 NODE power-supply fru
111 ENDNODE
114  * set the SlotType for the disk slots
115  */
116 name:/frutree/chassis/disk-slot?Slot=0
117 PROP SlotType string r 0 "disk-slot"
119 name:/frutree/chassis/disk-slot?Slot=1
120 PROP SlotType string r 0 "disk-slot"
123  * create the fru modules for disks in the fru tree
124  */
125 name:/frutree/chassis/disk-slot?Slot=0
126 REFNODE disk fru WITH _class:/PLATFORM_CLASS/pci?instance=1/scsi-fcp/devctl/block?target=1
128 name:/frutree/chassis/disk-slot?Slot=1
129 REFNODE disk fru WITH _class:/PLATFORM_CLASS/pci?instance=1/scsi-fcp/devctl/block?target=3
132  * _fru_parent for the hard disks
133  */
134 _class:/PLATFORM_CLASS/pci?instance=1/scsi-fcp/devctl/block?target=1
135 REFPROP _fru_parent /frutree/chassis/disk-slot?Slot=0/disk
137 _class:/PLATFORM_CLASS/pci?instance=1/scsi-fcp/devctl/block?target=3
138 REFPROP _fru_parent /frutree/chassis/disk-slot?Slot=1/disk
140 name:/frutree/chassis
141 #include "system-board.info"
142 #include "envmodel.info"