i2c-eg20t: change timeout value 50msec to 1000msec
[zen-stable.git] / drivers / scsi / aic7xxx_old / aic7xxx_seq.c
blobe1bc140e97350c792d3cb90d61369d9c59a04569
1 /*
2 * DO NOT EDIT - This file is automatically generated.
3 */
4 static unsigned char seqprog[] = {
5 0xff, 0x6a, 0x06, 0x08,
6 0x7f, 0x02, 0x04, 0x08,
7 0x12, 0x6a, 0x00, 0x00,
8 0xff, 0x6a, 0xd6, 0x09,
9 0xff, 0x6a, 0xdc, 0x09,
10 0x00, 0x65, 0xca, 0x58,
11 0xf7, 0x01, 0x02, 0x08,
12 0xff, 0x4e, 0xc8, 0x08,
13 0xbf, 0x60, 0xc0, 0x08,
14 0x60, 0x0b, 0x86, 0x68,
15 0x40, 0x00, 0x0c, 0x68,
16 0x08, 0x1f, 0x3e, 0x10,
17 0x60, 0x0b, 0x86, 0x68,
18 0x40, 0x00, 0x0c, 0x68,
19 0x08, 0x1f, 0x3e, 0x10,
20 0xff, 0x3e, 0x48, 0x60,
21 0x40, 0xfa, 0x10, 0x78,
22 0xff, 0xf6, 0xd4, 0x08,
23 0x01, 0x4e, 0x9c, 0x18,
24 0x40, 0x60, 0xc0, 0x00,
25 0x00, 0x4d, 0x10, 0x70,
26 0x01, 0x4e, 0x9c, 0x18,
27 0xbf, 0x60, 0xc0, 0x08,
28 0x00, 0x6a, 0x86, 0x5c,
29 0xff, 0x4e, 0xc8, 0x18,
30 0x02, 0x6a, 0x70, 0x5b,
31 0xff, 0x52, 0x20, 0x09,
32 0x0d, 0x6a, 0x6a, 0x00,
33 0x00, 0x52, 0xe6, 0x5b,
34 0x03, 0xb0, 0x52, 0x31,
35 0xff, 0xb0, 0x52, 0x09,
36 0xff, 0xb1, 0x54, 0x09,
37 0xff, 0xb2, 0x56, 0x09,
38 0xff, 0xa3, 0x50, 0x09,
39 0xff, 0x3e, 0x74, 0x09,
40 0xff, 0x90, 0x7c, 0x08,
41 0xff, 0x3e, 0x20, 0x09,
42 0x00, 0x65, 0x4e, 0x58,
43 0x00, 0x65, 0x0c, 0x40,
44 0xf7, 0x1f, 0xca, 0x08,
45 0x08, 0xa1, 0xc8, 0x08,
46 0x00, 0x65, 0xca, 0x00,
47 0xff, 0x65, 0x3e, 0x08,
48 0xf0, 0xa1, 0xc8, 0x08,
49 0x0f, 0x0f, 0x1e, 0x08,
50 0x00, 0x0f, 0x1e, 0x00,
51 0xf0, 0xa1, 0xc8, 0x08,
52 0x0f, 0x05, 0x0a, 0x08,
53 0x00, 0x05, 0x0a, 0x00,
54 0xff, 0x6a, 0x0c, 0x08,
55 0x5a, 0x6a, 0x00, 0x04,
56 0x12, 0x65, 0x02, 0x00,
57 0x31, 0x6a, 0xca, 0x00,
58 0x80, 0x37, 0x6e, 0x68,
59 0xff, 0x65, 0xca, 0x18,
60 0xff, 0x37, 0xdc, 0x08,
61 0xff, 0x6e, 0xc8, 0x08,
62 0x00, 0x6c, 0x76, 0x78,
63 0x20, 0x01, 0x02, 0x00,
64 0x4c, 0x37, 0xc8, 0x28,
65 0x08, 0x1f, 0x7e, 0x78,
66 0x08, 0x37, 0x6e, 0x00,
67 0x08, 0x64, 0xc8, 0x00,
68 0x70, 0x64, 0xca, 0x18,
69 0xff, 0x6c, 0x0a, 0x08,
70 0x20, 0x64, 0xca, 0x18,
71 0xff, 0x6c, 0x08, 0x0c,
72 0x40, 0x0b, 0x96, 0x68,
73 0x20, 0x6a, 0x16, 0x00,
74 0xf0, 0x19, 0x6e, 0x08,
75 0x08, 0x6a, 0x18, 0x00,
76 0x08, 0x11, 0x22, 0x00,
77 0x08, 0x6a, 0x66, 0x58,
78 0x08, 0x6a, 0x68, 0x00,
79 0x00, 0x65, 0xaa, 0x40,
80 0x12, 0x6a, 0x00, 0x00,
81 0x40, 0x6a, 0x16, 0x00,
82 0xff, 0x3e, 0x20, 0x09,
83 0xff, 0xba, 0x7c, 0x08,
84 0xff, 0xa1, 0x6e, 0x08,
85 0x08, 0x6a, 0x18, 0x00,
86 0x08, 0x11, 0x22, 0x00,
87 0x08, 0x6a, 0x66, 0x58,
88 0x80, 0x6a, 0x68, 0x00,
89 0x80, 0x36, 0x6c, 0x00,
90 0x00, 0x65, 0xba, 0x5b,
91 0xff, 0x3d, 0xc8, 0x08,
92 0xbf, 0x64, 0xe2, 0x78,
93 0x80, 0x64, 0xc8, 0x71,
94 0xa0, 0x64, 0xf8, 0x71,
95 0xc0, 0x64, 0xf0, 0x71,
96 0xe0, 0x64, 0x38, 0x72,
97 0x01, 0x6a, 0x22, 0x01,
98 0x00, 0x65, 0xaa, 0x40,
99 0xf7, 0x11, 0x22, 0x08,
100 0x00, 0x65, 0xca, 0x58,
101 0xff, 0x06, 0xd4, 0x08,
102 0xf7, 0x01, 0x02, 0x08,
103 0x09, 0x0c, 0xc4, 0x78,
104 0x08, 0x0c, 0x0c, 0x68,
105 0x01, 0x6a, 0x22, 0x01,
106 0xff, 0x6a, 0x26, 0x09,
107 0x02, 0x6a, 0x08, 0x30,
108 0xff, 0x6a, 0x08, 0x08,
109 0xdf, 0x01, 0x02, 0x08,
110 0x01, 0x6a, 0x7a, 0x00,
111 0xff, 0x6a, 0x6c, 0x0c,
112 0x04, 0x14, 0x10, 0x31,
113 0x03, 0xa9, 0x18, 0x31,
114 0x03, 0xa9, 0x10, 0x30,
115 0x08, 0x6a, 0xcc, 0x00,
116 0xa9, 0x6a, 0xd0, 0x5b,
117 0x00, 0x65, 0x02, 0x41,
118 0xa8, 0x6a, 0x6a, 0x00,
119 0x79, 0x6a, 0x6a, 0x00,
120 0x40, 0x3d, 0xea, 0x68,
121 0x04, 0x35, 0x6a, 0x00,
122 0x00, 0x65, 0x2a, 0x5b,
123 0x80, 0x6a, 0xd4, 0x01,
124 0x10, 0x36, 0xd6, 0x68,
125 0x10, 0x36, 0x6c, 0x00,
126 0x07, 0xac, 0x10, 0x31,
127 0x05, 0xa3, 0x70, 0x30,
128 0x03, 0x8c, 0x10, 0x30,
129 0x88, 0x6a, 0xcc, 0x00,
130 0xac, 0x6a, 0xc8, 0x5b,
131 0x00, 0x65, 0xc2, 0x5b,
132 0x38, 0x6a, 0xcc, 0x00,
133 0xa3, 0x6a, 0xcc, 0x5b,
134 0xff, 0x38, 0x12, 0x69,
135 0x80, 0x02, 0x04, 0x00,
136 0xe7, 0x35, 0x6a, 0x08,
137 0x03, 0x69, 0x18, 0x31,
138 0x03, 0x69, 0x10, 0x30,
139 0xff, 0x6a, 0x10, 0x00,
140 0xff, 0x6a, 0x12, 0x00,
141 0xff, 0x6a, 0x14, 0x00,
142 0x22, 0x38, 0xc8, 0x28,
143 0x01, 0x38, 0x1c, 0x61,
144 0x02, 0x64, 0xc8, 0x00,
145 0x01, 0x38, 0x1c, 0x61,
146 0xbf, 0x35, 0x6a, 0x08,
147 0xff, 0x64, 0xf8, 0x09,
148 0xff, 0x35, 0x26, 0x09,
149 0x80, 0x02, 0xa4, 0x69,
150 0x10, 0x0c, 0x7a, 0x69,
151 0x80, 0x94, 0x22, 0x79,
152 0x00, 0x35, 0x0a, 0x5b,
153 0x80, 0x02, 0xa4, 0x69,
154 0xff, 0x65, 0x94, 0x79,
155 0x01, 0x38, 0x70, 0x71,
156 0xff, 0x38, 0x70, 0x18,
157 0xff, 0x38, 0x94, 0x79,
158 0x80, 0xea, 0x4a, 0x61,
159 0xef, 0x38, 0xc8, 0x18,
160 0x80, 0x6a, 0xc8, 0x00,
161 0x00, 0x65, 0x3c, 0x49,
162 0x33, 0x38, 0xc8, 0x28,
163 0xff, 0x64, 0xd0, 0x09,
164 0x04, 0x39, 0xc0, 0x31,
165 0x09, 0x6a, 0xd6, 0x01,
166 0x80, 0xeb, 0x42, 0x79,
167 0xf7, 0xeb, 0xd6, 0x09,
168 0x08, 0xeb, 0x46, 0x69,
169 0x01, 0x6a, 0xd6, 0x01,
170 0x08, 0xe9, 0x10, 0x31,
171 0x03, 0x8c, 0x10, 0x30,
172 0xff, 0x38, 0x70, 0x18,
173 0x88, 0x6a, 0xcc, 0x00,
174 0x39, 0x6a, 0xce, 0x5b,
175 0x08, 0x6a, 0x18, 0x01,
176 0xff, 0x6a, 0x1a, 0x09,
177 0xff, 0x6a, 0x1c, 0x09,
178 0x0d, 0x93, 0x26, 0x01,
179 0x00, 0x65, 0x78, 0x5c,
180 0x88, 0x6a, 0xcc, 0x00,
181 0x00, 0x65, 0x6a, 0x5c,
182 0x00, 0x65, 0xc2, 0x5b,
183 0xff, 0x6a, 0xc8, 0x08,
184 0x08, 0x39, 0x72, 0x18,
185 0x00, 0x3a, 0x74, 0x20,
186 0x00, 0x65, 0x02, 0x41,
187 0x01, 0x0c, 0x6c, 0x79,
188 0x10, 0x0c, 0x02, 0x79,
189 0x10, 0x0c, 0x7a, 0x69,
190 0x01, 0xfc, 0x70, 0x79,
191 0xff, 0x6a, 0x70, 0x08,
192 0x01, 0x0c, 0x76, 0x79,
193 0x10, 0x0c, 0x02, 0x79,
194 0x00, 0x65, 0xae, 0x59,
195 0x01, 0xfc, 0x94, 0x69,
196 0x40, 0x0d, 0x84, 0x69,
197 0xb1, 0x6a, 0x22, 0x01,
198 0x00, 0x65, 0x94, 0x41,
199 0x2e, 0xfc, 0xa2, 0x28,
200 0x3f, 0x38, 0xc8, 0x08,
201 0x00, 0x51, 0x94, 0x71,
202 0xff, 0x6a, 0xc8, 0x08,
203 0xf8, 0x39, 0x72, 0x18,
204 0xff, 0x3a, 0x74, 0x20,
205 0x01, 0x38, 0x70, 0x18,
206 0x00, 0x65, 0x86, 0x41,
207 0x03, 0x08, 0x52, 0x31,
208 0xff, 0x38, 0x50, 0x09,
209 0x12, 0x01, 0x02, 0x00,
210 0xff, 0x08, 0x52, 0x09,
211 0xff, 0x09, 0x54, 0x09,
212 0xff, 0x0a, 0x56, 0x09,
213 0xff, 0x38, 0x50, 0x09,
214 0x00, 0x65, 0xaa, 0x40,
215 0x10, 0x0c, 0xa4, 0x79,
216 0x00, 0x65, 0xae, 0x59,
217 0x7f, 0x02, 0x04, 0x08,
218 0xe1, 0x6a, 0x22, 0x01,
219 0x00, 0x65, 0xaa, 0x40,
220 0x04, 0x93, 0xc2, 0x69,
221 0xdf, 0x93, 0x26, 0x09,
222 0x20, 0x93, 0xb2, 0x69,
223 0x02, 0x93, 0x26, 0x01,
224 0x01, 0x94, 0xb6, 0x79,
225 0x01, 0x94, 0xb6, 0x79,
226 0x01, 0x94, 0xb6, 0x79,
227 0x01, 0x94, 0xb6, 0x79,
228 0x01, 0x94, 0xb6, 0x79,
229 0x10, 0x94, 0xc0, 0x69,
230 0xd7, 0x93, 0x26, 0x09,
231 0x28, 0x93, 0xc4, 0x69,
232 0xff, 0x6a, 0xd4, 0x0c,
233 0x00, 0x65, 0x2a, 0x5b,
234 0x05, 0xb4, 0x10, 0x31,
235 0x02, 0x6a, 0x1a, 0x31,
236 0x03, 0x8c, 0x10, 0x30,
237 0x88, 0x6a, 0xcc, 0x00,
238 0xb4, 0x6a, 0xcc, 0x5b,
239 0xff, 0x6a, 0x1a, 0x09,
240 0xff, 0x6a, 0x1c, 0x09,
241 0x00, 0x65, 0xc2, 0x5b,
242 0x3d, 0x6a, 0x0a, 0x5b,
243 0xac, 0x6a, 0x26, 0x01,
244 0x04, 0x0b, 0xde, 0x69,
245 0x04, 0x0b, 0xe4, 0x69,
246 0x10, 0x0c, 0xe0, 0x79,
247 0x02, 0x03, 0xe8, 0x79,
248 0x11, 0x0c, 0xe4, 0x79,
249 0xd7, 0x93, 0x26, 0x09,
250 0x28, 0x93, 0xea, 0x69,
251 0x12, 0x01, 0x02, 0x00,
252 0x00, 0x65, 0xaa, 0x40,
253 0x00, 0x65, 0x2a, 0x5b,
254 0xff, 0x06, 0x44, 0x09,
255 0x00, 0x65, 0xaa, 0x40,
256 0x10, 0x3d, 0x06, 0x00,
257 0xff, 0x34, 0xca, 0x08,
258 0x80, 0x65, 0x1c, 0x62,
259 0x0f, 0xa1, 0xca, 0x08,
260 0x07, 0xa1, 0xca, 0x08,
261 0x40, 0xa0, 0xc8, 0x08,
262 0x00, 0x65, 0xca, 0x00,
263 0x80, 0x65, 0xca, 0x00,
264 0x80, 0xa0, 0x0c, 0x7a,
265 0xff, 0x65, 0x0c, 0x08,
266 0x00, 0x65, 0x1e, 0x42,
267 0x20, 0xa0, 0x24, 0x7a,
268 0xff, 0x65, 0x0c, 0x08,
269 0x00, 0x65, 0xba, 0x5b,
270 0xa0, 0x3d, 0x2c, 0x62,
271 0x23, 0xa0, 0x0c, 0x08,
272 0x00, 0x65, 0xba, 0x5b,
273 0xa0, 0x3d, 0x2c, 0x62,
274 0x00, 0xb9, 0x24, 0x42,
275 0xff, 0x65, 0x24, 0x62,
276 0xa1, 0x6a, 0x22, 0x01,
277 0xff, 0x6a, 0xd4, 0x08,
278 0x10, 0x51, 0x2c, 0x72,
279 0x40, 0x6a, 0x18, 0x00,
280 0xff, 0x65, 0x0c, 0x08,
281 0x00, 0x65, 0xba, 0x5b,
282 0xa0, 0x3d, 0xf6, 0x71,
283 0x40, 0x6a, 0x18, 0x00,
284 0xff, 0x34, 0xa6, 0x08,
285 0x80, 0x34, 0x34, 0x62,
286 0x7f, 0xa0, 0x40, 0x09,
287 0x08, 0x6a, 0x68, 0x00,
288 0x00, 0x65, 0xaa, 0x40,
289 0x64, 0x6a, 0x00, 0x5b,
290 0x80, 0x64, 0xaa, 0x6a,
291 0x04, 0x64, 0x8c, 0x72,
292 0x02, 0x64, 0x92, 0x72,
293 0x00, 0x6a, 0x54, 0x72,
294 0x03, 0x64, 0xa6, 0x72,
295 0x01, 0x64, 0x88, 0x72,
296 0x07, 0x64, 0xe8, 0x72,
297 0x08, 0x64, 0x50, 0x72,
298 0x23, 0x64, 0xec, 0x72,
299 0x11, 0x6a, 0x22, 0x01,
300 0x07, 0x6a, 0xf2, 0x5a,
301 0xff, 0x06, 0xd4, 0x08,
302 0x00, 0x65, 0xaa, 0x40,
303 0xff, 0xa8, 0x58, 0x6a,
304 0xff, 0xa2, 0x70, 0x7a,
305 0x01, 0x6a, 0x6a, 0x00,
306 0x00, 0xb9, 0xe6, 0x5b,
307 0xff, 0xa2, 0x70, 0x7a,
308 0x71, 0x6a, 0x22, 0x01,
309 0xff, 0x6a, 0xd4, 0x08,
310 0x40, 0x51, 0x70, 0x62,
311 0x0d, 0x6a, 0x6a, 0x00,
312 0x00, 0xb9, 0xe6, 0x5b,
313 0xff, 0x3e, 0x74, 0x09,
314 0xff, 0x90, 0x7c, 0x08,
315 0x00, 0x65, 0x4e, 0x58,
316 0x00, 0x65, 0xbc, 0x40,
317 0x20, 0xa0, 0x78, 0x6a,
318 0xff, 0x37, 0xc8, 0x08,
319 0x00, 0x6a, 0x90, 0x5b,
320 0xff, 0x6a, 0xa6, 0x5b,
321 0xff, 0xf8, 0xc8, 0x08,
322 0xff, 0x4f, 0xc8, 0x08,
323 0x01, 0x6a, 0x90, 0x5b,
324 0x00, 0xb9, 0xa6, 0x5b,
325 0x01, 0x4f, 0x9e, 0x18,
326 0x02, 0x6a, 0x22, 0x01,
327 0x00, 0x65, 0x80, 0x5c,
328 0x00, 0x65, 0xbc, 0x40,
329 0x41, 0x6a, 0x22, 0x01,
330 0x00, 0x65, 0xaa, 0x40,
331 0x04, 0xa0, 0x40, 0x01,
332 0x00, 0x65, 0x98, 0x5c,
333 0x00, 0x65, 0xbc, 0x40,
334 0x10, 0x36, 0x50, 0x7a,
335 0x05, 0x38, 0x46, 0x31,
336 0x04, 0x14, 0x58, 0x31,
337 0x03, 0xa9, 0x60, 0x31,
338 0xa3, 0x6a, 0xcc, 0x00,
339 0x38, 0x6a, 0xcc, 0x5b,
340 0xac, 0x6a, 0xcc, 0x00,
341 0x14, 0x6a, 0xce, 0x5b,
342 0xa9, 0x6a, 0xd0, 0x5b,
343 0x00, 0x65, 0x50, 0x42,
344 0xef, 0x36, 0x6c, 0x08,
345 0x00, 0x65, 0x50, 0x42,
346 0x0f, 0x64, 0xc8, 0x08,
347 0x07, 0x64, 0xc8, 0x08,
348 0x00, 0x37, 0x6e, 0x00,
349 0xff, 0x6a, 0xa4, 0x00,
350 0x00, 0x65, 0x60, 0x5b,
351 0xff, 0x51, 0xbc, 0x72,
352 0x20, 0x36, 0xc6, 0x7a,
353 0x00, 0x90, 0x4e, 0x5b,
354 0x00, 0x65, 0xc8, 0x42,
355 0xff, 0x06, 0xd4, 0x08,
356 0x00, 0x65, 0xba, 0x5b,
357 0xe0, 0x3d, 0xe2, 0x62,
358 0x20, 0x12, 0xe2, 0x62,
359 0x51, 0x6a, 0xf6, 0x5a,
360 0x00, 0x65, 0x48, 0x5b,
361 0xff, 0x37, 0xc8, 0x08,
362 0x00, 0xa1, 0xda, 0x62,
363 0x04, 0xa0, 0xda, 0x7a,
364 0xfb, 0xa0, 0x40, 0x09,
365 0x80, 0x36, 0x6c, 0x00,
366 0x80, 0xa0, 0x50, 0x7a,
367 0x7f, 0xa0, 0x40, 0x09,
368 0xff, 0x6a, 0xf2, 0x5a,
369 0x00, 0x65, 0x50, 0x42,
370 0x04, 0xa0, 0xe0, 0x7a,
371 0x00, 0x65, 0x98, 0x5c,
372 0x00, 0x65, 0xe2, 0x42,
373 0x00, 0x65, 0x80, 0x5c,
374 0x31, 0x6a, 0x22, 0x01,
375 0x0c, 0x6a, 0xf2, 0x5a,
376 0x00, 0x65, 0x50, 0x42,
377 0x61, 0x6a, 0x22, 0x01,
378 0x00, 0x65, 0x50, 0x42,
379 0x51, 0x6a, 0xf6, 0x5a,
380 0x51, 0x6a, 0x22, 0x01,
381 0x00, 0x65, 0x50, 0x42,
382 0x10, 0x3d, 0x06, 0x00,
383 0xff, 0x65, 0x68, 0x0c,
384 0xff, 0x06, 0xd4, 0x08,
385 0x01, 0x0c, 0xf8, 0x7a,
386 0x04, 0x0c, 0xfa, 0x6a,
387 0xe0, 0x03, 0x7a, 0x08,
388 0xe0, 0x3d, 0x06, 0x63,
389 0xff, 0x65, 0xcc, 0x08,
390 0xff, 0x12, 0xda, 0x0c,
391 0xff, 0x06, 0xd4, 0x0c,
392 0xd1, 0x6a, 0x22, 0x01,
393 0x00, 0x65, 0xaa, 0x40,
394 0xff, 0x65, 0x26, 0x09,
395 0x01, 0x0b, 0x1a, 0x6b,
396 0x10, 0x0c, 0x0c, 0x7b,
397 0x04, 0x0b, 0x14, 0x6b,
398 0xff, 0x6a, 0xca, 0x08,
399 0x04, 0x93, 0x18, 0x6b,
400 0x01, 0x94, 0x16, 0x7b,
401 0x10, 0x94, 0x18, 0x6b,
402 0x80, 0x3d, 0x1e, 0x73,
403 0x0f, 0x04, 0x22, 0x6b,
404 0x02, 0x03, 0x22, 0x7b,
405 0x11, 0x0c, 0x1e, 0x7b,
406 0xc7, 0x93, 0x26, 0x09,
407 0xff, 0x99, 0xd4, 0x08,
408 0x38, 0x93, 0x24, 0x6b,
409 0xff, 0x6a, 0xd4, 0x0c,
410 0x80, 0x36, 0x28, 0x6b,
411 0x21, 0x6a, 0x22, 0x05,
412 0xff, 0x65, 0x20, 0x09,
413 0xff, 0x51, 0x36, 0x63,
414 0xff, 0x37, 0xc8, 0x08,
415 0xa1, 0x6a, 0x42, 0x43,
416 0xff, 0x51, 0xc8, 0x08,
417 0xb9, 0x6a, 0x42, 0x43,
418 0xff, 0x90, 0xa4, 0x08,
419 0xff, 0xba, 0x46, 0x73,
420 0xff, 0xba, 0x20, 0x09,
421 0xff, 0x65, 0xca, 0x18,
422 0x00, 0x6c, 0x3a, 0x63,
423 0xff, 0x90, 0xca, 0x0c,
424 0xff, 0x6a, 0xca, 0x04,
425 0x20, 0x36, 0x5a, 0x7b,
426 0x00, 0x90, 0x2e, 0x5b,
427 0xff, 0x65, 0x5a, 0x73,
428 0xff, 0x52, 0x58, 0x73,
429 0xff, 0xba, 0xcc, 0x08,
430 0xff, 0x52, 0x20, 0x09,
431 0xff, 0x66, 0x74, 0x09,
432 0xff, 0x65, 0x20, 0x0d,
433 0xff, 0xba, 0x7e, 0x0c,
434 0x00, 0x6a, 0x86, 0x5c,
435 0x0d, 0x6a, 0x6a, 0x00,
436 0x00, 0x51, 0xe6, 0x43,
437 0xff, 0x3f, 0xb4, 0x73,
438 0xff, 0x6a, 0xa2, 0x00,
439 0x00, 0x3f, 0x2e, 0x5b,
440 0xff, 0x65, 0xb4, 0x73,
441 0x20, 0x36, 0x6c, 0x00,
442 0x20, 0xa0, 0x6e, 0x6b,
443 0xff, 0xb9, 0xa2, 0x0c,
444 0xff, 0x6a, 0xa2, 0x04,
445 0xff, 0x65, 0xa4, 0x08,
446 0xe0, 0x6a, 0xcc, 0x00,
447 0x45, 0x6a, 0xda, 0x5b,
448 0x01, 0x6a, 0xd0, 0x01,
449 0x09, 0x6a, 0xd6, 0x01,
450 0x80, 0xeb, 0x7a, 0x7b,
451 0x01, 0x6a, 0xd6, 0x01,
452 0x01, 0xe9, 0xa4, 0x34,
453 0x88, 0x6a, 0xcc, 0x00,
454 0x45, 0x6a, 0xda, 0x5b,
455 0x01, 0x6a, 0x18, 0x01,
456 0xff, 0x6a, 0x1a, 0x09,
457 0xff, 0x6a, 0x1c, 0x09,
458 0x0d, 0x6a, 0x26, 0x01,
459 0x00, 0x65, 0x78, 0x5c,
460 0xff, 0x99, 0xa4, 0x0c,
461 0xff, 0x65, 0xa4, 0x08,
462 0xe0, 0x6a, 0xcc, 0x00,
463 0x45, 0x6a, 0xda, 0x5b,
464 0x01, 0x6a, 0xd0, 0x01,
465 0x01, 0x6a, 0xdc, 0x05,
466 0x88, 0x6a, 0xcc, 0x00,
467 0x45, 0x6a, 0xda, 0x5b,
468 0x01, 0x6a, 0x18, 0x01,
469 0xff, 0x6a, 0x1a, 0x09,
470 0xff, 0x6a, 0x1c, 0x09,
471 0x01, 0x6a, 0x26, 0x05,
472 0x01, 0x65, 0xd8, 0x31,
473 0x09, 0xee, 0xdc, 0x01,
474 0x80, 0xee, 0xaa, 0x7b,
475 0xff, 0x6a, 0xdc, 0x0d,
476 0xff, 0x65, 0x32, 0x09,
477 0x0a, 0x93, 0x26, 0x01,
478 0x00, 0x65, 0x78, 0x44,
479 0xff, 0x37, 0xc8, 0x08,
480 0x00, 0x6a, 0x70, 0x5b,
481 0xff, 0x52, 0xa2, 0x0c,
482 0x01, 0x0c, 0xba, 0x7b,
483 0x04, 0x0c, 0xba, 0x6b,
484 0xe0, 0x03, 0x06, 0x08,
485 0xe0, 0x03, 0x7a, 0x0c,
486 0xff, 0x8c, 0x10, 0x08,
487 0xff, 0x8d, 0x12, 0x08,
488 0xff, 0x8e, 0x14, 0x0c,
489 0xff, 0x6c, 0xda, 0x08,
490 0xff, 0x6c, 0xda, 0x08,
491 0xff, 0x6c, 0xda, 0x08,
492 0xff, 0x6c, 0xda, 0x08,
493 0xff, 0x6c, 0xda, 0x08,
494 0xff, 0x6c, 0xda, 0x08,
495 0xff, 0x6c, 0xda, 0x0c,
496 0x3d, 0x64, 0xa4, 0x28,
497 0x55, 0x64, 0xc8, 0x28,
498 0x00, 0x6c, 0xda, 0x18,
499 0xff, 0x52, 0xc8, 0x08,
500 0x00, 0x6c, 0xda, 0x20,
501 0xff, 0x6a, 0xc8, 0x08,
502 0x00, 0x6c, 0xda, 0x20,
503 0x00, 0x6c, 0xda, 0x24,
504 0xff, 0x65, 0xc8, 0x08,
505 0xe0, 0x6a, 0xcc, 0x00,
506 0x41, 0x6a, 0xd6, 0x5b,
507 0xff, 0x90, 0xe2, 0x09,
508 0x20, 0x6a, 0xd0, 0x01,
509 0x04, 0x35, 0xf8, 0x7b,
510 0x1d, 0x6a, 0xdc, 0x01,
511 0xdc, 0xee, 0xf4, 0x63,
512 0x00, 0x65, 0x0e, 0x44,
513 0x01, 0x6a, 0xdc, 0x01,
514 0x20, 0xa0, 0xd8, 0x31,
515 0x09, 0xee, 0xdc, 0x01,
516 0x80, 0xee, 0xfe, 0x7b,
517 0x11, 0x6a, 0xdc, 0x01,
518 0x50, 0xee, 0x02, 0x64,
519 0x20, 0x6a, 0xd0, 0x01,
520 0x09, 0x6a, 0xdc, 0x01,
521 0x88, 0xee, 0x08, 0x64,
522 0x19, 0x6a, 0xdc, 0x01,
523 0xd8, 0xee, 0x0c, 0x64,
524 0xff, 0x6a, 0xdc, 0x09,
525 0x18, 0xee, 0x10, 0x6c,
526 0xff, 0x6a, 0xd4, 0x0c,
527 0x88, 0x6a, 0xcc, 0x00,
528 0x41, 0x6a, 0xd6, 0x5b,
529 0x20, 0x6a, 0x18, 0x01,
530 0xff, 0x6a, 0x1a, 0x09,
531 0xff, 0x6a, 0x1c, 0x09,
532 0xff, 0x35, 0x26, 0x09,
533 0x04, 0x35, 0x3c, 0x6c,
534 0xa0, 0x6a, 0xca, 0x00,
535 0x20, 0x65, 0xc8, 0x18,
536 0xff, 0x6c, 0x32, 0x09,
537 0xff, 0x6c, 0x32, 0x09,
538 0xff, 0x6c, 0x32, 0x09,
539 0xff, 0x6c, 0x32, 0x09,
540 0xff, 0x6c, 0x32, 0x09,
541 0xff, 0x6c, 0x32, 0x09,
542 0xff, 0x6c, 0x32, 0x09,
543 0xff, 0x6c, 0x32, 0x09,
544 0x00, 0x65, 0x26, 0x64,
545 0x0a, 0x93, 0x26, 0x01,
546 0x00, 0x65, 0x78, 0x44,
547 0xa0, 0x6a, 0xcc, 0x00,
548 0xe8, 0x6a, 0xc8, 0x00,
549 0x01, 0x94, 0x40, 0x6c,
550 0x10, 0x94, 0x42, 0x6c,
551 0x08, 0x94, 0x54, 0x6c,
552 0x08, 0x94, 0x54, 0x6c,
553 0x08, 0x94, 0x54, 0x6c,
554 0x00, 0x65, 0x68, 0x5c,
555 0x08, 0x64, 0xc8, 0x18,
556 0x00, 0x8c, 0xca, 0x18,
557 0x00, 0x65, 0x4a, 0x4c,
558 0x00, 0x65, 0x40, 0x44,
559 0xf7, 0x93, 0x26, 0x09,
560 0x08, 0x93, 0x56, 0x6c,
561 0x00, 0x65, 0x68, 0x5c,
562 0x08, 0x64, 0xc8, 0x18,
563 0x08, 0x64, 0x58, 0x64,
564 0xff, 0x6a, 0xd4, 0x0c,
565 0x00, 0x65, 0x78, 0x5c,
566 0x00, 0x65, 0x68, 0x5c,
567 0x00, 0x65, 0x68, 0x5c,
568 0x00, 0x65, 0x68, 0x5c,
569 0xff, 0x99, 0xda, 0x08,
570 0xff, 0x99, 0xda, 0x08,
571 0xff, 0x99, 0xda, 0x08,
572 0xff, 0x99, 0xda, 0x08,
573 0xff, 0x99, 0xda, 0x08,
574 0xff, 0x99, 0xda, 0x08,
575 0xff, 0x99, 0xda, 0x08,
576 0xff, 0x99, 0xda, 0x0c,
577 0x08, 0x94, 0x78, 0x7c,
578 0xf7, 0x93, 0x26, 0x09,
579 0x08, 0x93, 0x7c, 0x6c,
580 0xff, 0x6a, 0xd4, 0x0c,
581 0xff, 0x40, 0x74, 0x09,
582 0xff, 0x90, 0x80, 0x08,
583 0xff, 0x6a, 0x72, 0x05,
584 0xff, 0x40, 0x94, 0x64,
585 0xff, 0x3f, 0x8c, 0x64,
586 0xff, 0x6a, 0xca, 0x04,
587 0xff, 0x3f, 0x20, 0x09,
588 0x01, 0x6a, 0x6a, 0x00,
589 0x00, 0xb9, 0xe6, 0x5b,
590 0xff, 0xba, 0x7e, 0x0c,
591 0xff, 0x40, 0x20, 0x09,
592 0xff, 0xba, 0x80, 0x0c,
593 0xff, 0x3f, 0x74, 0x09,
594 0xff, 0x90, 0x7e, 0x0c,
597 static int aic7xxx_patch15_func(struct aic7xxx_host *p);
599 static int
600 aic7xxx_patch15_func(struct aic7xxx_host *p)
602 return ((p->bugs & AHC_BUG_SCBCHAN_UPLOAD) != 0);
605 static int aic7xxx_patch14_func(struct aic7xxx_host *p);
607 static int
608 aic7xxx_patch14_func(struct aic7xxx_host *p)
610 return ((p->bugs & AHC_BUG_PCI_2_1_RETRY) != 0);
613 static int aic7xxx_patch13_func(struct aic7xxx_host *p);
615 static int
616 aic7xxx_patch13_func(struct aic7xxx_host *p)
618 return ((p->features & AHC_WIDE) != 0);
621 static int aic7xxx_patch12_func(struct aic7xxx_host *p);
623 static int
624 aic7xxx_patch12_func(struct aic7xxx_host *p)
626 return ((p->bugs & AHC_BUG_AUTOFLUSH) != 0);
629 static int aic7xxx_patch11_func(struct aic7xxx_host *p);
631 static int
632 aic7xxx_patch11_func(struct aic7xxx_host *p)
634 return ((p->features & AHC_ULTRA2) == 0);
637 static int aic7xxx_patch10_func(struct aic7xxx_host *p);
639 static int
640 aic7xxx_patch10_func(struct aic7xxx_host *p)
642 return ((p->features & AHC_CMD_CHAN) == 0);
645 static int aic7xxx_patch9_func(struct aic7xxx_host *p);
647 static int
648 aic7xxx_patch9_func(struct aic7xxx_host *p)
650 return ((p->chip & AHC_CHIPID_MASK) == AHC_AIC7895);
653 static int aic7xxx_patch8_func(struct aic7xxx_host *p);
655 static int
656 aic7xxx_patch8_func(struct aic7xxx_host *p)
658 return ((p->features & AHC_ULTRA) != 0);
661 static int aic7xxx_patch7_func(struct aic7xxx_host *p);
663 static int
664 aic7xxx_patch7_func(struct aic7xxx_host *p)
666 return ((p->features & AHC_ULTRA2) != 0);
669 static int aic7xxx_patch6_func(struct aic7xxx_host *p);
671 static int
672 aic7xxx_patch6_func(struct aic7xxx_host *p)
674 return ((p->flags & AHC_PAGESCBS) == 0);
677 static int aic7xxx_patch5_func(struct aic7xxx_host *p);
679 static int
680 aic7xxx_patch5_func(struct aic7xxx_host *p)
682 return ((p->flags & AHC_PAGESCBS) != 0);
685 static int aic7xxx_patch4_func(struct aic7xxx_host *p);
687 static int
688 aic7xxx_patch4_func(struct aic7xxx_host *p)
690 return ((p->features & AHC_QUEUE_REGS) != 0);
693 static int aic7xxx_patch3_func(struct aic7xxx_host *p);
695 static int
696 aic7xxx_patch3_func(struct aic7xxx_host *p)
698 return ((p->features & AHC_TWIN) != 0);
701 static int aic7xxx_patch2_func(struct aic7xxx_host *p);
703 static int
704 aic7xxx_patch2_func(struct aic7xxx_host *p)
706 return ((p->features & AHC_QUEUE_REGS) == 0);
709 static int aic7xxx_patch1_func(struct aic7xxx_host *p);
711 static int
712 aic7xxx_patch1_func(struct aic7xxx_host *p)
714 return ((p->features & AHC_CMD_CHAN) != 0);
717 static int aic7xxx_patch0_func(struct aic7xxx_host *p);
719 static int
720 aic7xxx_patch0_func(struct aic7xxx_host *p)
722 return (0);
725 struct sequencer_patch {
726 int (*patch_func)(struct aic7xxx_host *);
727 unsigned int begin :10,
728 skip_instr :10,
729 skip_patch :12;
730 } sequencer_patches[] = {
731 { aic7xxx_patch1_func, 3, 2, 1 },
732 { aic7xxx_patch2_func, 7, 1, 1 },
733 { aic7xxx_patch2_func, 8, 1, 1 },
734 { aic7xxx_patch3_func, 11, 4, 1 },
735 { aic7xxx_patch4_func, 16, 3, 2 },
736 { aic7xxx_patch0_func, 19, 4, 1 },
737 { aic7xxx_patch5_func, 23, 1, 1 },
738 { aic7xxx_patch6_func, 26, 1, 1 },
739 { aic7xxx_patch1_func, 29, 1, 2 },
740 { aic7xxx_patch0_func, 30, 3, 1 },
741 { aic7xxx_patch3_func, 39, 4, 1 },
742 { aic7xxx_patch7_func, 43, 3, 2 },
743 { aic7xxx_patch0_func, 46, 3, 1 },
744 { aic7xxx_patch8_func, 52, 7, 1 },
745 { aic7xxx_patch3_func, 60, 3, 1 },
746 { aic7xxx_patch7_func, 63, 2, 1 },
747 { aic7xxx_patch7_func, 102, 1, 2 },
748 { aic7xxx_patch0_func, 103, 2, 1 },
749 { aic7xxx_patch7_func, 107, 2, 1 },
750 { aic7xxx_patch9_func, 109, 1, 1 },
751 { aic7xxx_patch10_func, 110, 2, 1 },
752 { aic7xxx_patch7_func, 113, 1, 2 },
753 { aic7xxx_patch0_func, 114, 1, 1 },
754 { aic7xxx_patch1_func, 118, 1, 1 },
755 { aic7xxx_patch1_func, 121, 3, 3 },
756 { aic7xxx_patch11_func, 123, 1, 1 },
757 { aic7xxx_patch0_func, 124, 5, 1 },
758 { aic7xxx_patch7_func, 132, 1, 1 },
759 { aic7xxx_patch9_func, 133, 1, 1 },
760 { aic7xxx_patch10_func, 134, 3, 1 },
761 { aic7xxx_patch7_func, 137, 3, 2 },
762 { aic7xxx_patch0_func, 140, 2, 1 },
763 { aic7xxx_patch7_func, 142, 5, 2 },
764 { aic7xxx_patch0_func, 147, 3, 1 },
765 { aic7xxx_patch7_func, 150, 1, 2 },
766 { aic7xxx_patch0_func, 151, 2, 1 },
767 { aic7xxx_patch1_func, 153, 15, 4 },
768 { aic7xxx_patch11_func, 166, 1, 2 },
769 { aic7xxx_patch0_func, 167, 1, 1 },
770 { aic7xxx_patch0_func, 168, 10, 1 },
771 { aic7xxx_patch7_func, 181, 1, 2 },
772 { aic7xxx_patch0_func, 182, 2, 1 },
773 { aic7xxx_patch7_func, 184, 18, 1 },
774 { aic7xxx_patch1_func, 202, 3, 3 },
775 { aic7xxx_patch7_func, 204, 1, 1 },
776 { aic7xxx_patch0_func, 205, 4, 1 },
777 { aic7xxx_patch7_func, 210, 2, 1 },
778 { aic7xxx_patch7_func, 215, 13, 3 },
779 { aic7xxx_patch12_func, 218, 1, 1 },
780 { aic7xxx_patch12_func, 219, 4, 1 },
781 { aic7xxx_patch1_func, 229, 3, 3 },
782 { aic7xxx_patch11_func, 231, 1, 1 },
783 { aic7xxx_patch0_func, 232, 5, 1 },
784 { aic7xxx_patch11_func, 237, 1, 2 },
785 { aic7xxx_patch0_func, 238, 9, 1 },
786 { aic7xxx_patch13_func, 254, 1, 2 },
787 { aic7xxx_patch0_func, 255, 1, 1 },
788 { aic7xxx_patch4_func, 316, 1, 2 },
789 { aic7xxx_patch0_func, 317, 1, 1 },
790 { aic7xxx_patch2_func, 320, 1, 1 },
791 { aic7xxx_patch1_func, 330, 3, 2 },
792 { aic7xxx_patch0_func, 333, 5, 1 },
793 { aic7xxx_patch13_func, 341, 1, 2 },
794 { aic7xxx_patch0_func, 342, 1, 1 },
795 { aic7xxx_patch5_func, 347, 1, 1 },
796 { aic7xxx_patch11_func, 389, 15, 2 },
797 { aic7xxx_patch14_func, 402, 1, 1 },
798 { aic7xxx_patch1_func, 441, 7, 2 },
799 { aic7xxx_patch0_func, 448, 8, 1 },
800 { aic7xxx_patch1_func, 457, 4, 2 },
801 { aic7xxx_patch0_func, 461, 6, 1 },
802 { aic7xxx_patch1_func, 467, 4, 2 },
803 { aic7xxx_patch0_func, 471, 3, 1 },
804 { aic7xxx_patch10_func, 481, 10, 1 },
805 { aic7xxx_patch1_func, 500, 22, 5 },
806 { aic7xxx_patch11_func, 508, 4, 1 },
807 { aic7xxx_patch7_func, 512, 7, 3 },
808 { aic7xxx_patch15_func, 512, 5, 2 },
809 { aic7xxx_patch0_func, 517, 2, 1 },
810 { aic7xxx_patch10_func, 522, 50, 3 },
811 { aic7xxx_patch14_func, 543, 17, 2 },
812 { aic7xxx_patch0_func, 560, 4, 1 },
813 { aic7xxx_patch10_func, 572, 4, 1 },
814 { aic7xxx_patch5_func, 576, 2, 1 },
815 { aic7xxx_patch5_func, 579, 9, 1 },