summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/siop/siop.out
blob: b5e8379de928aa796519d04052097d0cf89c3c9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
/*	$OpenBSD: siop.out,v 1.9 2007/04/13 18:16:17 krw Exp $	*/
/*
 *	DO NOT EDIT - this file is automatically generated.
 *	created from siop.ss on Fri Apr 13 20:12:23 2007
 */
const u_int32_t siop_script[] = {
	0x78340000, 0x00000000,			/* 000 -   0 */
	0x78350000, 0x00000000,			/* 008 -   8 */
	0x72370000, 0x00000000,			/* 010 -  16 */
	0x80840020, 0x00000318,			/* 018 -  24 */
	0x868b0000, 0x00000380,			/* 020 -  32 */
	0x878b0000, 0x000002f8,			/* 028 -  40 */
	0x808b0000, 0x00000408,			/* 030 -  48 */
	0x818b0000, 0x000003a0,			/* 038 -  56 */
	0x828b0000, 0x00000378,			/* 040 -  64 */
	0x838b0000, 0x00000380,			/* 048 -  72 */
	0x98080000, 0x0000ffff,			/* 050 -  80 */
	0x741a4000, 0x00000000,			/* 058 -  88 */
	0x980c0000, 0x0000ff83,			/* 060 -  96 */
	0x80000000, 0x00000000,			/* 068 - 104 */
	0x7810ff00, 0x00000000,			/* 070 - 112 */
	0x7811ff00, 0x00000000,			/* 078 - 120 */
	0x7812ff00, 0x00000000,			/* 080 - 128 */
	0x7813ff00, 0x00000000,			/* 088 - 136 */
	0x78340000, 0x00000000,			/* 090 - 144 */
	0x78350000, 0x00000000,			/* 098 - 152 */
	0x80000000, 0x00000000,			/* 0a0 - 160 */
	0x80000000, 0x00000000,			/* 0a8 - 168 */
	0x80000000, 0x00000000,			/* 0b0 - 176 */
	0x80000000, 0x00000000,			/* 0b8 - 184 */
	0x80000000, 0x00000000,			/* 0c0 - 192 */
	0x80000000, 0x00000000,			/* 0c8 - 200 */
	0x80000000, 0x00000000,			/* 0d0 - 208 */
	0x80000000, 0x00000000,			/* 0d8 - 216 */
	0x80000000, 0x00000000,			/* 0e0 - 224 */
	0x80000000, 0x00000000,			/* 0e8 - 232 */
	0x80000000, 0x00000000,			/* 0f0 - 240 */
	0x80000000, 0x00000000,			/* 0f8 - 248 */
	0x80000000, 0x00000000,			/* 100 - 256 */
	0x80000000, 0x00000000,			/* 108 - 264 */
	0x80000000, 0x00000000,			/* 110 - 272 */
	0x80000000, 0x00000000,			/* 118 - 280 */
	0x80000000, 0x00000000,			/* 120 - 288 */
	0x80000000, 0x00000000,			/* 128 - 296 */
	0x80000000, 0x00000000,			/* 130 - 304 */
	0x80000000, 0x00000000,			/* 138 - 312 */
	0x80000000, 0x00000000,			/* 140 - 320 */
	0x80000000, 0x00000000,			/* 148 - 328 */
	0x80000000, 0x00000000,			/* 150 - 336 */
	0x80000000, 0x00000000,			/* 158 - 344 */
	0x80000000, 0x00000000,			/* 160 - 352 */
	0x80000000, 0x00000000,			/* 168 - 360 */
	0x80000000, 0x00000000,			/* 170 - 368 */
	0x80000000, 0x00000000,			/* 178 - 376 */
	0x80000000, 0x00000000,			/* 180 - 384 */
	0x80000000, 0x00000000,			/* 188 - 392 */
	0x80000000, 0x00000000,			/* 190 - 400 */
	0x80000000, 0x00000000,			/* 198 - 408 */
	0x80000000, 0x00000000,			/* 1a0 - 416 */
	0x80000000, 0x00000000,			/* 1a8 - 424 */
	0x80000000, 0x00000000,			/* 1b0 - 432 */
	0x80000000, 0x00000000,			/* 1b8 - 440 */
	0x80000000, 0x00000000,			/* 1c0 - 448 */
	0x80000000, 0x00000000,			/* 1c8 - 456 */
	0x80000000, 0x00000000,			/* 1d0 - 464 */
	0x80000000, 0x00000000,			/* 1d8 - 472 */
	0x7810ff00, 0x00000000,			/* 1e0 - 480 */
	0x7811ff00, 0x00000000,			/* 1e8 - 488 */
	0x7812ff00, 0x00000000,			/* 1f0 - 496 */
	0x7813ff00, 0x00000000,			/* 1f8 - 504 */
	0x78360000, 0x00000000,			/* 200 - 512 */
	0x78372000, 0x00000000,			/* 208 - 520 */
	0x80000000, 0x00000000,			/* 210 - 528 */
	0x54000000, 0xfffffe38,			/* 218 - 536 */
	0x80000000, 0x00000000,			/* 220 - 544 */
	0x740a8f00, 0x00000000,			/* 228 - 552 */
	0x6a340000, 0x00000000,			/* 230 - 560 */
	0x800c00ff, 0x00000000,			/* 238 - 568 */
	0x800c00ff, 0x00000000,			/* 240 - 576 */
	0x800c00ff, 0x00000000,			/* 248 - 584 */
	0x800c00ff, 0x00000000,			/* 250 - 592 */
	0x800c00ff, 0x00000000,			/* 258 - 600 */
	0x800c00ff, 0x00000000,			/* 260 - 608 */
	0x800c00ff, 0x00000000,			/* 268 - 616 */
	0x800c00ff, 0x00000000,			/* 270 - 624 */
	0x800c00ff, 0x00000000,			/* 278 - 632 */
	0x800c00ff, 0x00000000,			/* 280 - 640 */
	0x800c00ff, 0x00000000,			/* 288 - 648 */
	0x800c00ff, 0x00000000,			/* 290 - 656 */
	0x800c00ff, 0x00000000,			/* 298 - 664 */
	0x800c00ff, 0x00000000,			/* 2a0 - 672 */
	0x800c00ff, 0x00000000,			/* 2a8 - 680 */
	0x98080000, 0x0000ff80,			/* 2b0 - 688 */
	0x0f000001, 0x00000000,			/* 2b8 - 696 */
	0x6c350700, 0x00000000,			/* 2c0 - 704 */
	0x60000040, 0x00000000,			/* 2c8 - 712 */
	0x97030000, 0x00000000,			/* 2d0 - 720 */
	0x0f000001, 0x00000000,			/* 2d8 - 728 */
	0x60000040, 0x00000000,			/* 2e0 - 736 */
	0x6a370000, 0x00000000,			/* 2e8 - 744 */
	0x90040020, 0x00000000,			/* 2f0 - 752 */
	0x0f000001, 0x00000000,			/* 2f8 - 760 */
	0x60000040, 0x00000000,			/* 300 - 768 */
	0x6a360000, 0x00000000,			/* 308 - 776 */
	0x90080000, 0x00000000,			/* 310 - 784 */
	0x60000040, 0x00000000,			/* 318 - 792 */
	0x7a340100, 0x00000000,			/* 320 - 800 */
	0x60000008, 0x00000000,			/* 328 - 808 */
	0x1f00003c, 0x0000003c,			/* 330 - 816 */
	0x808c0000, 0x00000218,			/* 338 - 824 */
	0x808c0002, 0xffffffd0,			/* 340 - 832 */
	0x808c0001, 0x00000218,			/* 348 - 840 */
	0x98040004, 0x0000ff01,			/* 350 - 848 */
	0x88880000, 0x000001d0,			/* 358 - 856 */
	0x74340100, 0x00000000,			/* 360 - 864 */
	0x98040000, 0x0000ff04,			/* 368 - 872 */
	0x72350000, 0x00000000,			/* 370 - 880 */
	0x808c0000, 0xfffffcf0,			/* 378 - 888 */
	0x98080000, 0x0000ff05,			/* 380 - 896 */
	0x60000040, 0x00000000,			/* 388 - 904 */
	0x80880000, 0xfffffc88,			/* 390 - 912 */
	0x58000008, 0x00000000,			/* 398 - 920 */
	0x60000040, 0x00000000,			/* 3a0 - 928 */
	0x1e000054, 0x00000054,			/* 3a8 - 936 */
	0x60000008, 0x00000000,			/* 3b0 - 944 */
	0x80880000, 0xfffffc60,			/* 3b8 - 952 */
	0x1a00005c, 0x0000005c,			/* 3c0 - 960 */
	0x80880000, 0xfffffc50,			/* 3c8 - 968 */
	0x1b000064, 0x00000064,			/* 3d0 - 976 */
	0x80880000, 0xfffffc40,			/* 3d8 - 984 */
	0x88880000, 0x000000b8,			/* 3e0 - 992 */
	0x7a340200, 0x00000000,			/* 3e8 - 1000 */
	0x1900006c, 0x0000006c,			/* 3f0 - 1008 */
	0x7e350100, 0x00000000,			/* 3f8 - 1016 */
	0x7e100800, 0x00000000,			/* 400 - 1024 */
	0x7f110000, 0x00000000,			/* 408 - 1032 */
	0x7f120000, 0x00000000,			/* 410 - 1040 */
	0x7f130000, 0x00000000,			/* 418 - 1048 */
	0x818b0000, 0xffffffc8,			/* 420 - 1056 */
	0x88880000, 0x000000b8,			/* 428 - 1064 */
	0x7c34fd00, 0x00000000,			/* 430 - 1072 */
	0x80880000, 0xfffffbe0,			/* 438 - 1080 */
	0x88880000, 0x00000058,			/* 440 - 1088 */
	0x7a340200, 0x00000000,			/* 448 - 1096 */
	0x1800006c, 0x0000006c,			/* 450 - 1104 */
	0x7e350100, 0x00000000,			/* 458 - 1112 */
	0x7e100800, 0x00000000,			/* 460 - 1120 */
	0x7f110000, 0x00000000,			/* 468 - 1128 */
	0x7f120000, 0x00000000,			/* 470 - 1136 */
	0x7f130000, 0x00000000,			/* 478 - 1144 */
	0x808b0000, 0xffffffc8,			/* 480 - 1152 */
	0x88880000, 0x00000058,			/* 488 - 1160 */
	0x7c34fd00, 0x00000000,			/* 490 - 1168 */
	0x80880000, 0xfffffb80,			/* 498 - 1176 */
	0x72100000, 0x00000000,			/* 4a0 - 1184 */
	0x6a5c0000, 0x00000000,			/* 4a8 - 1192 */
	0x72110000, 0x00000000,			/* 4b0 - 1200 */
	0x6a5d0000, 0x00000000,			/* 4b8 - 1208 */
	0x72120000, 0x00000000,			/* 4c0 - 1216 */
	0x6a5e0000, 0x00000000,			/* 4c8 - 1224 */
	0x72130000, 0x00000000,			/* 4d0 - 1232 */
	0x6a5f0000, 0x00000000,			/* 4d8 - 1240 */
	0x90080000, 0x00000000,			/* 4e0 - 1248 */
	0x725c0000, 0x00000000,			/* 4e8 - 1256 */
	0x6a100000, 0x00000000,			/* 4f0 - 1264 */
	0x725d0000, 0x00000000,			/* 4f8 - 1272 */
	0x6a110000, 0x00000000,			/* 500 - 1280 */
	0x725e0000, 0x00000000,			/* 508 - 1288 */
	0x6a120000, 0x00000000,			/* 510 - 1296 */
	0x725f0000, 0x00000000,			/* 518 - 1304 */
	0x6a130000, 0x00000000,			/* 520 - 1312 */
	0x90080000, 0x00000000,			/* 528 - 1320 */
	0x7c027f00, 0x00000000,			/* 530 - 1328 */
	0x60000008, 0x00000000,			/* 538 - 1336 */
	0x60000040, 0x00000000,			/* 540 - 1344 */
	0x48000000, 0x00000000,			/* 548 - 1352 */
	0x90080000, 0x00000000,			/* 550 - 1360 */
	0x88880000, 0xffffffd0,			/* 558 - 1368 */
	0x98080000, 0x0000ff00,			/* 560 - 1376 */
	0x60000040, 0x00000000,			/* 568 - 1384 */
	0x1f000044, 0x00000044,			/* 570 - 1392 */
	0x98080000, 0x0000ff02,			/* 578 - 1400 */
	0x60000040, 0x00000000,			/* 580 - 1408 */
	0x1f00004c, 0x0000004c,			/* 588 - 1416 */
	0x98080000, 0x0000ff03,			/* 590 - 1424 */
	0x80000000, 0x00000000,			/* 598 - 1432 */
};

