xref: /illumos-gate/usr/src/cmd/picl/plugins/sun4u/chalupa/frudr/fru_HDD1_data.info (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
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 */
22/*
23 * Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
24 * Use is subject to license terms.
25 *
26 * #ident	"%Z%%M%	%I%	%E% SMI"
27 *
28 * This configuration file is parsed by PICL plugin envmon in response
29 * to a PICL_FRU_ADDED event for PS0
30 *
31 * supported prop types: void, int, uint, float, string
32 * supported prop access_modes: r, w, rw
33 *
34 * VERSION <version_number>  -- supported version number is 1.0
35 *
36 * name:<namepath> --     gives the anchor node
37 *      where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>]
38 *
39 * _class:<classpath> --   gives the anchor node
40 *      where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>]
41 *
42 * NODE <name> <class>
43 *       {describes a subtree}
44 * ENDNODE
45 *
46 * PROP <name> <type> <access_mode> [<size> <value>] -- per property
47 *
48 * REFPROP <name> <dstnode>
49 *
50 * REFNODE <name> <class> with <destnode> -- Associates a new node
51 *       with <destnode> if exists
52 *       where
53 *             <name> is the nodename
54 *             <class> is the picl class.
55 *             <destnode> is name:<namepath> or _class:<classpath>
56 *
57 * If "name:" or "_class:" is not specified in the <path>,
58 * the default is "name:"
59 *
60 */
61
62/*
63 * define a macro to force a #ident line into the output stream
64 * otherwise cpp removes it. Use #ifndef because of #included definitions.
65 */
66#ifndef id
67#define	id(s)	#ident s
68#endif
69id("%Z%%M% %I%     %E% SMI")
70
71name:/frutree/chassis/HDD1/disk
72TABLE Devices
73ROW
74PROP Class string r 0 "block"
75REFPROP _block_ name:/platform/pci@1f,700000/scsi@2/sd@1,0
76ENDROW
77ENDTABLE
78
79name:/platform/pci@1f,700000/scsi@2/sd@1,0
80	REFPROP _fru_parent name:/frutree/chassis/HDD1/disk
81name:/frutree/chassis/HDD1/disk
82	PROP OperationalStatus string r 0 "present"
83