1 /* $NetBSD: ncr53cxxx.c,v 1.14 2005/02/11 06:21:22 simonb Exp $ */
3 * DO NOT EDIT - this file is automatically generated.
4 * created from esiop.ss on Sat Nov 19 00:10:56 2005
6 const u_int32_t esiop_script[] = {
7 0xe15c0004, 0x00000000, /* 000 - 0 */
8 0x745c0100, 0x00000000, /* 008 - 8 */
9 0x98140000, 0x00000000, /* 010 - 16 */
10 0x7a5c0200, 0x00000000, /* 018 - 24 */
11 0xe25c0004, 0x00000000, /* 020 - 32 */
12 0x78350000, 0x00000000, /* 028 - 40 */
13 0x78600000, 0x00000000, /* 030 - 48 */
14 0x7869ff00, 0x00000000, /* 038 - 56 */
15 0x80000000, 0x00000000, /* 040 - 64 */
16 0x54000000, 0x000002f8, /* 048 - 72 */
17 0x80000000, 0x00000000, /* 050 - 80 */
18 0x740a0f00, 0x00000000, /* 058 - 88 */
19 0x6a610000, 0x00000000, /* 060 - 96 */
20 0x7a600100, 0x00000000, /* 068 - 104 */
21 0x60000400, 0x00000000, /* 070 - 112 */
22 0x71610000, 0x00000000, /* 078 - 120 */
23 0x69100000, 0x00000000, /* 080 - 128 */
24 0x78110000, 0x00000000, /* 088 - 136 */
25 0x78120000, 0x00000000, /* 090 - 144 */
26 0x78130000, 0x00000000, /* 098 - 152 */
27 0x7e100000, 0x00000000, /* 0a0 - 160 */
28 0x7f110000, 0x00000000, /* 0a8 - 168 */
29 0x7f120000, 0x00000000, /* 0b0 - 176 */
30 0x7f130000, 0x00000000, /* 0b8 - 184 */
31 0xf1100004, 0x00000000, /* 0c0 - 192 */
32 0x46000000, 0x00000000, /* 0c8 - 200 */
33 0x0f000001, 0x00000000, /* 0d0 - 208 */
34 0x6c620700, 0x00000000, /* 0d8 - 216 */
35 0x7a600200, 0x00000000, /* 0e0 - 224 */
36 0x60000440, 0x00000000, /* 0e8 - 232 */
37 0x71620000, 0x00000000, /* 0f0 - 240 */
38 0x79080000, 0x00000000, /* 0f8 - 248 */
39 0x79080000, 0x00000000, /* 100 - 256 */
40 0x7e900000, 0x00000000, /* 108 - 264 */
41 0x7f110000, 0x00000000, /* 110 - 272 */
42 0x7f120000, 0x00000000, /* 118 - 280 */
43 0x7f130000, 0x00000000, /* 120 - 288 */
44 0xf15c0004, 0x0000000c, /* 128 - 296 */
45 0xf1100004, 0x00000008, /* 130 - 304 */
46 0x87830000, 0x000000c8, /* 138 - 312 */
47 0x0f000001, 0x00000000, /* 140 - 320 */
48 0x60000040, 0x00000000, /* 148 - 328 */
49 0x80840020, 0x000003c8, /* 150 - 336 */
50 0x0f000001, 0x00000000, /* 158 - 344 */
51 0x6a360000, 0x00000000, /* 160 - 352 */
52 0x6a630000, 0x00000000, /* 168 - 360 */
53 0x7a600400, 0x00000000, /* 170 - 368 */
54 0x88880000, 0x00000528, /* 178 - 376 */
55 0x78370000, 0x00000000, /* 180 - 384 */
56 0x60000400, 0x00000000, /* 188 - 392 */
57 0x79360000, 0x00000000, /* 190 - 400 */
58 0x79370000, 0x00000000, /* 198 - 408 */
59 0x79360000, 0x00000000, /* 1a0 - 416 */
60 0x79370000, 0x00000000, /* 1a8 - 424 */
61 0x72360000, 0x00000000, /* 1b0 - 432 */
62 0x7e900000, 0x00000000, /* 1b8 - 440 */
63 0x7f110000, 0x00000000, /* 1c0 - 448 */
64 0x7f120000, 0x00000000, /* 1c8 - 456 */
65 0x7f130000, 0x00000000, /* 1d0 - 464 */
66 0x72370000, 0x00000000, /* 1d8 - 472 */
67 0x7e910000, 0x00000000, /* 1e0 - 480 */
68 0x7f120000, 0x00000000, /* 1e8 - 488 */
69 0x7f130000, 0x00000000, /* 1f0 - 496 */
70 0xf1100004, 0x00000000, /* 1f8 - 504 */
71 0x60000040, 0x00000000, /* 200 - 512 */
72 0x868b0000, 0x000002d8, /* 208 - 520 */
73 0x878b0000, 0x000002f8, /* 210 - 528 */
74 0x808b0000, 0x000003e0, /* 218 - 536 */
75 0x818b0000, 0x00000378, /* 220 - 544 */
76 0x828b0000, 0x00000348, /* 228 - 552 */
77 0x838b0000, 0x00000350, /* 230 - 560 */
78 0x98080000, 0x0000ffff, /* 238 - 568 */
79 0x88880000, 0x000004a8, /* 240 - 576 */
80 0x72350000, 0x00000000, /* 248 - 584 */
81 0x808c0000, 0x00000008, /* 250 - 592 */
82 0xf2340004, 0x00000000, /* 258 - 600 */
83 0x72690000, 0x00000000, /* 260 - 608 */
84 0x98040000, 0x0000ff00, /* 268 - 616 */
85 0x726c0000, 0x00000000, /* 270 - 624 */
86 0x6a100000, 0x00000000, /* 278 - 632 */
87 0x726d0000, 0x00000000, /* 280 - 640 */
88 0x6a110000, 0x00000000, /* 288 - 648 */
89 0x726e0000, 0x00000000, /* 290 - 656 */
90 0x6a120000, 0x00000000, /* 298 - 664 */
91 0x726f0000, 0x00000000, /* 2a0 - 672 */
92 0x6a130000, 0x00000000, /* 2a8 - 680 */
93 0xf1340001, 0x00000000, /* 2b0 - 688 */
94 0x72340000, 0x00000000, /* 2b8 - 696 */
95 0x80840000, 0xffffffe8, /* 2c0 - 704 */
96 0xf2600004, 0x00000000, /* 2c8 - 712 */
97 0x7e6c0400, 0x00000000, /* 2d0 - 720 */
98 0x7f6d0000, 0x00000000, /* 2d8 - 728 */
99 0x7f6e0000, 0x00000000, /* 2e0 - 736 */
100 0x7f6f0000, 0x00000000, /* 2e8 - 744 */
101 0x7e6a0100, 0x00000000, /* 2f0 - 752 */
102 0x726a0000, 0x00000000, /* 2f8 - 760 */
103 0x80840000, 0x00000028, /* 300 - 768 */
104 0x786cff00, 0x00000000, /* 308 - 776 */
105 0x786dff00, 0x00000000, /* 310 - 784 */
106 0x786eff00, 0x00000000, /* 318 - 792 */
107 0x786fff00, 0x00000000, /* 320 - 800 */
108 0x786a0000, 0x00000000, /* 328 - 808 */
109 0xe15c0004, 0x00000000, /* 330 - 816 */
110 0x7a5c0100, 0x00000000, /* 338 - 824 */
111 0xe25c0004, 0x00000000, /* 340 - 832 */
112 0x741a4000, 0x00000000, /* 348 - 840 */
113 0x72640000, 0x00000000, /* 350 - 848 */
114 0x6a100000, 0x00000000, /* 358 - 856 */
115 0x72650000, 0x00000000, /* 360 - 864 */
116 0x6a110000, 0x00000000, /* 368 - 872 */
117 0x72660000, 0x00000000, /* 370 - 880 */
118 0x6a120000, 0x00000000, /* 378 - 888 */
119 0x72670000, 0x00000000, /* 380 - 896 */
120 0x6a130000, 0x00000000, /* 388 - 904 */
121 0xf1100004, 0x00000000, /* 390 - 912 */
122 0x74100100, 0x00000000, /* 398 - 920 */
123 0x80840000, 0xfffffc58, /* 3a0 - 928 */
124 0x74100200, 0x00000000, /* 3a8 - 936 */
125 0x80840000, 0x00000018, /* 3b0 - 944 */
126 0xf1600004, 0x00000000, /* 3b8 - 952 */
127 0x47000028, 0xfffffc60, /* 3c0 - 960 */
128 0x9e030000, 0x0000ffff, /* 3c8 - 968 */
129 0x72640000, 0x00000000, /* 3d0 - 976 */
130 0x6a100000, 0x00000000, /* 3d8 - 984 */
131 0x72650000, 0x00000000, /* 3e0 - 992 */
132 0x6a110000, 0x00000000, /* 3e8 - 1000 */
133 0x72660000, 0x00000000, /* 3f0 - 1008 */
134 0x6a120000, 0x00000000, /* 3f8 - 1016 */
135 0x72670000, 0x00000000, /* 400 - 1024 */
136 0x6a130000, 0x00000000, /* 408 - 1032 */
137 0x7e680100, 0x00000000, /* 410 - 1040 */
138 0x7e640400, 0x00000000, /* 418 - 1048 */
139 0x7f650000, 0x00000000, /* 420 - 1056 */
140 0x7f660000, 0x00000000, /* 428 - 1064 */
141 0x7f670000, 0x00000000, /* 430 - 1072 */
142 0x72680000, 0x00000000, /* 438 - 1080 */
143 0x80840000, 0x00000028, /* 440 - 1088 */
144 0x7864ff00, 0x00000000, /* 448 - 1096 */
145 0x7865ff00, 0x00000000, /* 450 - 1104 */
146 0x7866ff00, 0x00000000, /* 458 - 1112 */
147 0x7867ff00, 0x00000000, /* 460 - 1120 */
148 0x78680000, 0x00000000, /* 468 - 1128 */
149 0xf15c0004, 0x00000000, /* 470 - 1136 */
150 0x7a5c0100, 0x00000000, /* 478 - 1144 */
151 0xf25c0004, 0x00000000, /* 480 - 1152 */
152 0x745c0200, 0x00000000, /* 488 - 1160 */
153 0x80840000, 0xfffffeb8, /* 490 - 1168 */
154 0x7c5cfc00, 0x00000000, /* 498 - 1176 */
155 0x88880000, 0x00000200, /* 4a0 - 1184 */
156 0xe15c0004, 0x00000000, /* 4a8 - 1192 */
157 0x7a5c0200, 0x00000000, /* 4b0 - 1200 */
158 0xe25c0004, 0x00000000, /* 4b8 - 1208 */
159 0x80000000, 0x00000000, /* 4c0 - 1216 */
160 0x78350000, 0x00000000, /* 4c8 - 1224 */
161 0x7869ff00, 0x00000000, /* 4d0 - 1232 */
162 0x58000008, 0x00000000, /* 4d8 - 1240 */
163 0x60000040, 0x00000000, /* 4e0 - 1248 */
164 0x1e000048, 0x00000048, /* 4e8 - 1256 */
165 0x60000008, 0x00000000, /* 4f0 - 1264 */
166 0x80880000, 0xfffffd08, /* 4f8 - 1272 */
167 0x60000040, 0x00000000, /* 500 - 1280 */
168 0x7a601000, 0x00000000, /* 508 - 1288 */
169 0x60000008, 0x00000000, /* 510 - 1296 */
170 0x1f000030, 0x00000030, /* 518 - 1304 */
171 0x808c0000, 0xfffffd18, /* 520 - 1312 */
172 0x808c0002, 0xffffffd0, /* 528 - 1320 */
173 0x808c0001, 0x000001e0, /* 530 - 1328 */
174 0x98040004, 0x0000ff01, /* 538 - 1336 */
175 0x88880000, 0x000001a8, /* 540 - 1344 */
176 0x74601000, 0x00000000, /* 548 - 1352 */
177 0x98040000, 0x0000ff04, /* 550 - 1360 */
178 0x72350000, 0x00000000, /* 558 - 1368 */
179 0x808c0000, 0xfffffde8, /* 560 - 1376 */
180 0xf2340004, 0x00000000, /* 568 - 1384 */
181 0x80880000, 0xfffffdd8, /* 570 - 1392 */
182 0x1a000050, 0x00000050, /* 578 - 1400 */
183 0x80880000, 0xfffffc80, /* 580 - 1408 */
184 0x1b000058, 0x00000058, /* 588 - 1416 */
185 0x6a690000, 0x00000000, /* 590 - 1424 */
186 0x80880000, 0xfffffc68, /* 598 - 1432 */
187 0x88880000, 0x000000b8, /* 5a0 - 1440 */
188 0x7a600800, 0x00000000, /* 5a8 - 1448 */
189 0x19000060, 0x00000060, /* 5b0 - 1456 */
190 0x7e350100, 0x00000000, /* 5b8 - 1464 */
191 0x7e100800, 0x00000000, /* 5c0 - 1472 */
192 0x7f110000, 0x00000000, /* 5c8 - 1480 */
193 0x7f120000, 0x00000000, /* 5d0 - 1488 */
194 0x7f130000, 0x00000000, /* 5d8 - 1496 */
195 0x818b0000, 0xffffffc8, /* 5e0 - 1504 */
196 0x88880000, 0x000000b8, /* 5e8 - 1512 */
197 0x7c60f700, 0x00000000, /* 5f0 - 1520 */
198 0x80880000, 0xfffffc08, /* 5f8 - 1528 */
199 0x88880000, 0x00000058, /* 600 - 1536 */
200 0x7a600800, 0x00000000, /* 608 - 1544 */
201 0x18000060, 0x00000060, /* 610 - 1552 */
202 0x7e350100, 0x00000000, /* 618 - 1560 */
203 0x7e100800, 0x00000000, /* 620 - 1568 */
204 0x7f110000, 0x00000000, /* 628 - 1576 */
205 0x7f120000, 0x00000000, /* 630 - 1584 */
206 0x7f130000, 0x00000000, /* 638 - 1592 */
207 0x808b0000, 0xffffffc8, /* 640 - 1600 */
208 0x88880000, 0x00000058, /* 648 - 1608 */
209 0x7c60f700, 0x00000000, /* 650 - 1616 */
210 0x80880000, 0xfffffba8, /* 658 - 1624 */
211 0x72100000, 0x00000000, /* 660 - 1632 */
212 0x6a5c0000, 0x00000000, /* 668 - 1640 */
213 0x72110000, 0x00000000, /* 670 - 1648 */
214 0x6a5d0000, 0x00000000, /* 678 - 1656 */
215 0x72120000, 0x00000000, /* 680 - 1664 */
216 0x6a5e0000, 0x00000000, /* 688 - 1672 */
217 0x72130000, 0x00000000, /* 690 - 1680 */
218 0x6a5f0000, 0x00000000, /* 698 - 1688 */
219 0x90080000, 0x00000000, /* 6a0 - 1696 */
220 0x725c0000, 0x00000000, /* 6a8 - 1704 */
221 0x6a100000, 0x00000000, /* 6b0 - 1712 */
222 0x725d0000, 0x00000000, /* 6b8 - 1720 */
223 0x6a110000, 0x00000000, /* 6c0 - 1728 */
224 0x725e0000, 0x00000000, /* 6c8 - 1736 */
225 0x6a120000, 0x00000000, /* 6d0 - 1744 */
226 0x725f0000, 0x00000000, /* 6d8 - 1752 */
227 0x6a130000, 0x00000000, /* 6e0 - 1760 */
228 0x90080000, 0x00000000, /* 6e8 - 1768 */
229 0x7c027f00, 0x00000000, /* 6f0 - 1776 */
230 0x60000008, 0x00000000, /* 6f8 - 1784 */
231 0x60000040, 0x00000000, /* 700 - 1792 */
232 0x48000000, 0x00000000, /* 708 - 1800 */
233 0x90080000, 0x00000000, /* 710 - 1808 */
234 0x60000040, 0x00000000, /* 718 - 1816 */
235 0x1f000038, 0x00000038, /* 720 - 1824 */
236 0x98080000, 0x0000ff02, /* 728 - 1832 */
237 0x60000040, 0x00000000, /* 730 - 1840 */
238 0x1f000040, 0x00000040, /* 738 - 1848 */
239 0x98080000, 0x0000ff03, /* 740 - 1856 */
242 const u_int32_t esiop_led_on[] = {
243 0x7c07fe00, 0x00000000, /* 000 - 0 */
246 const u_int32_t esiop_led_off[] = {
247 0x7a070100, 0x00000000, /* 000 - 0 */
250 #define A_t_id 0x00000028
251 #define A_t_msg_in 0x00000030
252 #define A_t_ext_msg_in 0x00000038
253 #define A_t_ext_msg_data 0x00000040
254 #define A_t_msg_out 0x00000048
255 #define A_t_cmd 0x00000050
256 #define A_t_status 0x00000058
257 #define A_t_data 0x00000060
258 #define A_target_id 0x00000000
259 #define A_target_luntbl 0x00000008
260 #define A_target_luntbl_tag 0x0000000c
261 #define A_int_done 0x0000ff00
262 #define A_int_msgin 0x0000ff01
263 #define A_int_extmsgin 0x0000ff02
264 #define A_int_extmsgdata 0x0000ff03
265 #define A_int_disc 0x0000ff04
266 #define A_int_resfail 0x0000ff80
267 #define A_int_err 0x0000ffff
268 #define A_f_c_target 0x00000001
269 #define A_f_c_lun 0x00000002
270 #define A_f_c_tag 0x00000004
271 #define A_f_c_data 0x00000008
272 #define A_f_c_data_mask 0x000000f7
273 #define A_f_c_sdp 0x00000010
274 #define A_ncmd_slots 0x00000100
275 #define A_ncmd_slots_last 0x00000000
276 #define A_f_cmd_free 0x00000001
277 #define A_f_cmd_ignore 0x00000002
278 #define A_o_cmd_dsa 0x00000000
279 #define A_cmd_slot_size 0x00000004
280 #define A_ndone_slots 0x00000100
281 #define A_ndone_slots_last 0x00000000
282 #define Ent_cmdr0 0x00000448
283 #define Ent_cmdr1 0x00000450
284 #define Ent_cmdr2 0x00000458
285 #define Ent_cmdr3 0x00000460
286 #define Ent_doner0 0x00000308
287 #define Ent_doner1 0x00000310
288 #define Ent_doner2 0x00000318
289 #define Ent_doner3 0x00000320
290 #define Ent_reselect 0x00000028
291 #define Ent_led_on1 0x000004c0
292 #define Ent_led_on2 0x00000050
293 #define Ent_led_off 0x00000040
294 #define Ent_status 0x00000588
295 #define Ent_msgin 0x00000510
296 #define Ent_msgin_ack 0x00000200
297 #define Ent_get_extmsgdata 0x00000730
298 #define Ent_send_msgout 0x000004d8
299 #define Ent_script_sched 0x00000350
300 #define Ent_load_targtable 0x000000a0
301 #define E_tlq_offset 0x00000000
302 u_int32_t E_tlq_offset_Used[] = {
306 #define E_saved_offset_offset 0x00000000
307 u_int32_t E_saved_offset_offset_Used[] = {
312 #define E_abs_msgin2 0x00000000
313 u_int32_t E_abs_msgin2_Used[] = {
319 #define E_abs_sem 0x00000000
320 u_int32_t E_abs_sem_Used[] = {
329 #define A_sem_done 0x00000001
330 #define A_sem_start 0x00000002