const u_int32_t lun_switch[] = {
	0x7803ff00, 0x00000000,			/* 000 -   0 */
	0x7805ff00, 0x00000000,			/* 008 -   8 */
	0x80080000, 0x00000000,			/* 010 -  16 */
	0x88880000, 0xffffffe0,			/* 018 -  24 */
	0x72350000, 0x00000000,			/* 020 -  32 */
	0x98080000, 0x0000ff81,			/* 028 -  40 */
};

const u_int32_t tag_switch[] = {
	0x72360000, 0x00000000,			/* 000 -   0 */
	0x800c0000, 0x00000000,			/* 008 -   8 */
	0x800c0001, 0x00000000,			/* 010 -  16 */
	0x800c0002, 0x00000000,			/* 018 -  24 */
	0x800c0003, 0x00000000,			/* 020 -  32 */
	0x800c0004, 0x00000000,			/* 028 -  40 */
	0x800c0005, 0x00000000,			/* 030 -  48 */
	0x800c0006, 0x00000000,			/* 038 -  56 */
	0x800c0007, 0x00000000,			/* 040 -  64 */
	0x800c0008, 0x00000000,			/* 048 -  72 */
	0x800c0009, 0x00000000,			/* 050 -  80 */
	0x800c000a, 0x00000000,			/* 058 -  88 */
	0x800c000b, 0x00000000,			/* 060 -  96 */
	0x800c000c, 0x00000000,			/* 068 - 104 */
	0x800c000d, 0x00000000,			/* 070 - 112 */
	0x800c000e, 0x00000000,			/* 078 - 120 */
	0x800c000f, 0x00000000,			/* 080 - 128 */
	0x98080000, 0x0000ff82,			/* 088 - 136 */
};

