btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / add-ons / kernel / busses / scsi / 53c8xx / scripts.c
blobccd4b01609dc2e0c02d19fc8fdce178fbee04b45
1 /*
2 Copyright 1999, Be Incorporated. All Rights Reserved.
3 This file may be used under the terms of the Be Sample Code License.
4 */
6 typedef unsigned long ULONG;
8 ULONG SCRIPT[] = {
9 0x50000000L, 0x00000010L,
10 0x98080000L, 0x00000011L,
11 0x721A0000L, 0x00000000L,
12 0x98080000L, 0x00000010L,
13 0x43000000L, 0x00000040L,
14 0x860B0000L, 0x00000038L,
15 0x98080000L, 0x00000012L,
16 0x98080000L, 0x00000013L,
17 0x98080000L, 0x00000011L,
18 0x42000000L, 0x00000050L,
19 0x870B0000L, 0x00000088L,
20 0x860A0000L, 0x000001D8L,
21 0x820A0000L, 0x000001E8L,
22 0x810A0000L, 0x000001F8L,
23 0x800A0000L, 0x000001F8L,
24 0x830A0000L, 0x00000200L,
25 0x98080000L, 0x00000019L,
26 0x1F000000L, 0x00000010L,
27 0x800C0001L, 0x00000170L,
28 0x800C0004L, 0x00000238L,
29 0x800C0023L, 0x00000150L,
30 0x60000040L, 0x00000000L,
31 0x800C0002L, 0x00000050L,
32 0x800C0007L, 0x00000050L,
33 0x800C0003L, 0x00000050L,
34 0x800C0080L, 0x00000050L,
35 0x800C0081L, 0x00000050L,
36 0x800C0082L, 0x00000050L,
37 0x800C0083L, 0x00000050L,
38 0x800C0084L, 0x00000050L,
39 0x800C0085L, 0x00000050L,
40 0x800C0086L, 0x00000050L,
41 0x800C0087L, 0x00000050L,
42 0x800C00C0L, 0x00000050L,
43 0x800C00C1L, 0x00000050L,
44 0x800C00C2L, 0x00000050L,
45 0x800C00C3L, 0x00000050L,
46 0x800C00C4L, 0x00000050L,
47 0x800C00C5L, 0x00000050L,
48 0x800C00C6L, 0x00000050L,
49 0x800C00C7L, 0x00000050L,
50 0x98080000L, 0x0000001AL,
51 0x60000040L, 0x00000000L,
52 0x1F000000L, 0x00000018L,
53 0x60000040L, 0x00000000L,
54 0x80080000L, 0x00000050L,
55 0x60000040L, 0x00000000L,
56 0x1F000000L, 0x00000018L,
57 0x800C0003L, 0x000001B8L,
58 0x800C0002L, 0x00000198L,
59 0x98080000L, 0x0000001BL,
60 0x60000040L, 0x00000000L,
61 0x1F000000L, 0x00000038L,
62 0x60000040L, 0x00000000L,
63 0x98080000L, 0x0000001FL,
64 0x60000040L, 0x00000000L,
65 0x1F000000L, 0x00000020L,
66 0x60000040L, 0x00000000L,
67 0x98080000L, 0x0000001EL,
68 0x1E000000L, 0x00000008L,
69 0x80080000L, 0x00000050L,
70 0x1A000000L, 0x00000030L,
71 0x80080000L, 0x00000050L,
72 0x98080000L, 0x00000017L,
73 0x1B000000L, 0x00000028L,
74 0x9F030000L, 0x00000016L,
75 0x1F000000L, 0x00000010L,
76 0x7C027F00L, 0x00000000L,
77 0x60000040L, 0x00000000L,
78 0x48000000L, 0x00000000L,
79 0x98080000L, 0x00000014L,
80 0x7C027F00L, 0x00000000L,
81 0x60000040L, 0x00000000L,
82 0x48000000L, 0x00000000L,
83 0x98080000L, 0x00000015L,
84 0x98080000L, 0x0000001CL
88 #define Abs_Count 22
89 char *Absolute_Names[Abs_Count] = {
90 "ctxt_command",
91 "ctxt_extdmsg",
92 "ctxt_recvmsg",
93 "ctxt_sendmsg",
94 "ctxt_device",
95 "ctxt_status",
96 "ctxt_syncmsg",
97 "ctxt_widemsg",
98 "status_badextmsg",
99 "status_badmsg",
100 "status_badphase",
101 "status_badstatus",
102 "status_disconnect",
103 "status_complete",
104 "status_overrun",
105 "status_ready",
106 "status_reselected",
107 "status_selected",
108 "status_selftest",
109 "status_syncin",
110 "status_timeout",
111 "status_widein"
114 #define A_ctxt_device 0x00000000L
115 ULONG A_ctxt_device_Used[] = {
116 0x00000008L,
117 0x00000012L
120 #define A_ctxt_sendmsg 0x00000008L
121 ULONG A_ctxt_sendmsg_Used[] = {
122 0x00000077L
125 #define A_ctxt_recvmsg 0x00000010L
126 ULONG A_ctxt_recvmsg_Used[] = {
127 0x00000023L,
128 0x00000085L
131 #define A_status_ready 0x00000010L
132 ULONG A_status_ready_Used[] = {
133 0x00000007L
136 #define A_status_reselected 0x00000011L
137 ULONG A_status_reselected_Used[] = {
138 0x00000003L,
139 0x00000011L
142 #define A_status_timeout 0x00000012L
143 ULONG A_status_timeout_Used[] = {
144 0x0000000DL
147 #define A_status_selected 0x00000013L
148 ULONG A_status_selected_Used[] = {
149 0x0000000FL
152 #define A_status_complete 0x00000014L
153 ULONG A_status_complete_Used[] = {
154 0x0000008DL
157 #define A_status_disconnect 0x00000015L
158 ULONG A_status_disconnect_Used[] = {
159 0x00000095L
162 #define A_status_badstatus 0x00000016L
163 ULONG A_status_badstatus_Used[] = {
164 0x00000083L
167 #define A_status_overrun 0x00000017L
168 ULONG A_status_overrun_Used[] = {
169 0x0000007FL
172 #define A_ctxt_extdmsg 0x00000018L
173 ULONG A_ctxt_extdmsg_Used[] = {
174 0x00000057L,
175 0x0000005FL
178 #define A_status_badphase 0x00000019L
179 ULONG A_status_badphase_Used[] = {
180 0x00000021L
183 #define A_status_badmsg 0x0000001AL
184 ULONG A_status_badmsg_Used[] = {
185 0x00000053L
188 #define A_status_badextmsg 0x0000001BL
189 ULONG A_status_badextmsg_Used[] = {
190 0x00000065L
193 #define A_status_selftest 0x0000001CL
194 ULONG A_status_selftest_Used[] = {
195 0x00000097L
198 #define A_status_syncin 0x0000001EL
199 ULONG A_status_syncin_Used[] = {
200 0x00000075L
203 #define A_status_widein 0x0000001FL
204 ULONG A_status_widein_Used[] = {
205 0x0000006DL
208 #define A_ctxt_syncmsg 0x00000020L
209 ULONG A_ctxt_syncmsg_Used[] = {
210 0x00000071L
213 #define A_ctxt_status 0x00000028L
214 ULONG A_ctxt_status_Used[] = {
215 0x00000081L
218 #define A_ctxt_command 0x00000030L
219 ULONG A_ctxt_command_Used[] = {
220 0x0000007BL
223 #define A_ctxt_widemsg 0x00000038L
224 ULONG A_ctxt_widemsg_Used[] = {
225 0x00000069L
228 #define Ent_do_dataout 0x00000070L
229 #define Ent_do_datain 0x00000068L
230 #define Ent_idle 0x00000000L
231 #define Ent_phase_dataerr 0x000001F8L
232 #define Ent_start 0x00000020L
233 #define Ent_switch 0x00000050L
234 #define Ent_switch_resel 0x00000048L
235 #define Ent_test 0x00000258L
238 ULONG LABELPATCHES[] = {
239 0x00000001L,
240 0x00000009L,
241 0x0000000BL,
242 0x00000013L,
243 0x00000015L,
244 0x00000017L,
245 0x00000019L,
246 0x0000001BL,
247 0x0000001DL,
248 0x0000001FL,
249 0x00000025L,
250 0x00000027L,
251 0x00000029L,
252 0x0000002DL,
253 0x0000002FL,
254 0x00000031L,
255 0x00000033L,
256 0x00000035L,
257 0x00000037L,
258 0x00000039L,
259 0x0000003BL,
260 0x0000003DL,
261 0x0000003FL,
262 0x00000041L,
263 0x00000043L,
264 0x00000045L,
265 0x00000047L,
266 0x00000049L,
267 0x0000004BL,
268 0x0000004DL,
269 0x0000004FL,
270 0x00000051L,
271 0x0000005BL,
272 0x00000061L,
273 0x00000063L,
274 0x00000079L,
275 0x0000007DL
278 ULONG INSTRUCTIONS = 0x0000004CL;
279 ULONG PATCHES = 0x00000025L;