3 # This file and its contents are supplied under the terms of the
4 # Common Development and Distribution License ("CDDL"), version 1.0.
5 # You may only use this file in accordance with the terms of version
8 # A full copy of the text of the CDDL should have accompanied this
9 # source. A copy of the CDDL is also available via the Internet at
10 # http://www.illumos.org/license/CDDL.
14 # Copyright (c) 2013, Joyent, Inc. All rights reserved.
20 <node instance='${1}'>
21 <propgroup name='protocol' version='1' name-stability='Private'
22 data-stability='Private'>
23 <propval name='label' type='string' value='${2}' />
25 <propgroup name='binding' version='1' name-stability='Private'
26 data-stability='Private'>
27 <propval name='driver' type='string' value='mpt_sas' />
28 <propval name='devctl' type='string' value='${3}' />
29 <propval name='enclosure' type='uint32' value='${4}' />
30 <propval name='slot' type='uint32' value='${5}' />
38 <topology name='disk' scheme='hc'>
39 <range name='bay' min='0' max='15'>
40 <facility name='fail' type='indicator' provider='fac_prov_mptsas' >
41 <propgroup name='facility' version='1' name-stability='Private'
42 data-stability='Private' >
43 <propval name='type' type='uint32' value='0' />
44 <propmethod name='mptsas_led_mode' version='0' propname='mode'
45 proptype='uint32' mutable='1'>
49 <facility name='ident' type='indicator' provider='fac_prov_mptsas' >
50 <propgroup name='facility' version='1' name-stability='Private'
51 data-stability='Private' >
52 <propval name='type' type='uint32' value='1' />
53 <propmethod name='mptsas_led_mode' version='0' propname='mode'
54 proptype='uint32' mutable='1'>
58 <facility name='ok2rm' type='indicator' provider='fac_prov_mptsas' >
59 <propgroup name='facility' version='1' name-stability='Private'
60 data-stability='Private' >
61 <propval name='type' type='uint32' value='2' />
62 <propmethod name='mptsas_led_mode' version='0' propname='mode'
63 proptype='uint32' mutable='1'>
72 devctl
='/devices/pci@0,0/pci8086,3c02@1/pci15d9,691@0:devctl'
73 while (( slot
<= 7 )); do
74 do_node
$bay "Front Disk $bay" "$devctl" $enclosure $slot
80 devctl
='/devices/pci@0,0/pci8086,3c06@2,2/pci15d9,691@0:devctl'
81 while (( slot
<= 7 )); do
82 do_node
$bay "Front Disk $bay" "$devctl" $enclosure $slot
88 <dependents grouping='children'>
89 <range name='disk' min='0' max='0'>
90 <enum-method name='disk' version='1' />