const u_int32_t load_dsa[] = {
	0x7810f000, 0x00000000,			/* 000 -   0 */
	0x7811f100, 0x00000000,			/* 008 -   8 */
	0x7812f200, 0x00000000,			/* 010 -  16 */
	0x7813f300, 0x00000000,			/* 018 -  24 */
	0x90080000, 0x00000000,			/* 020 -  32 */
	0x88880000, 0xffffffd0,			/* 028 -  40 */
	0x80080000, 0x00000000,			/* 030 -  48 */
	0x88880000, 0xffffffc0,			/* 038 -  56 */
	0x43000028, 0x00000000,			/* 040 -  64 */
	0xc0000004, 0x00000000, 0x00000000,	/* 048 -  72 */
	0x80080000, 0x00000000,			/* 054 -  84 */
	0x80000000, 0x00000000,			/* 05c -  92 */
};

const u_int32_t siop_led_on[] = {
	0x7c07fe00, 0x00000000,			/* 000 -   0 */
};

const u_int32_t siop_led_off[] = {
	0x7a070100, 0x00000000,			/* 000 -   0 */
};

#define	A_t_id	0x00000028
#define	A_t_msg_in	0x0000003c
#define	A_t_ext_msg_in	0x00000044
#define	A_t_ext_msg_data	0x0000004c
#define	A_t_msg_out	0x00000054
#define	A_t_cmd	0x0000005c
#define	A_t_status	0x00000064
#define	A_t_data	0x0000006c
#define	A_int_done	0x0000ff00
#define	A_int_msgin	0x0000ff01
#define	A_int_extmsgin	0x0000ff02
#define	A_int_extmsgdata	0x0000ff03
#define	A_int_disc	0x0000ff04
#define	A_int_saveoffset	0x0000ff05
#define	A_int_reseltarg	0x0000ff80
#define	A_int_resellun	0x0000ff81
#define	A_int_reseltag	0x0000ff82
#define	A_int_resfail	0x0000ff83
#define	A_int_err	0x0000ffff
#define	A_flag_sdp	0x00000001
#define	A_flag_data	0x00000002
#define	A_flag_data_mask	0x000000fd
#define	Ent_waitphase	0x00000020
#define	Ent_send_msgout	0x00000398
#define	Ent_msgout	0x000003a8
#define	Ent_msgin	0x00000328
#define	Ent_handle_msgin	0x00000338
#define	Ent_msgin_ack	0x00000388
#define	Ent_dataout	0x00000440
#define	Ent_datain	0x000003e0
#define	Ent_cmdout	0x000003c0
#define	Ent_status	0x000003d0
#define	Ent_disconnect	0x00000530
#define	Ent_reselect	0x000001e0
#define	Ent_reselected	0x00000000
#define	Ent_selected	0x00000388
#define	Ent_script_sched	0x00000070
#define	Ent_script_sched_slot0	0x000000a0
#define	Ent_get_extmsgdata	0x00000580
#define	Ent_resel_targ0	0x00000238
#define	Ent_msgin_space	0x00000598
#define	Ent_lunsw_return	0x000002b8
#define	Ent_led_on1	0x00000068
#define	Ent_led_on2	0x00000220
#define	Ent_led_off	0x00000210
#define	E_abs_script_sched_slot0	0x00000000
u_int32_t E_abs_script_sched_slot0_Used[] = {
	0x00000029,
	0x0000002b,
	0x0000002d,
	0x0000002f,
	0x00000031,
	0x00000033,
	0x00000035,
	0x00000037,
	0x00000039,
	0x0000003b,
	0x0000003d,
	0x0000003f,
	0x00000041,
	0x00000043,
	0x00000045,
	0x00000047,
	0x00000049,
	0x0000004b,
	0x0000004d,
	0x0000004f,
	0x00000051,
	0x00000053,
	0x00000055,
	0x00000057,
	0x00000059,
	0x0000005b,
	0x0000005d,
	0x0000005f,
	0x00000061,
	0x00000063,
	0x00000065,
	0x00000067,
	0x00000069,
	0x0000006b,
	0x0000006d,
	0x0000006f,
	0x00000071,
	0x00000073,
	0x00000075,
	0x00000077,
};

