xref: /titanic_51/usr/src/lib/fm/topo/maps/i86pc/psu-hc-topology.xml (revision 193974072f41a843678abf5f61979c748687e66b)
1<?xml version="1.0"?>
2<!DOCTYPE topology SYSTEM "/usr/share/lib/xml/dtd/topology.dtd.1">
3<!--
4 Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
5 Use is subject to license terms.
6
7 CDDL HEADER START
8
9 The contents of this file are subject to the terms of the
10 Common Development and Distribution License (the "License").
11 You may not use this file except in compliance with the License.
12
13 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 or http://www.opensolaris.org/os/licensing.
15 See the License for the specific language governing permissions
16 and limitations under the License.
17
18 When distributing Covered Code, include this CDDL HEADER in each
19 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20 If applicable, add the following below this CDDL HEADER, with the
21 fields enclosed by brackets "[]" replaced with your own identifying
22 information: Portions Copyright [yyyy] [name of copyright owner]
23
24 CDDL HEADER END
25
26    ident	"%Z%%M%	%I%	%E% SMI"
27-->
28
29<topology name='psu' scheme='hc'>
30
31	<!--
32		Thumper platforms explicitly have only two power supplies, as
33		the third (unused) bay is reported via IPMI but not actually
34		valid.
35	-->
36  <set type='product' setlist='Sun-Fire-X4500|Sun-Fire-X4540'>
37    <range name='psu' min='0' max='100'>
38	<node instance='0'>
39	  <fac-enum provider='fac_prov_ipmi' />
40	  <propgroup name='protocol' version='1'
41	       name-stability='Private' data-stability='Private' >
42                    <propval name='label' type='string' value='PS0' />
43		      <propmethod name='ipmi_fru_fmri' version='0'
44			   propname='FRU' proptype='fmri' >
45			  <argval name='entity' type='string' value='self' />
46		      </propmethod>
47	  </propgroup>
48	  <propgroup name='ipmi' version='1'
49		       name-stability='Private' data-stability='Private' >
50
51		      <propval name='entity_ref' type='string' value='ps0.prsnt' />
52	  </propgroup>
53	  <enum-method name='ipmi' version='1' />
54        </node>
55	<node instance='1'>
56	  <fac-enum provider='fac_prov_ipmi' />
57	  <propgroup name='protocol' version='1'
58	       name-stability='Private' data-stability='Private' >
59                    <propval name='label' type='string' value='PS1' />
60		      <propmethod name='ipmi_fru_fmri' version='0'
61			   propname='FRU' proptype='fmri' >
62			  <argval name='entity' type='string' value='self' />
63		      </propmethod>
64	  </propgroup>
65	  <propgroup name='ipmi' version='1'
66		       name-stability='Private' data-stability='Private' >
67
68		      <propval name='entity_ref' type='string' value='ps1.prsnt' />
69	  </propgroup>
70	  <enum-method name='ipmi' version='1' />
71        </node>
72    </range>
73  </set>
74  <set type='product' setlist='Sun-Fire-X4100-Server|Sun-Fire-X4200-Server|Sun-Fire-X4100-M2|Sun-Fire-X4200-M2|Sun-Fire-X4240|Sun-Fire-X4440|Sun-Fire-X4600-M2'>
75    <range name='psu' min='0' max='100'>
76        <fac-enum provider='fac_prov_ipmi' />
77        <facility name='sys.psfail.led' type='indicator' provider='fac_prov_ipmi' >
78              <propgroup name='facility' version='1' name-stability='Private' data-stability='Private' >
79		    <propval name='entity_ref' type='string' value='sys.psfail.led' />
80                    <propval name='type' type='uint32' value='0' />
81                    <propmethod name='ipmi_indicator_mode' version='0'
82                       propname='mode' proptype='uint32' mutable='1' >
83                    </propmethod>
84              </propgroup>
85        </facility>
86        <propgroup name='protocol' version='1'
87            name-stability='Private' data-stability='Private' >
88
89                <propmethod name='ipmi_fru_label' version='0'
90                            propname='label' proptype='string' >
91
92                    <argval name='format' type='string' value='PS%d' />
93                    <argval name='offset' type='uint32' value='0' />
94
95                </propmethod>
96        </propgroup>
97        <propgroup name='ipmi' version='1'
98            name-stability='Private' data-stability='Private' >
99
100                 <propmethod name='ipmi_entity' version='0'
101		            propname='entity_ref' proptype='string' >
102
103                    <argval name='format' type='string' value='ps%d.prsnt' />
104                    <argval name='offset' type='uint32' value='0' />
105		    <argval name='nparams' type='uint32' value='1' />
106
107                </propmethod>
108        </propgroup>
109    </range>
110  </set>
111</topology>
112