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
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.
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]
23 * Copyright (c) 2001 by Sun Microsystems, Inc.
24 * All rights reserved.
26 * #ident "%Z%%M% %I% %E% SMI"
28 * supported prop types: void, int, uint, float, string
29 * supported prop access_modes: r, w, rw
31 * VERSION <version_number> -- supported version number is 1.0
33 * name:<namepath> -- gives the anchor node
34 * where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>]
36 * _class:<classpath> -- gives the anchor node
37 * where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>]
40 * {describes a subtree}
43 * PROP <name> <type> <access_mode> [<size> <value>] -- per property
45 * REFPROP <name> <dstnode>
47 * REFNODE <name> <class> with <destnode> -- Associates a new node
48 * with <destnode> if exists
50 * <name> is the nodename
51 * <class> is the picl class.
52 * <destnode> is name:<namepath> or _class:<classpath>
55 * If "name:" or "_class:" is not specified in the <path>,
56 * the default is "name:"
60 #define PLATFORM_CLASS upa
66 * SunMC physical view view_points for this platform
67 * This will get moved to a separate SunMC physical view plugin later.
69 PROP ViewPoints string r 0 "front rear top"
70 NODE power-supply-slot location
71 PROP Label string r 0 "power-supply-slot"
72 PROP SlotType string r 0 "power-supply"
74 NODE disk-slot location
75 PROP Label string r 0 "0"
78 NODE system-fan-slot location
79 PROP Label string r 0 "system-fan-slot"
80 PROP SlotType string r 0 "fan-unit"
86 * set the label for chassis, so that the children have a location
89 PROP Label string r 0 "chassis"
92 * add the power-supply fru to the power-supply-slot
94 name:/frutree/chassis/power-supply-slot
99 * set the SlotType for the disk slots
101 name:/frutree/chassis/disk-slot?Slot=0
102 PROP SlotType string r 0 "disk-slot"
105 * create the fru modules for disks in the fru tree
107 name:/frutree/chassis/disk-slot?Slot=0
108 REFNODE disk fru WITH _class:/PLATFORM_CLASS/pci/ide/block?target=0
111 * _fru_parent for the hard disks
113 _class:/PLATFORM_CLASS/pci/ide/block?target=0
114 REFPROP _fru_parent /frutree/chassis/disk-slot?Slot=0/disk
116 name:/frutree/chassis
117 #include "system-board.info"
118 #include "envmodel.info"