106e46062Sjbeloro/*
206e46062Sjbeloro * CDDL HEADER START
306e46062Sjbeloro *
406e46062Sjbeloro * The contents of this file are subject to the terms of the
506e46062Sjbeloro * Common Development and Distribution License (the "License").
606e46062Sjbeloro * You may not use this file except in compliance with the License.
706e46062Sjbeloro *
806e46062Sjbeloro * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
906e46062Sjbeloro * or http://www.opensolaris.org/os/licensing.
1006e46062Sjbeloro * See the License for the specific language governing permissions
1106e46062Sjbeloro * and limitations under the License.
1206e46062Sjbeloro *
1306e46062Sjbeloro * When distributing Covered Code, include this CDDL HEADER in each
1406e46062Sjbeloro * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1506e46062Sjbeloro * If applicable, add the following below this CDDL HEADER, with the
1606e46062Sjbeloro * fields enclosed by brackets "[]" replaced with your own identifying
1706e46062Sjbeloro * information: Portions Copyright [yyyy] [name of copyright owner]
1806e46062Sjbeloro *
1906e46062Sjbeloro * CDDL HEADER END
2006e46062Sjbeloro */
2106e46062Sjbeloro
2206e46062Sjbeloro/*
23*870e5f5aSvenki * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
2406e46062Sjbeloro * Use is subject to license terms.
2506e46062Sjbeloro */
2606e46062Sjbeloro
2706e46062Sjbeloro/*
2806e46062Sjbeloro * ident	"%Z%%M%	%I%	%E% SMI"
2906e46062Sjbeloro *
3006e46062Sjbeloro * This configuration file is parsed by PICL plugin envmon in response
3106e46062Sjbeloro * to a PICL_FRU_ADDED event for HDD1
3206e46062Sjbeloro *
3306e46062Sjbeloro * supported prop types: void, int, uint, float, string
3406e46062Sjbeloro * supported prop access_modes: r, w, rw
3506e46062Sjbeloro *
3606e46062Sjbeloro * VERSION <version_number>  -- supported version number is 1.0
3706e46062Sjbeloro *
3806e46062Sjbeloro * name:<namepath> --     gives the anchor node
3906e46062Sjbeloro *      where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>]
4006e46062Sjbeloro *
4106e46062Sjbeloro * _class:<classpath> --   gives the anchor node
4206e46062Sjbeloro *      where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>]
4306e46062Sjbeloro *
4406e46062Sjbeloro * NODE <name> <class>
4506e46062Sjbeloro *       {describes a subtree}
4606e46062Sjbeloro * ENDNODE
4706e46062Sjbeloro *
4806e46062Sjbeloro * PROP <name> <type> <access_mode> [<size> <value>] -- per property
4906e46062Sjbeloro *
5006e46062Sjbeloro * REFPROP <name> <dstnode>
5106e46062Sjbeloro *
5206e46062Sjbeloro * REFNODE <name> <class> with <destnode> -- Associates a new node
5306e46062Sjbeloro *       with <destnode> if exists
5406e46062Sjbeloro *       where
5506e46062Sjbeloro *             <name> is the nodename
5606e46062Sjbeloro *             <class> is the picl class.
5706e46062Sjbeloro *             <destnode> is name:<namepath> or _class:<classpath>
5806e46062Sjbeloro *
5906e46062Sjbeloro * If "name:" or "_class:" is not specified in the <path>,
6006e46062Sjbeloro * the default is "name:"
6106e46062Sjbeloro *
6206e46062Sjbeloro */
6306e46062Sjbeloro
6406e46062Sjbeloro/*
6506e46062Sjbeloro * define a macro to force a #ident line into the output stream
6606e46062Sjbeloro * otherwise cpp removes it. Use #ifndef because of #included definitions.
6706e46062Sjbeloro */
6806e46062Sjbeloro#ifndef id
6906e46062Sjbeloro#define	id(s)	#ident s
7006e46062Sjbeloro#endif
7106e46062Sjbeloroid("%Z%%M% %I%     %E% SMI")
7206e46062Sjbeloro
73*870e5f5aSvenki#ifndef DISKBP1
74*870e5f5aSvenki#define DISKBP1 /frutree/chassis/MB/system-board/HDDBP/disk-backplane-1
75*870e5f5aSvenki#endif
76*870e5f5aSvenki
77*870e5f5aSvenki#ifndef DISKBP3
78*870e5f5aSvenki#define DISKBP3 /frutree/chassis/MB/system-board/HDDBP/disk-backplane-3
79*870e5f5aSvenki#endif
80*870e5f5aSvenki
8106e46062Sjbeloroname:DISKBP1/HDD1/disk
8206e46062SjbeloroTABLE Devices
8306e46062SjbeloroROW
8406e46062SjbeloroPROP Class string r 0 "block"
8506e46062SjbeloroREFPROP _block_ name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@1,0
8606e46062SjbeloroENDROW
8706e46062SjbeloroENDTABLE
8806e46062Sjbeloro
8906e46062Sjbeloroname:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@1,0
9006e46062Sjbeloro	REFPROP _fru_parent name:DISKBP1/HDD1/disk
9106e46062Sjbeloroname:DISKBP1/HDD1/disk
9206e46062Sjbeloro	PROP OperationalStatus string r 0 "present"
9306e46062Sjbeloro
9406e46062Sjbeloroname:DISKBP3/HDD1/disk
9506e46062SjbeloroTABLE Devices
9606e46062SjbeloroROW
9706e46062SjbeloroPROP Class string r 0 "block"
9806e46062SjbeloroREFPROP _block_ name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@1,0
9906e46062SjbeloroENDROW
10006e46062SjbeloroENDTABLE
10106e46062Sjbeloro
10206e46062Sjbeloroname:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@1,0
10306e46062Sjbeloro	REFPROP _fru_parent name:DISKBP3/HDD1/disk
10406e46062Sjbeloroname:DISKBP3/HDD1/disk
10506e46062Sjbeloro	PROP OperationalStatus string r 0 "present"
106