diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2001-02-15 04:08:00 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2001-02-15 04:08:00 +0000 |
commit | c8b00c03932cfab5b77c51e6c4ff391005c70c9f (patch) | |
tree | cb1c31da4698f05d544e931f937a1e04b08cfefc /sys/dev/microcode/siop/siop.out | |
parent | 2b570e5d0d483fb51056d7dc3c9677f761dbf802 (diff) |
Import siop, a replacement for the ncr SCSI driver, from NetBSD.
Written for NetBSD by Manuel Bouyer.
Tested with various cards on i386 and alpha.
Outstanding issue: doesn't work with PowerPC yet.
Diffstat (limited to 'sys/dev/microcode/siop/siop.out')
-rw-r--r-- | sys/dev/microcode/siop/siop.out | 407 |
1 files changed, 407 insertions, 0 deletions
diff --git a/sys/dev/microcode/siop/siop.out b/sys/dev/microcode/siop/siop.out new file mode 100644 index 00000000000..04f97fd382d --- /dev/null +++ b/sys/dev/microcode/siop/siop.out @@ -0,0 +1,407 @@ +/* $OpenBSD: siop.out,v 1.1 2001/02/15 04:07:59 krw Exp $ */ +/* $NetBSD: siop.out,v 1.11 2000/10/23 14:54:50 bouyer Exp $ */ +/* + * DO NOT EDIT - this file is automatically generated. + * created from siop.ss on Mon Oct 23 16:54:27 2000 + */ +const u_int32_t siop_script[] = { + 0x78340000, 0x00000000, /* 000 - 0 */ + 0x78350000, 0x00000000, /* 008 - 8 */ + 0x72370000, 0x00000000, /* 010 - 16 */ + 0x80840020, 0x00000300, /* 018 - 24 */ + 0x868b0000, 0x00000368, /* 020 - 32 */ + 0x878b0000, 0x000002e0, /* 028 - 40 */ + 0x808b0000, 0x000003f0, /* 030 - 48 */ + 0x818b0000, 0x00000388, /* 038 - 56 */ + 0x828b0000, 0x00000360, /* 040 - 64 */ + 0x838b0000, 0x00000368, /* 048 - 72 */ + 0x98080000, 0x0000ffff, /* 050 - 80 */ + 0x741a4000, 0x00000000, /* 058 - 88 */ + 0x980c0000, 0x0000ff83, /* 060 - 96 */ + 0x7810ff00, 0x00000000, /* 068 - 104 */ + 0x7811ff00, 0x00000000, /* 070 - 112 */ + 0x7812ff00, 0x00000000, /* 078 - 120 */ + 0x7813ff00, 0x00000000, /* 080 - 128 */ + 0x78340000, 0x00000000, /* 088 - 136 */ + 0x78350000, 0x00000000, /* 090 - 144 */ + 0x80000000, 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 */ + 0x7810ff00, 0x00000000, /* 1d8 - 472 */ + 0x7811ff00, 0x00000000, /* 1e0 - 480 */ + 0x7812ff00, 0x00000000, /* 1e8 - 488 */ + 0x7813ff00, 0x00000000, /* 1f0 - 496 */ + 0x78360000, 0x00000000, /* 1f8 - 504 */ + 0x78372000, 0x00000000, /* 200 - 512 */ + 0x54000000, 0xfffffe48, /* 208 - 520 */ + 0x740a8f00, 0x00000000, /* 210 - 528 */ + 0x6a340000, 0x00000000, /* 218 - 536 */ + 0x800c00ff, 0x00000000, /* 220 - 544 */ + 0x800c00ff, 0x00000000, /* 228 - 552 */ + 0x800c00ff, 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 */ + 0x98080000, 0x0000ff80, /* 298 - 664 */ + 0x0f000001, 0x00000000, /* 2a0 - 672 */ + 0x6c350700, 0x00000000, /* 2a8 - 680 */ + 0x60000040, 0x00000000, /* 2b0 - 688 */ + 0x97030000, 0x00000000, /* 2b8 - 696 */ + 0x0f000001, 0x00000000, /* 2c0 - 704 */ + 0x60000040, 0x00000000, /* 2c8 - 712 */ + 0x6a370000, 0x00000000, /* 2d0 - 720 */ + 0x90040020, 0x00000000, /* 2d8 - 728 */ + 0x0f000001, 0x00000000, /* 2e0 - 736 */ + 0x60000040, 0x00000000, /* 2e8 - 744 */ + 0x6a360000, 0x00000000, /* 2f0 - 752 */ + 0x90080000, 0x00000000, /* 2f8 - 760 */ + 0x60000040, 0x00000000, /* 300 - 768 */ + 0x7a340100, 0x00000000, /* 308 - 776 */ + 0x60000008, 0x00000000, /* 310 - 784 */ + 0x1f000020, 0x00000020, /* 318 - 792 */ + 0x808c0000, 0x00000218, /* 320 - 800 */ + 0x808c0002, 0xffffffd0, /* 328 - 808 */ + 0x808c0001, 0x00000218, /* 330 - 816 */ + 0x98040004, 0x0000ff01, /* 338 - 824 */ + 0x88880000, 0x000001d0, /* 340 - 832 */ + 0x74340100, 0x00000000, /* 348 - 840 */ + 0x808c0000, 0xfffffd10, /* 350 - 848 */ + 0x72350000, 0x00000000, /* 358 - 856 */ + 0x808c0000, 0xfffffd00, /* 360 - 864 */ + 0x98080000, 0x0000ff04, /* 368 - 872 */ + 0x60000040, 0x00000000, /* 370 - 880 */ + 0x80880000, 0xfffffca0, /* 378 - 888 */ + 0x58000008, 0x00000000, /* 380 - 896 */ + 0x60000040, 0x00000000, /* 388 - 904 */ + 0x1e000038, 0x00000038, /* 390 - 912 */ + 0x60000008, 0x00000000, /* 398 - 920 */ + 0x80880000, 0xfffffc78, /* 3a0 - 928 */ + 0x1a000040, 0x00000040, /* 3a8 - 936 */ + 0x80880000, 0xfffffc68, /* 3b0 - 944 */ + 0x1b000048, 0x00000048, /* 3b8 - 952 */ + 0x80880000, 0xfffffc58, /* 3c0 - 960 */ + 0x88880000, 0x000000b8, /* 3c8 - 968 */ + 0x7a340200, 0x00000000, /* 3d0 - 976 */ + 0x19000050, 0x00000050, /* 3d8 - 984 */ + 0x7e350100, 0x00000000, /* 3e0 - 992 */ + 0x7e100800, 0x00000000, /* 3e8 - 1000 */ + 0x7f110000, 0x00000000, /* 3f0 - 1008 */ + 0x7f120000, 0x00000000, /* 3f8 - 1016 */ + 0x7f130000, 0x00000000, /* 400 - 1024 */ + 0x818b0000, 0xffffffc8, /* 408 - 1032 */ + 0x88880000, 0x000000b8, /* 410 - 1040 */ + 0x7c34fd00, 0x00000000, /* 418 - 1048 */ + 0x80880000, 0xfffffbf8, /* 420 - 1056 */ + 0x88880000, 0x00000058, /* 428 - 1064 */ + 0x7a340200, 0x00000000, /* 430 - 1072 */ + 0x18000050, 0x00000050, /* 438 - 1080 */ + 0x7e350100, 0x00000000, /* 440 - 1088 */ + 0x7e100800, 0x00000000, /* 448 - 1096 */ + 0x7f110000, 0x00000000, /* 450 - 1104 */ + 0x7f120000, 0x00000000, /* 458 - 1112 */ + 0x7f130000, 0x00000000, /* 460 - 1120 */ + 0x808b0000, 0xffffffc8, /* 468 - 1128 */ + 0x88880000, 0x00000058, /* 470 - 1136 */ + 0x7c34fd00, 0x00000000, /* 478 - 1144 */ + 0x80880000, 0xfffffb98, /* 480 - 1152 */ + 0x72100000, 0x00000000, /* 488 - 1160 */ + 0x6a5c0000, 0x00000000, /* 490 - 1168 */ + 0x72110000, 0x00000000, /* 498 - 1176 */ + 0x6a5d0000, 0x00000000, /* 4a0 - 1184 */ + 0x72120000, 0x00000000, /* 4a8 - 1192 */ + 0x6a5e0000, 0x00000000, /* 4b0 - 1200 */ + 0x72130000, 0x00000000, /* 4b8 - 1208 */ + 0x6a5f0000, 0x00000000, /* 4c0 - 1216 */ + 0x90080000, 0x00000000, /* 4c8 - 1224 */ + 0x725c0000, 0x00000000, /* 4d0 - 1232 */ + 0x6a100000, 0x00000000, /* 4d8 - 1240 */ + 0x725d0000, 0x00000000, /* 4e0 - 1248 */ + 0x6a110000, 0x00000000, /* 4e8 - 1256 */ + 0x725e0000, 0x00000000, /* 4f0 - 1264 */ + 0x6a120000, 0x00000000, /* 4f8 - 1272 */ + 0x725f0000, 0x00000000, /* 500 - 1280 */ + 0x6a130000, 0x00000000, /* 508 - 1288 */ + 0x90080000, 0x00000000, /* 510 - 1296 */ + 0x7c027f00, 0x00000000, /* 518 - 1304 */ + 0x60000008, 0x00000000, /* 520 - 1312 */ + 0x60000040, 0x00000000, /* 528 - 1320 */ + 0x48000000, 0x00000000, /* 530 - 1328 */ + 0x90080000, 0x00000000, /* 538 - 1336 */ + 0x88880000, 0xffffffd0, /* 540 - 1344 */ + 0x98080000, 0x0000ff00, /* 548 - 1352 */ + 0x60000040, 0x00000000, /* 550 - 1360 */ + 0x1f000028, 0x00000028, /* 558 - 1368 */ + 0x98080000, 0x0000ff02, /* 560 - 1376 */ + 0x60000040, 0x00000000, /* 568 - 1384 */ + 0x1f000030, 0x00000030, /* 570 - 1392 */ + 0x98080000, 0x0000ff03, /* 578 - 1400 */ + 0x10000000, 0x00000000, /* 580 - 1408 */ +}; + +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 */ + 0x43000018, 0x00000000, /* 040 - 64 */ + 0xc0000004, 0x00000000, 0x00000000, /* 048 - 72 */ + 0x80080000, 0x00000000, /* 054 - 84 */ + 0x10000000, 0x00000000, /* 05c - 92 */ +}; + +#define A_t_id 0x00000018 +#define A_t_msg_in 0x00000020 +#define A_t_ext_msg_in 0x00000028 +#define A_t_ext_msg_data 0x00000030 +#define A_t_msg_out 0x00000038 +#define A_t_cmd 0x00000040 +#define A_t_status 0x00000048 +#define A_t_data 0x00000050 +#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_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 0x00000380 +#define Ent_msgout 0x00000390 +#define Ent_msgin 0x00000310 +#define Ent_handle_msgin 0x00000320 +#define Ent_msgin_ack 0x00000370 +#define Ent_dataout 0x00000428 +#define Ent_datain 0x000003c8 +#define Ent_cmdout 0x000003a8 +#define Ent_status 0x000003b8 +#define Ent_disconnect 0x00000518 +#define Ent_reselect 0x000001d8 +#define Ent_reselected 0x00000000 +#define Ent_selected 0x00000370 +#define Ent_script_sched 0x00000068 +#define Ent_script_sched_slot0 0x00000098 +#define Ent_get_extmsgdata 0x00000568 +#define Ent_resel_targ0 0x00000220 +#define Ent_msgin_space 0x00000580 +#define Ent_lunsw_return 0x000002a0 +#define E_abs_script_sched_slot0 0x00000000 +u_int32_t E_abs_script_sched_slot0_Used[] = { + 0x00000027, + 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, +}; + +#define E_abs_targ0 0x00000000 +u_int32_t E_abs_targ0_Used[] = { + 0x00000089, + 0x0000008b, + 0x0000008d, + 0x0000008f, + 0x00000091, + 0x00000093, + 0x00000095, + 0x00000097, + 0x00000099, + 0x0000009b, + 0x0000009d, + 0x0000009f, + 0x000000a1, + 0x000000a3, + 0x000000a5, +}; + +#define E_abs_msgin 0x00000000 +u_int32_t E_abs_msgin_Used[] = { + 0x000000a9, + 0x000000b1, + 0x000000b9, +}; + +#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, +}; + + +u_int32_t INSTRUCTIONS = 0x000000d5; +u_int32_t PATCHES = 0x00000000; |