Home | History | Annotate | Line # | Download | only in siop
siop.out revision 1.13
      1 /*	$NetBSD: siop.out,v 1.13 2002/04/18 11:59:41 bouyer Exp $	*/
      2 /*
      3  *	DO NOT EDIT - this file is automatically generated.
      4  *	created from siop.ss on Thu Apr 18 13:56:23 2002
      5  */
      6 const u_int32_t siop_script[] = {
      7 	0x78340000, 0x00000000,			/* 000 -   0 */
      8 	0x78350000, 0x00000000,			/* 008 -   8 */
      9 	0x72370000, 0x00000000,			/* 010 -  16 */
     10 	0x80840020, 0x00000318,			/* 018 -  24 */
     11 	0x868b0000, 0x00000380,			/* 020 -  32 */
     12 	0x878b0000, 0x000002f8,			/* 028 -  40 */
     13 	0x808b0000, 0x00000408,			/* 030 -  48 */
     14 	0x818b0000, 0x000003a0,			/* 038 -  56 */
     15 	0x828b0000, 0x00000378,			/* 040 -  64 */
     16 	0x838b0000, 0x00000380,			/* 048 -  72 */
     17 	0x98080000, 0x0000ffff,			/* 050 -  80 */
     18 	0x741a4000, 0x00000000,			/* 058 -  88 */
     19 	0x980c0000, 0x0000ff83,			/* 060 -  96 */
     20 	0x80000000, 0x00000000,			/* 068 - 104 */
     21 	0x7810ff00, 0x00000000,			/* 070 - 112 */
     22 	0x7811ff00, 0x00000000,			/* 078 - 120 */
     23 	0x7812ff00, 0x00000000,			/* 080 - 128 */
     24 	0x7813ff00, 0x00000000,			/* 088 - 136 */
     25 	0x78340000, 0x00000000,			/* 090 - 144 */
     26 	0x78350000, 0x00000000,			/* 098 - 152 */
     27 	0x80000000, 0x00000000,			/* 0a0 - 160 */
     28 	0x80000000, 0x00000000,			/* 0a8 - 168 */
     29 	0x80000000, 0x00000000,			/* 0b0 - 176 */
     30 	0x80000000, 0x00000000,			/* 0b8 - 184 */
     31 	0x80000000, 0x00000000,			/* 0c0 - 192 */
     32 	0x80000000, 0x00000000,			/* 0c8 - 200 */
     33 	0x80000000, 0x00000000,			/* 0d0 - 208 */
     34 	0x80000000, 0x00000000,			/* 0d8 - 216 */
     35 	0x80000000, 0x00000000,			/* 0e0 - 224 */
     36 	0x80000000, 0x00000000,			/* 0e8 - 232 */
     37 	0x80000000, 0x00000000,			/* 0f0 - 240 */
     38 	0x80000000, 0x00000000,			/* 0f8 - 248 */
     39 	0x80000000, 0x00000000,			/* 100 - 256 */
     40 	0x80000000, 0x00000000,			/* 108 - 264 */
     41 	0x80000000, 0x00000000,			/* 110 - 272 */
     42 	0x80000000, 0x00000000,			/* 118 - 280 */
     43 	0x80000000, 0x00000000,			/* 120 - 288 */
     44 	0x80000000, 0x00000000,			/* 128 - 296 */
     45 	0x80000000, 0x00000000,			/* 130 - 304 */
     46 	0x80000000, 0x00000000,			/* 138 - 312 */
     47 	0x80000000, 0x00000000,			/* 140 - 320 */
     48 	0x80000000, 0x00000000,			/* 148 - 328 */
     49 	0x80000000, 0x00000000,			/* 150 - 336 */
     50 	0x80000000, 0x00000000,			/* 158 - 344 */
     51 	0x80000000, 0x00000000,			/* 160 - 352 */
     52 	0x80000000, 0x00000000,			/* 168 - 360 */
     53 	0x80000000, 0x00000000,			/* 170 - 368 */
     54 	0x80000000, 0x00000000,			/* 178 - 376 */
     55 	0x80000000, 0x00000000,			/* 180 - 384 */
     56 	0x80000000, 0x00000000,			/* 188 - 392 */
     57 	0x80000000, 0x00000000,			/* 190 - 400 */
     58 	0x80000000, 0x00000000,			/* 198 - 408 */
     59 	0x80000000, 0x00000000,			/* 1a0 - 416 */
     60 	0x80000000, 0x00000000,			/* 1a8 - 424 */
     61 	0x80000000, 0x00000000,			/* 1b0 - 432 */
     62 	0x80000000, 0x00000000,			/* 1b8 - 440 */
     63 	0x80000000, 0x00000000,			/* 1c0 - 448 */
     64 	0x80000000, 0x00000000,			/* 1c8 - 456 */
     65 	0x80000000, 0x00000000,			/* 1d0 - 464 */
     66 	0x80000000, 0x00000000,			/* 1d8 - 472 */
     67 	0x7810ff00, 0x00000000,			/* 1e0 - 480 */
     68 	0x7811ff00, 0x00000000,			/* 1e8 - 488 */
     69 	0x7812ff00, 0x00000000,			/* 1f0 - 496 */
     70 	0x7813ff00, 0x00000000,			/* 1f8 - 504 */
     71 	0x78360000, 0x00000000,			/* 200 - 512 */
     72 	0x78372000, 0x00000000,			/* 208 - 520 */
     73 	0x80000000, 0x00000000,			/* 210 - 528 */
     74 	0x54000000, 0xfffffe38,			/* 218 - 536 */
     75 	0x80000000, 0x00000000,			/* 220 - 544 */
     76 	0x740a8f00, 0x00000000,			/* 228 - 552 */
     77 	0x6a340000, 0x00000000,			/* 230 - 560 */
     78 	0x800c00ff, 0x00000000,			/* 238 - 568 */
     79 	0x800c00ff, 0x00000000,			/* 240 - 576 */
     80 	0x800c00ff, 0x00000000,			/* 248 - 584 */
     81 	0x800c00ff, 0x00000000,			/* 250 - 592 */
     82 	0x800c00ff, 0x00000000,			/* 258 - 600 */
     83 	0x800c00ff, 0x00000000,			/* 260 - 608 */
     84 	0x800c00ff, 0x00000000,			/* 268 - 616 */
     85 	0x800c00ff, 0x00000000,			/* 270 - 624 */
     86 	0x800c00ff, 0x00000000,			/* 278 - 632 */
     87 	0x800c00ff, 0x00000000,			/* 280 - 640 */
     88 	0x800c00ff, 0x00000000,			/* 288 - 648 */
     89 	0x800c00ff, 0x00000000,			/* 290 - 656 */
     90 	0x800c00ff, 0x00000000,			/* 298 - 664 */
     91 	0x800c00ff, 0x00000000,			/* 2a0 - 672 */
     92 	0x800c00ff, 0x00000000,			/* 2a8 - 680 */
     93 	0x98080000, 0x0000ff80,			/* 2b0 - 688 */
     94 	0x0f000001, 0x00000000,			/* 2b8 - 696 */
     95 	0x6c350700, 0x00000000,			/* 2c0 - 704 */
     96 	0x60000040, 0x00000000,			/* 2c8 - 712 */
     97 	0x97030000, 0x00000000,			/* 2d0 - 720 */
     98 	0x0f000001, 0x00000000,			/* 2d8 - 728 */
     99 	0x60000040, 0x00000000,			/* 2e0 - 736 */
    100 	0x6a370000, 0x00000000,			/* 2e8 - 744 */
    101 	0x90040020, 0x00000000,			/* 2f0 - 752 */
    102 	0x0f000001, 0x00000000,			/* 2f8 - 760 */
    103 	0x60000040, 0x00000000,			/* 300 - 768 */
    104 	0x6a360000, 0x00000000,			/* 308 - 776 */
    105 	0x90080000, 0x00000000,			/* 310 - 784 */
    106 	0x60000040, 0x00000000,			/* 318 - 792 */
    107 	0x7a340100, 0x00000000,			/* 320 - 800 */
    108 	0x60000008, 0x00000000,			/* 328 - 808 */
    109 	0x1f000020, 0x00000020,			/* 330 - 816 */
    110 	0x808c0000, 0x00000218,			/* 338 - 824 */
    111 	0x808c0002, 0xffffffd0,			/* 340 - 832 */
    112 	0x808c0001, 0x00000218,			/* 348 - 840 */
    113 	0x98040004, 0x0000ff01,			/* 350 - 848 */
    114 	0x88880000, 0x000001d0,			/* 358 - 856 */
    115 	0x74340100, 0x00000000,			/* 360 - 864 */
    116 	0x808c0000, 0xfffffd00,			/* 368 - 872 */
    117 	0x72350000, 0x00000000,			/* 370 - 880 */
    118 	0x808c0000, 0xfffffcf0,			/* 378 - 888 */
    119 	0x98080000, 0x0000ff04,			/* 380 - 896 */
    120 	0x60000040, 0x00000000,			/* 388 - 904 */
    121 	0x80880000, 0xfffffc88,			/* 390 - 912 */
    122 	0x58000008, 0x00000000,			/* 398 - 920 */
    123 	0x60000040, 0x00000000,			/* 3a0 - 928 */
    124 	0x1e000038, 0x00000038,			/* 3a8 - 936 */
    125 	0x60000008, 0x00000000,			/* 3b0 - 944 */
    126 	0x80880000, 0xfffffc60,			/* 3b8 - 952 */
    127 	0x1a000040, 0x00000040,			/* 3c0 - 960 */
    128 	0x80880000, 0xfffffc50,			/* 3c8 - 968 */
    129 	0x1b000048, 0x00000048,			/* 3d0 - 976 */
    130 	0x80880000, 0xfffffc40,			/* 3d8 - 984 */
    131 	0x88880000, 0x000000b8,			/* 3e0 - 992 */
    132 	0x7a340200, 0x00000000,			/* 3e8 - 1000 */
    133 	0x19000050, 0x00000050,			/* 3f0 - 1008 */
    134 	0x7e350100, 0x00000000,			/* 3f8 - 1016 */
    135 	0x7e100800, 0x00000000,			/* 400 - 1024 */
    136 	0x7f110000, 0x00000000,			/* 408 - 1032 */
    137 	0x7f120000, 0x00000000,			/* 410 - 1040 */
    138 	0x7f130000, 0x00000000,			/* 418 - 1048 */
    139 	0x818b0000, 0xffffffc8,			/* 420 - 1056 */
    140 	0x88880000, 0x000000b8,			/* 428 - 1064 */
    141 	0x7c34fd00, 0x00000000,			/* 430 - 1072 */
    142 	0x80880000, 0xfffffbe0,			/* 438 - 1080 */
    143 	0x88880000, 0x00000058,			/* 440 - 1088 */
    144 	0x7a340200, 0x00000000,			/* 448 - 1096 */
    145 	0x18000050, 0x00000050,			/* 450 - 1104 */
    146 	0x7e350100, 0x00000000,			/* 458 - 1112 */
    147 	0x7e100800, 0x00000000,			/* 460 - 1120 */
    148 	0x7f110000, 0x00000000,			/* 468 - 1128 */
    149 	0x7f120000, 0x00000000,			/* 470 - 1136 */
    150 	0x7f130000, 0x00000000,			/* 478 - 1144 */
    151 	0x808b0000, 0xffffffc8,			/* 480 - 1152 */
    152 	0x88880000, 0x00000058,			/* 488 - 1160 */
    153 	0x7c34fd00, 0x00000000,			/* 490 - 1168 */
    154 	0x80880000, 0xfffffb80,			/* 498 - 1176 */
    155 	0x72100000, 0x00000000,			/* 4a0 - 1184 */
    156 	0x6a5c0000, 0x00000000,			/* 4a8 - 1192 */
    157 	0x72110000, 0x00000000,			/* 4b0 - 1200 */
    158 	0x6a5d0000, 0x00000000,			/* 4b8 - 1208 */
    159 	0x72120000, 0x00000000,			/* 4c0 - 1216 */
    160 	0x6a5e0000, 0x00000000,			/* 4c8 - 1224 */
    161 	0x72130000, 0x00000000,			/* 4d0 - 1232 */
    162 	0x6a5f0000, 0x00000000,			/* 4d8 - 1240 */
    163 	0x90080000, 0x00000000,			/* 4e0 - 1248 */
    164 	0x725c0000, 0x00000000,			/* 4e8 - 1256 */
    165 	0x6a100000, 0x00000000,			/* 4f0 - 1264 */
    166 	0x725d0000, 0x00000000,			/* 4f8 - 1272 */
    167 	0x6a110000, 0x00000000,			/* 500 - 1280 */
    168 	0x725e0000, 0x00000000,			/* 508 - 1288 */
    169 	0x6a120000, 0x00000000,			/* 510 - 1296 */
    170 	0x725f0000, 0x00000000,			/* 518 - 1304 */
    171 	0x6a130000, 0x00000000,			/* 520 - 1312 */
    172 	0x90080000, 0x00000000,			/* 528 - 1320 */
    173 	0x7c027f00, 0x00000000,			/* 530 - 1328 */
    174 	0x60000008, 0x00000000,			/* 538 - 1336 */
    175 	0x60000040, 0x00000000,			/* 540 - 1344 */
    176 	0x48000000, 0x00000000,			/* 548 - 1352 */
    177 	0x90080000, 0x00000000,			/* 550 - 1360 */
    178 	0x88880000, 0xffffffd0,			/* 558 - 1368 */
    179 	0x98080000, 0x0000ff00,			/* 560 - 1376 */
    180 	0x60000040, 0x00000000,			/* 568 - 1384 */
    181 	0x1f000028, 0x00000028,			/* 570 - 1392 */
    182 	0x98080000, 0x0000ff02,			/* 578 - 1400 */
    183 	0x60000040, 0x00000000,			/* 580 - 1408 */
    184 	0x1f000030, 0x00000030,			/* 588 - 1416 */
    185 	0x98080000, 0x0000ff03,			/* 590 - 1424 */
    186 	0x80000000, 0x00000000,			/* 598 - 1432 */
    187 };
    188 
    189 const u_int32_t lun_switch[] = {
    190 	0x7803ff00, 0x00000000,			/* 000 -   0 */
    191 	0x7805ff00, 0x00000000,			/* 008 -   8 */
    192 	0x80080000, 0x00000000,			/* 010 -  16 */
    193 	0x88880000, 0xffffffe0,			/* 018 -  24 */
    194 	0x72350000, 0x00000000,			/* 020 -  32 */
    195 	0x98080000, 0x0000ff81,			/* 028 -  40 */
    196 };
    197 
    198 const u_int32_t tag_switch[] = {
    199 	0x72360000, 0x00000000,			/* 000 -   0 */
    200 	0x800c0000, 0x00000000,			/* 008 -   8 */
    201 	0x800c0001, 0x00000000,			/* 010 -  16 */
    202 	0x800c0002, 0x00000000,			/* 018 -  24 */
    203 	0x800c0003, 0x00000000,			/* 020 -  32 */
    204 	0x800c0004, 0x00000000,			/* 028 -  40 */
    205 	0x800c0005, 0x00000000,			/* 030 -  48 */
    206 	0x800c0006, 0x00000000,			/* 038 -  56 */
    207 	0x800c0007, 0x00000000,			/* 040 -  64 */
    208 	0x800c0008, 0x00000000,			/* 048 -  72 */
    209 	0x800c0009, 0x00000000,			/* 050 -  80 */
    210 	0x800c000a, 0x00000000,			/* 058 -  88 */
    211 	0x800c000b, 0x00000000,			/* 060 -  96 */
    212 	0x800c000c, 0x00000000,			/* 068 - 104 */
    213 	0x800c000d, 0x00000000,			/* 070 - 112 */
    214 	0x800c000e, 0x00000000,			/* 078 - 120 */
    215 	0x800c000f, 0x00000000,			/* 080 - 128 */
    216 	0x98080000, 0x0000ff82,			/* 088 - 136 */
    217 };
    218 
    219 const u_int32_t load_dsa[] = {
    220 	0x7810f000, 0x00000000,			/* 000 -   0 */
    221 	0x7811f100, 0x00000000,			/* 008 -   8 */
    222 	0x7812f200, 0x00000000,			/* 010 -  16 */
    223 	0x7813f300, 0x00000000,			/* 018 -  24 */
    224 	0x90080000, 0x00000000,			/* 020 -  32 */
    225 	0x88880000, 0xffffffd0,			/* 028 -  40 */
    226 	0x80080000, 0x00000000,			/* 030 -  48 */
    227 	0x88880000, 0xffffffc0,			/* 038 -  56 */
    228 	0x43000018, 0x00000000,			/* 040 -  64 */
    229 	0xc0000004, 0x00000000, 0x00000000,	/* 048 -  72 */
    230 	0x80080000, 0x00000000,			/* 054 -  84 */
    231 	0x80000000, 0x00000000,			/* 05c -  92 */
    232 };
    233 
    234 const u_int32_t siop_led_on[] = {
    235 	0x7c07fe00, 0x00000000,			/* 000 -   0 */
    236 };
    237 
    238 const u_int32_t siop_led_off[] = {
    239 	0x7a070100, 0x00000000,			/* 000 -   0 */
    240 };
    241 
    242 #define	A_t_id	0x00000018
    243 #define	A_t_msg_in	0x00000020
    244 #define	A_t_ext_msg_in	0x00000028
    245 #define	A_t_ext_msg_data	0x00000030
    246 #define	A_t_msg_out	0x00000038
    247 #define	A_t_cmd	0x00000040
    248 #define	A_t_status	0x00000048
    249 #define	A_t_data	0x00000050
    250 #define	A_int_done	0x0000ff00
    251 #define	A_int_msgin	0x0000ff01
    252 #define	A_int_extmsgin	0x0000ff02
    253 #define	A_int_extmsgdata	0x0000ff03
    254 #define	A_int_disc	0x0000ff04
    255 #define	A_int_reseltarg	0x0000ff80
    256 #define	A_int_resellun	0x0000ff81
    257 #define	A_int_reseltag	0x0000ff82
    258 #define	A_int_resfail	0x0000ff83
    259 #define	A_int_err	0x0000ffff
    260 #define	A_flag_sdp	0x00000001
    261 #define	A_flag_data	0x00000002
    262 #define	A_flag_data_mask	0x000000fd
    263 #define	Ent_waitphase	0x00000020
    264 #define	Ent_send_msgout	0x00000398
    265 #define	Ent_msgout	0x000003a8
    266 #define	Ent_msgin	0x00000328
    267 #define	Ent_handle_msgin	0x00000338
    268 #define	Ent_msgin_ack	0x00000388
    269 #define	Ent_dataout	0x00000440
    270 #define	Ent_datain	0x000003e0
    271 #define	Ent_cmdout	0x000003c0
    272 #define	Ent_status	0x000003d0
    273 #define	Ent_disconnect	0x00000530
    274 #define	Ent_reselect	0x000001e0
    275 #define	Ent_reselected	0x00000000
    276 #define	Ent_selected	0x00000388
    277 #define	Ent_script_sched	0x00000070
    278 #define	Ent_script_sched_slot0	0x000000a0
    279 #define	Ent_get_extmsgdata	0x00000580
    280 #define	Ent_resel_targ0	0x00000238
    281 #define	Ent_msgin_space	0x00000598
    282 #define	Ent_lunsw_return	0x000002b8
    283 #define	Ent_led_on1	0x00000068
    284 #define	Ent_led_on2	0x00000220
    285 #define	Ent_led_off	0x00000210
    286 #define	E_abs_script_sched_slot0	0x00000000
    287 u_int32_t E_abs_script_sched_slot0_Used[] = {
    288 	0x00000029,
    289 	0x0000002b,
    290 	0x0000002d,
    291 	0x0000002f,
    292 	0x00000031,
    293 	0x00000033,
    294 	0x00000035,
    295 	0x00000037,
    296 	0x00000039,
    297 	0x0000003b,
    298 	0x0000003d,
    299 	0x0000003f,
    300 	0x00000041,
    301 	0x00000043,
    302 	0x00000045,
    303 	0x00000047,
    304 	0x00000049,
    305 	0x0000004b,
    306 	0x0000004d,
    307 	0x0000004f,
    308 	0x00000051,
    309 	0x00000053,
    310 	0x00000055,
    311 	0x00000057,
    312 	0x00000059,
    313 	0x0000005b,
    314 	0x0000005d,
    315 	0x0000005f,
    316 	0x00000061,
    317 	0x00000063,
    318 	0x00000065,
    319 	0x00000067,
    320 	0x00000069,
    321 	0x0000006b,
    322 	0x0000006d,
    323 	0x0000006f,
    324 	0x00000071,
    325 	0x00000073,
    326 	0x00000075,
    327 	0x00000077,
    328 };
    329 
    330 #define	E_abs_targ0	0x00000000
    331 u_int32_t E_abs_targ0_Used[] = {
    332 	0x0000008f,
    333 	0x00000091,
    334 	0x00000093,
    335 	0x00000095,
    336 	0x00000097,
    337 	0x00000099,
    338 	0x0000009b,
    339 	0x0000009d,
    340 	0x0000009f,
    341 	0x000000a1,
    342 	0x000000a3,
    343 	0x000000a5,
    344 	0x000000a7,
    345 	0x000000a9,
    346 	0x000000ab,
    347 };
    348 
    349 #define	E_abs_msgin	0x00000000
    350 u_int32_t E_abs_msgin_Used[] = {
    351 	0x000000af,
    352 	0x000000b7,
    353 	0x000000bf,
    354 };
    355 
    356 #define	Ent_lun_switch_entry	0x00000018
    357 #define	Ent_resel_lun0	0x00000028
    358 #define	Ent_restore_scntl3	0x00000000
    359 #define	E_abs_lunsw_return	0x00000000
    360 u_int32_t E_abs_lunsw_return_Used[] = {
    361 	0x00000005,
    362 };
    363 
    364 #define	Ent_tag_switch_entry	0x00000000
    365 #define	Ent_resel_tag0	0x00000008
    366 #define	E_abs_tag0	0x00000000
    367 u_int32_t E_abs_tag0_Used[] = {
    368 	0x00000003,
    369 	0x00000005,
    370 	0x00000007,
    371 	0x00000009,
    372 	0x0000000b,
    373 	0x0000000d,
    374 	0x0000000f,
    375 	0x00000011,
    376 	0x00000013,
    377 	0x00000015,
    378 	0x00000017,
    379 	0x00000019,
    380 	0x0000001b,
    381 	0x0000001d,
    382 	0x0000001f,
    383 	0x00000021,
    384 };
    385 
    386 #define	Ent_rdsa0	0x00000000
    387 #define	Ent_rdsa1	0x00000008
    388 #define	Ent_rdsa2	0x00000010
    389 #define	Ent_rdsa3	0x00000018
    390 #define	Ent_ldsa_reload_dsa	0x00000028
    391 #define	Ent_ldsa_select	0x00000038
    392 #define	Ent_ldsa_data	0x0000005c
    393 #define	E_ldsa_abs_reselected	0x00000000
    394 u_int32_t E_ldsa_abs_reselected_Used[] = {
    395 	0x0000000d,
    396 };
    397 
    398 #define	E_ldsa_abs_reselect	0x00000000
    399 u_int32_t E_ldsa_abs_reselect_Used[] = {
    400 	0x00000011,
    401 };
    402 
    403 #define	E_ldsa_abs_selected	0x00000000
    404 u_int32_t E_ldsa_abs_selected_Used[] = {
    405 	0x00000016,
    406 };
    407 
    408 #define	E_ldsa_abs_data	0x00000000
    409 u_int32_t E_ldsa_abs_data_Used[] = {
    410 	0x00000013,
    411 };
    412 
    413 #define	E_ldsa_abs_slot	0x00000000
    414 u_int32_t E_ldsa_abs_slot_Used[] = {
    415 	0x00000014,
    416 };
    417 
    418