5 # The contents of this file are subject to the terms of the
6 # Common Development and Distribution License (the "License").
7 # You may not use this file except in compliance with the License.
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 2008 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
26 #pragma ident "%Z%%M% %I% %E% SMI"
32 <topology name='disk' scheme='hc'>
33 <range name='bay' min='0' max='3'>
37 for ($bay = 0; $bay < $num_bays; $bay++) {
38 $hpath = "/pci\@7b,0/pci1022,7458\@11/pci1000,3060\@2";
39 $tpath = sprintf("/sd\@%x,0", $bay);
40 $apoint = sprintf(":scsi::dsk/c%dt%dd0",
41 $controller + 1, $bay);
44 <node instance='$bay'>
45 <propgroup name='protocol' version='1' name-stability='Private'
46 data-stability='Private'>
47 <propval name='label' type='string' value='$bay_label$bay' />
49 <propgroup name='io' version='1' name-stability='Private'
50 data-stability='Private'>
51 <propval name='ap-path' type='string' value='/devices$hpath$apoint' />
53 <propgroup name='binding' version='1' name-stability='Private'
54 data-stability='Private'>
55 <propval name='occupant-path' type='string'
56 value='$hpath$tpath' />
63 <dependents grouping='children'>
64 <range name='disk' min='0' max='0'>
65 <enum-method name='disk' version='1' />