6
mc_add 20 0 1 23 9 8 1f 1291 f02
10
main_sdr_add 20 00 00 51 12 0f 20 00 00 1f 00 00 00 f0 1 0 c4 'T 'e 's 't
12
mc_add_fru_data 20 0 400 \
13
01 00 01 03 00 00 00 fb \
15
01 02 01 c4 'A 'T 'C 'A \
16
c4 'T 'e 's 't c1 00 fa \
18
01 05 00 00 00 00 c4 'T \
19
'e 's 't c4 'T 'e 's 't \
20
c4 'T 'e 's 't c4 'T 'e \
21
's 't c4 'T 'e 's 't c1 \
22
00 00 00 00 00 00 00 45
25
## Add a shelf FRU device at 0x10
27
main_sdr_add 20 00 00 51 12 0f 10 00 00 08 00 00 00 f2 60 0 c4 'F 'R 'U '1
29
mc_add 10 0 1 23 9 8 08 1291 f03
30
# Board FRU information
31
mc_add_fru_data 10 0 400 \
32
01 00 01 03 00 00 00 fb \
34
01 02 01 c4 'A 'T 'C 'A \
35
c4 'T 'e 's 't c1 00 fa \
37
01 05 00 00 00 00 c4 'T \
38
'e 's 't c4 'T 'e 's 't \
39
c4 'T 'e 's 't c4 'T 'e \
40
's 't c4 'T 'e 's 't c1 \
41
00 00 00 00 00 00 00 45
42
# Shelf FRU information
43
mc_add_fru_data 10 1 400 \
44
01 00 01 03 00 08 00 f3 \
46
01 02 01 c4 'A 'T 'C 'A \
47
c4 'T 'e 's 't c1 00 fa \
49
01 05 00 00 00 00 c4 'T \
50
'e 's 't c4 'T 'e 's 't \
51
c4 'T 'e 's 't c4 'T 'e \
52
's 't c4 'T 'e 's 't c1 \
53
00 00 00 00 00 00 00 45 \
55
# record 1, the address table
56
c0 82 2b 1f 74 5a 31 00 \
57
10 00 c6 'S 'h 'e 'l 'f \
58
'1 00 00 00 00 00 00 00 \
59
00 00 00 00 00 00 00 03 \
60
08 01 02 09 02 02 41 01 \
61
00 00 00 00 00 00 00 00
64
sensor_add 10 0 0 f0 6f
65
sensor_set_event_support 10 0 0 1 1 0 \
66
000000011111111 000000000000000 000000011111111 000000000000000
67
sensor_set_bit_clr_rest 10 0 0 1 1
70
10 00 00 f2 60 ff c0 f0 6f ff 00 ff 00 ff 00 00 \
71
00 00 00 00 00 00 00 00 00 00 c7 'H 'o 't 's 'w \
76
# Add a shelf FRU device at 0x12
78
mc_add 12 0 1 23 9 8 08 1291 f03
79
main_sdr_add 20 00 00 51 12 0f 12 00 00 08 00 00 00 f2 60 0 c4 'F 'R 'U '2
81
mc_add_fru_data 12 0 400 \
82
01 00 01 03 00 00 00 fb \
84
01 02 01 c4 'A 'T 'C 'A \
85
c4 'T 'e 's 't c1 00 fa \
87
01 05 00 00 00 00 c4 'T \
88
'e 's 't c4 'T 'e 's 't \
89
c4 'T 'e 's 't c4 'T 'e \
90
's 't c4 'T 'e 's 't c1 \
91
00 00 00 00 00 00 00 45
93
mc_add_fru_data 12 1 400 \
94
01 00 01 03 00 08 00 f3 \
96
01 02 01 c4 'A 'T 'C 'A \
97
c4 'T 'e 's 't c1 00 fa \
99
01 05 00 00 00 00 c4 'T \
100
'e 's 't c4 'T 'e 's 't \
101
c4 'T 'e 's 't c4 'T 'e \
102
's 't c4 'T 'e 's 't c1 \
103
00 00 00 00 00 00 00 45 \
105
# record 1, the address table
106
c0 82 2b 1f 74 5a 31 00 \
107
10 00 c6 'S 'h 'e 'l 'f \
108
'1 00 00 00 00 00 00 00 \
109
00 00 00 00 00 00 00 03 \
110
08 01 02 09 02 02 41 01 \
111
00 00 00 00 00 00 00 00
112
# The hot-swap sensor
114
sensor_add 12 0 0 f0 6f
115
sensor_set_event_support 12 0 0 1 1 0 \
116
000000011111111 000000000000000 000000011111111 000000000000000
117
sensor_set_bit_clr_rest 12 0 0 1 1
118
device_sdr_add 12 0 \
120
12 00 00 f2 60 ff c0 f0 6f ff 00 ff 00 ff 00 00 \
121
00 00 00 00 00 00 00 00 00 00 c7 'H 'o 't 's 'w \
126
# Add a board in site 1 (0x82)
128
mc_add 82 0 1 19 4 3 29 1291 f04
129
#main_sdr_add 20 00 00 51 12 12 \
130
# 82 00 00 29 00 00 00 a0 60 0 c6 'B 'o 'a 'r 'd '1
132
mc_add_fru_data 82 0 400 \
133
01 00 01 03 00 00 00 fb \
135
01 02 01 c4 'A 'T 'C 'A \
136
c4 'T 'e 's 't c1 00 fa \
138
01 05 00 00 00 00 c4 'T \
139
'e 's 't c4 'T 'e 's 't \
140
c4 'T 'e 's 't c4 'T 'e \
141
's 't c4 'T 'e 's 't c1 \
142
00 00 00 00 00 00 00 45
143
# The hot-swap sensor
145
sensor_add 82 0 0 f0 6f
146
sensor_set_event_support 82 0 0 1 1 0 \
147
000000011111111 000000000000000 000000011111111 000000000000000
148
sensor_set_bit_clr_rest 82 0 0 1 1
149
device_sdr_add 82 0 \
151
82 00 00 29 00 00 00 a0 60 0 c6 'B 'o 'a 'r 'd '1
152
device_sdr_add 82 0 \
154
82 00 00 a0 60 ff c0 f0 6f ff 00 ff 00 ff 00 00 \
155
00 00 00 00 00 00 00 00 00 00 c7 'H 'o 't 's 'w \
160
# An SDR for an MC that is not present.
163
device_sdr_add 82 0 \
165
84 00 00 29 00 00 00 a0 60 0 c6 'B 'o 'a 'r 'd \