52 <propval name='type' type='uint32' value='1' />
53 <propmethod name='mptsas_led_mode' version='0' propname='mode'
54 proptype='uint32' mutable='1'>
55 </propmethod>
56 </propgroup>
57 </facility>
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'>
64 </propmethod>
65 </propgroup>
66 </facility>
67 EOF
68
69 enclosure=1
70 bay=0
71 slot=0
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
75 (( bay = bay + 1 ))
76 (( slot = slot + 1 ))
77 done
78
79 slot=0
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
83 (( bay = bay + 1 ))
84 (( slot = slot + 1 ))
85 done
86
87 cat <<EOF
88 <dependents grouping='children'>
89 <range name='disk' min='0' max='0'>
90 <enum-method name='disk' version='1' />
91 </range>
92 </dependents>
93 </range>
94 </topology>
95 EOF
|
52 <propval name='type' type='uint32' value='1' />
53 <propmethod name='mptsas_led_mode' version='0' propname='mode'
54 proptype='uint32' mutable='1'>
55 </propmethod>
56 </propgroup>
57 </facility>
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'>
64 </propmethod>
65 </propgroup>
66 </facility>
67 EOF
68
69 enclosure=1
70 bay=0
71 slot=0
72 devctl0='/devices/pci@0,0/pci8086,3c02@1/pci15d9,691@0:devctl'
73 devctl1='/devices/pci@0,0/pci8086,e02@1/pci15d9,691@0:devctl'
74 while (( slot <= 7 )); do
75 do_node $bay "Front Disk $bay" "$devctl0|$devctl1" $enclosure $slot
76 (( bay = bay + 1 ))
77 (( slot = slot + 1 ))
78 done
79
80 slot=0
81 devctl0='/devices/pci@0,0/pci8086,3c06@2,2/pci15d9,691@0:devctl'
82 devctl1='/devices/pci@0,0/pci8086,e06@2,2/pci15d9,691@0:devctl'
83 while (( slot <= 7 )); do
84 do_node $bay "Front Disk $bay" "$devctl0|$devctl1" $enclosure $slot
85 (( bay = bay + 1 ))
86 (( slot = slot + 1 ))
87 done
88
89 cat <<EOF
90 <dependents grouping='children'>
91 <range name='disk' min='0' max='0'>
92 <enum-method name='disk' version='1' />
93 </range>
94 </dependents>
95 </range>
96 </topology>
97 EOF
|