#define	E_abs_targ0	0x00000000
u_int32_t E_abs_targ0_Used[] = {
	0x0000008f,
	0x00000091,
	0x00000093,
	0x00000095,
	0x00000097,
	0x00000099,
	0x0000009b,
	0x0000009d,
	0x0000009f,
	0x000000a1,
	0x000000a3,
	0x000000a5,
	0x000000a7,
	0x000000a9,
	0x000000ab,
};

#define	E_abs_msgin	0x00000000
u_int32_t E_abs_msgin_Used[] = {
	0x000000af,
	0x000000b7,
	0x000000bf,
};

#define	Ent_lun_switch_entry	0x00000018
#define	Ent_resel_lun0	0x00000028
#define	Ent_restore_scntl3	0x00000000
#define	E_abs_lunsw_return	0x00000000
u_int32_t E_abs_lunsw_return_Used[] = {
	0x00000005,
};

#define	Ent_tag_switch_entry	0x00000000
#define	Ent_resel_tag0	0x00000008
#define	E_abs_tag0	0x00000000
u_int32_t E_abs_tag0_Used[] = {
	0x00000003,
	0x00000005,
	0x00000007,
	0x00000009,
	0x0000000b,
	0x0000000d,
	0x0000000f,
	0x00000011,
	0x00000013,
	0x00000015,
	0x00000017,
	0x00000019,
	0x0000001b,
	0x0000001d,
	0x0000001f,
	0x00000021,
};

#define	Ent_rdsa0	0x00000000
#define	Ent_rdsa1	0x00000008
#define	Ent_rdsa2	0x00000010
#define	Ent_rdsa3	0x00000018
#define	Ent_ldsa_reload_dsa	0x00000028
#define	Ent_ldsa_select	0x00000038
#define	Ent_ldsa_data	0x0000005c
#define	E_ldsa_abs_reselected	0x00000000
u_int32_t E_ldsa_abs_reselected_Used[] = {
	0x0000000d,
};

#define	E_ldsa_abs_reselect	0x00000000
u_int32_t E_ldsa_abs_reselect_Used[] = {
	0x00000011,
};

#define	E_ldsa_abs_selected	0x00000000
u_int32_t E_ldsa_abs_selected_Used[] = {
	0x00000016,
};

#define	E_ldsa_abs_data	0x00000000
u_int32_t E_ldsa_abs_data_Used[] = {
	0x00000013,
};

#define	E_ldsa_abs_slot	0x00000000
u_int32_t E_ldsa_abs_slot_Used[] = {
	0x00000014,
};