blob: 4cee08521e75f6cb0c9f1a00580ce9ac683958c2 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * DO NOT EDIT - This file is automatically generated
3 * from the following source files:
4 *
James Bottomley79778a22005-08-04 17:33:22 -05005 * $Id: //depot/aic7xxx/aic7xxx/aic7xxx.seq#58 $
6 * $Id: //depot/aic7xxx/aic7xxx/aic7xxx.reg#40 $
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 */
8static uint8_t seqprog[] = {
9 0xb2, 0x00, 0x00, 0x08,
10 0xf7, 0x11, 0x22, 0x08,
James Bottomley79778a22005-08-04 17:33:22 -050011 0x00, 0x65, 0xee, 0x59,
Linus Torvalds1da177e2005-04-16 15:20:36 -070012 0xf7, 0x01, 0x02, 0x08,
13 0xff, 0x6a, 0x24, 0x08,
14 0x40, 0x00, 0x40, 0x68,
15 0x08, 0x1f, 0x3e, 0x10,
16 0x40, 0x00, 0x40, 0x68,
17 0xff, 0x40, 0x3c, 0x60,
18 0x08, 0x1f, 0x3e, 0x10,
19 0x60, 0x0b, 0x42, 0x68,
20 0x40, 0xfa, 0x12, 0x78,
21 0x01, 0x4d, 0xc8, 0x30,
22 0x00, 0x4c, 0x12, 0x70,
23 0x01, 0x39, 0xa2, 0x30,
James Bottomley79778a22005-08-04 17:33:22 -050024 0x00, 0x6a, 0xc2, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -070025 0x01, 0x51, 0x20, 0x31,
26 0x01, 0x57, 0xae, 0x00,
27 0x0d, 0x6a, 0x76, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -050028 0x00, 0x51, 0x14, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -070029 0x01, 0x51, 0xc8, 0x30,
30 0x00, 0x39, 0xc8, 0x60,
31 0x00, 0xbb, 0x30, 0x70,
James Bottomley79778a22005-08-04 17:33:22 -050032 0xc1, 0x6a, 0xda, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -070033 0x01, 0xbf, 0x72, 0x30,
34 0x01, 0x40, 0x7e, 0x31,
35 0x01, 0x90, 0x80, 0x30,
36 0x01, 0xf6, 0xd4, 0x30,
37 0x01, 0x4d, 0x9a, 0x18,
38 0xfe, 0x57, 0xae, 0x08,
39 0x01, 0x40, 0x20, 0x31,
40 0x00, 0x65, 0xcc, 0x58,
41 0x60, 0x0b, 0x40, 0x78,
42 0x08, 0x6a, 0x18, 0x00,
43 0x08, 0x11, 0x22, 0x00,
44 0x60, 0x0b, 0x00, 0x78,
45 0x40, 0x0b, 0xfa, 0x68,
46 0x80, 0x0b, 0xb6, 0x78,
47 0x20, 0x6a, 0x16, 0x00,
48 0xa4, 0x6a, 0x06, 0x00,
49 0x08, 0x6a, 0x78, 0x00,
50 0x01, 0x50, 0xc8, 0x30,
51 0xe0, 0x6a, 0xcc, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -050052 0x48, 0x6a, 0xfe, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -070053 0x01, 0x6a, 0xdc, 0x01,
54 0x88, 0x6a, 0xcc, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -050055 0x48, 0x6a, 0xfe, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -070056 0x01, 0x6a, 0x26, 0x01,
57 0xf0, 0x19, 0x7a, 0x08,
58 0x0f, 0x18, 0xc8, 0x08,
59 0x0f, 0x0f, 0xc8, 0x08,
60 0x0f, 0x05, 0xc8, 0x08,
61 0x00, 0x3d, 0x7a, 0x00,
62 0x08, 0x1f, 0x6e, 0x78,
63 0x80, 0x3d, 0x7a, 0x00,
64 0x01, 0x3d, 0xd8, 0x31,
65 0x01, 0x3d, 0x32, 0x31,
66 0x10, 0x03, 0x4e, 0x79,
67 0x00, 0x65, 0xf2, 0x58,
68 0x80, 0x66, 0xae, 0x78,
69 0x01, 0x66, 0xd8, 0x31,
70 0x01, 0x66, 0x32, 0x31,
71 0x3f, 0x66, 0x7c, 0x08,
72 0x40, 0x66, 0x82, 0x68,
73 0x01, 0x3c, 0x78, 0x00,
74 0x10, 0x03, 0x9e, 0x78,
75 0x00, 0x65, 0xf2, 0x58,
76 0xe0, 0x66, 0xc8, 0x18,
77 0x00, 0x65, 0xaa, 0x50,
78 0xdd, 0x66, 0xc8, 0x18,
79 0x00, 0x65, 0xaa, 0x48,
80 0x01, 0x66, 0xd8, 0x31,
81 0x01, 0x66, 0x32, 0x31,
82 0x10, 0x03, 0x4e, 0x79,
83 0x00, 0x65, 0xf2, 0x58,
84 0x01, 0x66, 0xd8, 0x31,
85 0x01, 0x66, 0x32, 0x31,
86 0x01, 0x66, 0xac, 0x30,
87 0x40, 0x3c, 0x78, 0x00,
88 0xff, 0x6a, 0xd8, 0x01,
89 0xff, 0x6a, 0x32, 0x01,
90 0x10, 0x3c, 0x78, 0x00,
91 0x02, 0x57, 0x40, 0x69,
92 0x10, 0x03, 0x3e, 0x69,
93 0x00, 0x65, 0x20, 0x41,
94 0x02, 0x57, 0xae, 0x00,
95 0x00, 0x65, 0x9e, 0x40,
James Bottomley79778a22005-08-04 17:33:22 -050096 0x61, 0x6a, 0xda, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -070097 0x08, 0x51, 0x20, 0x71,
98 0x02, 0x0b, 0xb2, 0x78,
99 0x00, 0x65, 0xae, 0x40,
100 0x1a, 0x01, 0x02, 0x00,
101 0xf0, 0x19, 0x7a, 0x08,
102 0x0f, 0x0f, 0xc8, 0x08,
103 0x0f, 0x05, 0xc8, 0x08,
104 0x00, 0x3d, 0x7a, 0x00,
105 0x08, 0x1f, 0xc4, 0x78,
106 0x80, 0x3d, 0x7a, 0x00,
107 0x20, 0x6a, 0x16, 0x00,
108 0x00, 0x65, 0xcc, 0x41,
James Bottomley79778a22005-08-04 17:33:22 -0500109 0x00, 0x65, 0xb4, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110 0x00, 0x65, 0x12, 0x40,
111 0x20, 0x11, 0xd2, 0x68,
112 0x20, 0x6a, 0x18, 0x00,
113 0x20, 0x11, 0x22, 0x00,
114 0xf7, 0x1f, 0xca, 0x08,
115 0x80, 0xb9, 0xd8, 0x78,
116 0x08, 0x65, 0xca, 0x00,
117 0x01, 0x65, 0x3e, 0x30,
118 0x01, 0xb9, 0x1e, 0x30,
119 0x7f, 0xb9, 0x0a, 0x08,
120 0x01, 0xb9, 0x0a, 0x30,
121 0x01, 0x54, 0xca, 0x30,
122 0x80, 0xb8, 0xe6, 0x78,
123 0x80, 0x65, 0xca, 0x00,
124 0x01, 0x65, 0x00, 0x34,
125 0x01, 0x54, 0x00, 0x34,
126 0x08, 0xb8, 0xee, 0x78,
127 0x20, 0x01, 0x02, 0x00,
128 0x02, 0xbd, 0x08, 0x34,
129 0x01, 0xbd, 0x08, 0x34,
130 0x08, 0x01, 0x02, 0x00,
131 0x02, 0x0b, 0xf4, 0x78,
132 0xf7, 0x01, 0x02, 0x08,
133 0x01, 0x06, 0xcc, 0x34,
134 0xb2, 0x00, 0x00, 0x08,
135 0x01, 0x40, 0x20, 0x31,
136 0x01, 0xbf, 0x80, 0x30,
137 0x01, 0xb9, 0x7a, 0x30,
138 0x3f, 0xba, 0x7c, 0x08,
139 0x00, 0x65, 0xea, 0x58,
140 0x80, 0x0b, 0xc4, 0x79,
141 0x12, 0x01, 0x02, 0x00,
142 0x01, 0xab, 0xac, 0x30,
James Bottomley79778a22005-08-04 17:33:22 -0500143 0xe4, 0x6a, 0x70, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700144 0x40, 0x6a, 0x16, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500145 0x80, 0x3e, 0x86, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700146 0x20, 0xb8, 0x18, 0x79,
James Bottomley79778a22005-08-04 17:33:22 -0500147 0x20, 0x6a, 0x86, 0x5d,
148 0x00, 0xab, 0x86, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700149 0x01, 0xa9, 0x78, 0x30,
150 0x10, 0xb8, 0x20, 0x79,
James Bottomley79778a22005-08-04 17:33:22 -0500151 0xe4, 0x6a, 0x70, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700152 0x00, 0x65, 0xae, 0x40,
153 0x10, 0x03, 0x3c, 0x69,
154 0x08, 0x3c, 0x5a, 0x69,
155 0x04, 0x3c, 0x92, 0x69,
156 0x02, 0x3c, 0x98, 0x69,
157 0x01, 0x3c, 0x44, 0x79,
James Bottomley79778a22005-08-04 17:33:22 -0500158 0xff, 0x6a, 0xa6, 0x00,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700159 0x00, 0x65, 0xa4, 0x59,
James Bottomley79778a22005-08-04 17:33:22 -0500160 0x00, 0x6a, 0xc2, 0x5e,
161 0xff, 0x53, 0x30, 0x71,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700162 0x0d, 0x6a, 0x76, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500163 0x00, 0x53, 0x14, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700164 0x00, 0x65, 0xea, 0x58,
165 0x12, 0x01, 0x02, 0x00,
166 0x00, 0x65, 0x18, 0x41,
167 0xa4, 0x6a, 0x06, 0x00,
168 0x00, 0x65, 0xf2, 0x58,
169 0xfd, 0x57, 0xae, 0x08,
170 0x00, 0x65, 0xae, 0x40,
James Bottomley79778a22005-08-04 17:33:22 -0500171 0xe4, 0x6a, 0x70, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700172 0x20, 0x3c, 0x4a, 0x79,
James Bottomley79778a22005-08-04 17:33:22 -0500173 0x02, 0x6a, 0x86, 0x5d,
174 0x04, 0x6a, 0x86, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700175 0x01, 0x03, 0x4c, 0x69,
176 0xf7, 0x11, 0x22, 0x08,
177 0xff, 0x6a, 0x24, 0x08,
178 0xff, 0x6a, 0x06, 0x08,
179 0x01, 0x6a, 0x7e, 0x00,
180 0x00, 0x65, 0xa4, 0x59,
181 0x00, 0x65, 0x04, 0x40,
182 0x80, 0x86, 0xc8, 0x08,
183 0x01, 0x4f, 0xc8, 0x30,
184 0x00, 0x50, 0x6c, 0x61,
James Bottomley79778a22005-08-04 17:33:22 -0500185 0xc4, 0x6a, 0x70, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700186 0x40, 0x3c, 0x68, 0x79,
James Bottomley79778a22005-08-04 17:33:22 -0500187 0x28, 0x6a, 0x86, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700188 0x00, 0x65, 0x4c, 0x41,
James Bottomley79778a22005-08-04 17:33:22 -0500189 0x08, 0x6a, 0x86, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700190 0x00, 0x65, 0x4c, 0x41,
James Bottomley79778a22005-08-04 17:33:22 -0500191 0x84, 0x6a, 0x70, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700192 0x00, 0x65, 0xf2, 0x58,
193 0x01, 0x66, 0xc8, 0x30,
194 0x01, 0x64, 0xd8, 0x31,
195 0x01, 0x64, 0x32, 0x31,
196 0x5b, 0x64, 0xc8, 0x28,
197 0x30, 0x64, 0xca, 0x18,
198 0x01, 0x6c, 0xc8, 0x30,
199 0xff, 0x64, 0x8e, 0x79,
200 0x08, 0x01, 0x02, 0x00,
201 0x02, 0x0b, 0x80, 0x79,
202 0x01, 0x64, 0x86, 0x61,
203 0xf7, 0x01, 0x02, 0x08,
204 0x01, 0x06, 0xd8, 0x31,
205 0x01, 0x06, 0x32, 0x31,
206 0xff, 0x64, 0xc8, 0x18,
207 0xff, 0x64, 0x80, 0x69,
208 0xf7, 0x3c, 0x78, 0x08,
209 0x00, 0x65, 0x20, 0x41,
210 0x40, 0xaa, 0x7e, 0x10,
James Bottomley79778a22005-08-04 17:33:22 -0500211 0x04, 0xaa, 0x70, 0x5d,
212 0x00, 0x65, 0x58, 0x42,
213 0xc4, 0x6a, 0x70, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700214 0xc0, 0x6a, 0x7e, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500215 0x00, 0xa8, 0x86, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700216 0xe4, 0x6a, 0x06, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500217 0x00, 0x6a, 0x86, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700218 0x00, 0x65, 0x4c, 0x41,
219 0x10, 0x3c, 0xa8, 0x69,
James Bottomley79778a22005-08-04 17:33:22 -0500220 0x00, 0xbb, 0x8c, 0x44,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700221 0x18, 0x6a, 0xda, 0x01,
222 0x01, 0x69, 0xd8, 0x31,
223 0x1c, 0x6a, 0xd0, 0x01,
224 0x09, 0xee, 0xdc, 0x01,
225 0x80, 0xee, 0xb0, 0x79,
226 0xff, 0x6a, 0xdc, 0x09,
227 0x01, 0x93, 0x26, 0x01,
228 0x03, 0x6a, 0x2a, 0x01,
229 0x01, 0x69, 0x32, 0x31,
James Bottomley79778a22005-08-04 17:33:22 -0500230 0x1c, 0x6a, 0xe2, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700231 0x0a, 0x93, 0x26, 0x01,
James Bottomley79778a22005-08-04 17:33:22 -0500232 0x00, 0x65, 0xaa, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700233 0x01, 0x50, 0xa0, 0x18,
234 0x02, 0x6a, 0x22, 0x05,
235 0x1a, 0x01, 0x02, 0x00,
236 0x80, 0x6a, 0x74, 0x00,
237 0x40, 0x6a, 0x78, 0x00,
238 0x40, 0x6a, 0x16, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500239 0x00, 0x65, 0xda, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700240 0x01, 0x3f, 0xc8, 0x30,
James Bottomley79778a22005-08-04 17:33:22 -0500241 0xbf, 0x64, 0x58, 0x7a,
242 0x80, 0x64, 0xa0, 0x73,
243 0xa0, 0x64, 0x02, 0x74,
244 0xc0, 0x64, 0xf6, 0x73,
245 0xe0, 0x64, 0x32, 0x74,
246 0x01, 0x6a, 0xda, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700247 0x00, 0x65, 0xcc, 0x41,
248 0xf7, 0x11, 0x22, 0x08,
249 0x01, 0x06, 0xd4, 0x30,
250 0xff, 0x6a, 0x24, 0x08,
251 0xf7, 0x01, 0x02, 0x08,
James Bottomley79778a22005-08-04 17:33:22 -0500252 0xc0, 0x6a, 0x78, 0x00,
253 0x09, 0x0c, 0xe8, 0x79,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700254 0x08, 0x0c, 0x04, 0x68,
James Bottomley79778a22005-08-04 17:33:22 -0500255 0xb1, 0x6a, 0xda, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700256 0xff, 0x6a, 0x26, 0x09,
257 0x12, 0x01, 0x02, 0x00,
258 0x02, 0x6a, 0x08, 0x30,
259 0xff, 0x6a, 0x08, 0x08,
260 0xdf, 0x01, 0x02, 0x08,
261 0x01, 0x6a, 0x7e, 0x00,
262 0xc0, 0x6a, 0x78, 0x04,
263 0xff, 0x6a, 0xc8, 0x08,
264 0x08, 0xa4, 0x48, 0x19,
265 0x00, 0xa5, 0x4a, 0x21,
266 0x00, 0xa6, 0x4c, 0x21,
267 0x00, 0xa7, 0x4e, 0x25,
James Bottomley79778a22005-08-04 17:33:22 -0500268 0x08, 0xeb, 0xde, 0x7e,
269 0x80, 0xeb, 0x08, 0x7a,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700270 0xff, 0x6a, 0xd6, 0x09,
James Bottomley79778a22005-08-04 17:33:22 -0500271 0x08, 0xeb, 0x0c, 0x6a,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700272 0xff, 0x6a, 0xd4, 0x0c,
James Bottomley79778a22005-08-04 17:33:22 -0500273 0x80, 0xa3, 0xde, 0x6e,
274 0x88, 0xeb, 0x22, 0x72,
275 0x08, 0xeb, 0xde, 0x6e,
276 0x04, 0xea, 0x26, 0xe2,
277 0x08, 0xee, 0xde, 0x6e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700278 0x04, 0x6a, 0xd0, 0x81,
279 0x05, 0xa4, 0xc0, 0x89,
280 0x03, 0xa5, 0xc2, 0x31,
281 0x09, 0x6a, 0xd6, 0x05,
James Bottomley79778a22005-08-04 17:33:22 -0500282 0x00, 0x65, 0x0a, 0x5a,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700283 0x06, 0xa4, 0xd4, 0x89,
James Bottomley79778a22005-08-04 17:33:22 -0500284 0x80, 0x94, 0xde, 0x7e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700285 0x07, 0xe9, 0x10, 0x31,
286 0x01, 0xe9, 0x46, 0x31,
James Bottomley79778a22005-08-04 17:33:22 -0500287 0x00, 0xa3, 0xbc, 0x5e,
288 0x00, 0x65, 0xfc, 0x59,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700289 0x01, 0xa4, 0xca, 0x30,
James Bottomley79778a22005-08-04 17:33:22 -0500290 0x80, 0xa3, 0x36, 0x7a,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700291 0x02, 0x65, 0xca, 0x00,
292 0x01, 0x65, 0xf8, 0x31,
293 0x80, 0x93, 0x26, 0x01,
294 0xff, 0x6a, 0xd4, 0x0c,
295 0x01, 0x8c, 0xc8, 0x30,
296 0x00, 0x88, 0xc8, 0x18,
297 0x02, 0x64, 0xc8, 0x88,
James Bottomley79778a22005-08-04 17:33:22 -0500298 0xff, 0x64, 0xde, 0x7e,
299 0xff, 0x8d, 0x4c, 0x6a,
300 0xff, 0x8e, 0x4c, 0x6a,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700301 0x03, 0x8c, 0xd4, 0x98,
James Bottomley79778a22005-08-04 17:33:22 -0500302 0x00, 0x65, 0xde, 0x56,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700303 0x01, 0x64, 0x70, 0x30,
304 0xff, 0x64, 0xc8, 0x10,
305 0x01, 0x64, 0xc8, 0x18,
306 0x00, 0x8c, 0x18, 0x19,
307 0xff, 0x8d, 0x1a, 0x21,
308 0xff, 0x8e, 0x1c, 0x25,
James Bottomley79778a22005-08-04 17:33:22 -0500309 0xc0, 0x3c, 0x5c, 0x7a,
310 0x21, 0x6a, 0xda, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700311 0xa8, 0x6a, 0x76, 0x00,
312 0x79, 0x6a, 0x76, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500313 0x40, 0x3f, 0x64, 0x6a,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700314 0x04, 0x3b, 0x76, 0x00,
315 0x04, 0x6a, 0xd4, 0x81,
James Bottomley79778a22005-08-04 17:33:22 -0500316 0x20, 0x3c, 0x6c, 0x7a,
317 0x51, 0x6a, 0xda, 0x5e,
318 0x00, 0x65, 0x84, 0x42,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700319 0x20, 0x3c, 0x78, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500320 0x00, 0xb3, 0xbc, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700321 0x07, 0xac, 0x10, 0x31,
322 0x05, 0xb3, 0x46, 0x31,
323 0x88, 0x6a, 0xcc, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500324 0xac, 0x6a, 0xf0, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700325 0xa3, 0x6a, 0xcc, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500326 0xb3, 0x6a, 0xf4, 0x5d,
327 0x00, 0x65, 0x3c, 0x5a,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700328 0xfd, 0xa4, 0x48, 0x09,
329 0x03, 0x8c, 0x10, 0x30,
James Bottomley79778a22005-08-04 17:33:22 -0500330 0x00, 0x65, 0xe8, 0x5d,
331 0x01, 0xa4, 0x96, 0x7a,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700332 0x04, 0x3b, 0x76, 0x08,
333 0x01, 0x3b, 0x26, 0x31,
334 0x80, 0x02, 0x04, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500335 0x10, 0x0c, 0x8c, 0x7a,
336 0x03, 0x9e, 0x8e, 0x6a,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700337 0x7f, 0x02, 0x04, 0x08,
James Bottomley79778a22005-08-04 17:33:22 -0500338 0x91, 0x6a, 0xda, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700339 0x00, 0x65, 0xcc, 0x41,
340 0x01, 0xa4, 0xca, 0x30,
James Bottomley79778a22005-08-04 17:33:22 -0500341 0x80, 0xa3, 0x9c, 0x7a,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700342 0x02, 0x65, 0xca, 0x00,
343 0x01, 0x65, 0xf8, 0x31,
344 0x01, 0x3b, 0x26, 0x31,
James Bottomley79778a22005-08-04 17:33:22 -0500345 0x00, 0x65, 0x10, 0x5a,
346 0x01, 0xfc, 0xaa, 0x6a,
347 0x80, 0x0b, 0xa0, 0x6a,
348 0x10, 0x0c, 0xa0, 0x7a,
349 0x20, 0x93, 0xa0, 0x6a,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700350 0x02, 0x93, 0x26, 0x01,
James Bottomley79778a22005-08-04 17:33:22 -0500351 0x02, 0xfc, 0xb4, 0x7a,
352 0x40, 0x0d, 0xc8, 0x6a,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700353 0x01, 0xa4, 0x48, 0x01,
James Bottomley79778a22005-08-04 17:33:22 -0500354 0x00, 0x65, 0xc8, 0x42,
355 0x40, 0x0d, 0xba, 0x6a,
356 0x00, 0x65, 0x10, 0x5a,
357 0x00, 0x65, 0xac, 0x42,
358 0x80, 0xfc, 0xc4, 0x7a,
359 0x80, 0xa4, 0xc4, 0x6a,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700360 0xff, 0xa5, 0x4a, 0x19,
361 0xff, 0xa6, 0x4c, 0x21,
362 0xff, 0xa7, 0x4e, 0x21,
363 0xf8, 0xfc, 0x48, 0x09,
364 0x7f, 0xa3, 0x46, 0x09,
James Bottomley79778a22005-08-04 17:33:22 -0500365 0x04, 0x3b, 0xe4, 0x6a,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700366 0x02, 0x93, 0x26, 0x01,
James Bottomley79778a22005-08-04 17:33:22 -0500367 0x01, 0x94, 0xca, 0x7a,
368 0x01, 0x94, 0xca, 0x7a,
369 0x01, 0x94, 0xca, 0x7a,
370 0x01, 0x94, 0xca, 0x7a,
371 0x01, 0x94, 0xca, 0x7a,
372 0x01, 0xa4, 0xe2, 0x7a,
373 0x01, 0xfc, 0xd8, 0x7a,
374 0x01, 0x94, 0xe4, 0x6a,
375 0x01, 0x94, 0xe4, 0x6a,
376 0x01, 0x94, 0xe4, 0x6a,
377 0x00, 0x65, 0x84, 0x42,
378 0x01, 0x94, 0xe2, 0x7a,
379 0x10, 0x94, 0xe4, 0x6a,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700380 0xd7, 0x93, 0x26, 0x09,
James Bottomley79778a22005-08-04 17:33:22 -0500381 0x28, 0x93, 0xe8, 0x6a,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700382 0x01, 0x85, 0x0a, 0x01,
James Bottomley79778a22005-08-04 17:33:22 -0500383 0x02, 0xfc, 0xf0, 0x6a,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700384 0x01, 0x14, 0x46, 0x31,
385 0xff, 0x6a, 0x10, 0x09,
386 0xfe, 0x85, 0x0a, 0x09,
James Bottomley79778a22005-08-04 17:33:22 -0500387 0xff, 0x38, 0xfe, 0x6a,
388 0x80, 0xa3, 0xfe, 0x7a,
389 0x80, 0x0b, 0xfc, 0x7a,
390 0x04, 0x3b, 0xfe, 0x7a,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700391 0xbf, 0x3b, 0x76, 0x08,
392 0x01, 0x3b, 0x26, 0x31,
James Bottomley79778a22005-08-04 17:33:22 -0500393 0x00, 0x65, 0x10, 0x5a,
394 0x01, 0x0b, 0x0c, 0x6b,
395 0x10, 0x0c, 0x00, 0x7b,
396 0x04, 0x93, 0x0a, 0x6b,
397 0x01, 0x94, 0x08, 0x7b,
398 0x10, 0x94, 0x0a, 0x6b,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700399 0xc7, 0x93, 0x26, 0x09,
400 0x01, 0x99, 0xd4, 0x30,
James Bottomley79778a22005-08-04 17:33:22 -0500401 0x38, 0x93, 0x0e, 0x6b,
402 0xff, 0x08, 0x5c, 0x6b,
403 0xff, 0x09, 0x5c, 0x6b,
404 0xff, 0x0a, 0x5c, 0x6b,
405 0xff, 0x38, 0x2a, 0x7b,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700406 0x04, 0x14, 0x10, 0x31,
407 0x01, 0x38, 0x18, 0x31,
408 0x02, 0x6a, 0x1a, 0x31,
409 0x88, 0x6a, 0xcc, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500410 0x14, 0x6a, 0xf6, 0x5d,
411 0x00, 0x38, 0xe2, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700412 0xff, 0x6a, 0x70, 0x08,
James Bottomley79778a22005-08-04 17:33:22 -0500413 0x00, 0x65, 0x56, 0x43,
414 0x80, 0xa3, 0x30, 0x7b,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700415 0x01, 0xa4, 0x48, 0x01,
James Bottomley79778a22005-08-04 17:33:22 -0500416 0x00, 0x65, 0x5c, 0x43,
417 0x08, 0xeb, 0x36, 0x7b,
418 0x00, 0x65, 0x10, 0x5a,
419 0x08, 0xeb, 0x32, 0x6b,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700420 0x07, 0xe9, 0x10, 0x31,
421 0x01, 0xe9, 0xca, 0x30,
422 0x01, 0x65, 0x46, 0x31,
James Bottomley79778a22005-08-04 17:33:22 -0500423 0x00, 0x6a, 0xbc, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700424 0x88, 0x6a, 0xcc, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500425 0xa4, 0x6a, 0xf6, 0x5d,
426 0x08, 0x6a, 0xe2, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700427 0x0d, 0x93, 0x26, 0x01,
James Bottomley79778a22005-08-04 17:33:22 -0500428 0x00, 0x65, 0xaa, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700429 0x88, 0x6a, 0xcc, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500430 0x00, 0x65, 0x8c, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700431 0x01, 0x99, 0x46, 0x31,
James Bottomley79778a22005-08-04 17:33:22 -0500432 0x00, 0xa3, 0xbc, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700433 0x01, 0x88, 0x10, 0x31,
James Bottomley79778a22005-08-04 17:33:22 -0500434 0x00, 0x65, 0x3c, 0x5a,
435 0x00, 0x65, 0xfc, 0x59,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700436 0x03, 0x8c, 0x10, 0x30,
James Bottomley79778a22005-08-04 17:33:22 -0500437 0x00, 0x65, 0xe8, 0x5d,
438 0x80, 0x0b, 0x84, 0x6a,
439 0x80, 0x0b, 0x64, 0x6b,
440 0x01, 0x0c, 0x5e, 0x7b,
441 0x10, 0x0c, 0x84, 0x7a,
442 0x03, 0x9e, 0x84, 0x6a,
443 0x00, 0x65, 0x06, 0x5a,
444 0x00, 0x6a, 0xbc, 0x5e,
445 0x01, 0xa4, 0x84, 0x6b,
446 0xff, 0x38, 0x7a, 0x7b,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700447 0x01, 0x38, 0xc8, 0x30,
448 0x00, 0x08, 0x40, 0x19,
449 0xff, 0x6a, 0xc8, 0x08,
450 0x00, 0x09, 0x42, 0x21,
451 0x00, 0x0a, 0x44, 0x21,
452 0xff, 0x6a, 0x70, 0x08,
James Bottomley79778a22005-08-04 17:33:22 -0500453 0x00, 0x65, 0x7c, 0x43,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700454 0x03, 0x08, 0x40, 0x31,
455 0x03, 0x08, 0x40, 0x31,
456 0x01, 0x08, 0x40, 0x31,
457 0x01, 0x09, 0x42, 0x31,
458 0x01, 0x0a, 0x44, 0x31,
459 0xfd, 0xb4, 0x68, 0x09,
460 0x12, 0x01, 0x02, 0x00,
461 0x12, 0x01, 0x02, 0x00,
462 0x04, 0x3c, 0xcc, 0x79,
463 0xfb, 0x3c, 0x78, 0x08,
464 0x04, 0x93, 0x20, 0x79,
James Bottomley79778a22005-08-04 17:33:22 -0500465 0x01, 0x0c, 0x90, 0x6b,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700466 0x80, 0xba, 0x20, 0x79,
467 0x80, 0x04, 0x20, 0x79,
James Bottomley79778a22005-08-04 17:33:22 -0500468 0xe4, 0x6a, 0x70, 0x5d,
469 0x23, 0x6a, 0x86, 0x5d,
470 0x01, 0x6a, 0x86, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700471 0x00, 0x65, 0x20, 0x41,
472 0x00, 0x65, 0xcc, 0x41,
James Bottomley79778a22005-08-04 17:33:22 -0500473 0x80, 0x3c, 0xa4, 0x7b,
474 0x21, 0x6a, 0xda, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700475 0x01, 0xbc, 0x18, 0x31,
476 0x02, 0x6a, 0x1a, 0x31,
477 0x02, 0x6a, 0xf8, 0x01,
478 0x01, 0xbc, 0x10, 0x30,
479 0x02, 0x6a, 0x12, 0x30,
480 0x01, 0xbc, 0x10, 0x30,
481 0xff, 0x6a, 0x12, 0x08,
482 0xff, 0x6a, 0x14, 0x08,
483 0xf3, 0xbc, 0xd4, 0x18,
James Bottomley79778a22005-08-04 17:33:22 -0500484 0xa0, 0x6a, 0xca, 0x53,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700485 0x04, 0xa0, 0x10, 0x31,
486 0xac, 0x6a, 0x26, 0x01,
487 0x04, 0xa0, 0x10, 0x31,
488 0x03, 0x08, 0x18, 0x31,
489 0x88, 0x6a, 0xcc, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500490 0xa0, 0x6a, 0xf6, 0x5d,
491 0x00, 0xbc, 0xe2, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700492 0x3d, 0x6a, 0x26, 0x01,
James Bottomley79778a22005-08-04 17:33:22 -0500493 0x00, 0x65, 0xe2, 0x43,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700494 0xff, 0x6a, 0x10, 0x09,
495 0xa4, 0x6a, 0x26, 0x01,
496 0x0c, 0xa0, 0x32, 0x31,
497 0x05, 0x6a, 0x26, 0x01,
498 0x35, 0x6a, 0x26, 0x01,
499 0x0c, 0xa0, 0x32, 0x31,
500 0x36, 0x6a, 0x26, 0x01,
501 0x02, 0x93, 0x26, 0x01,
502 0x35, 0x6a, 0x26, 0x01,
James Bottomley79778a22005-08-04 17:33:22 -0500503 0x00, 0x65, 0x9e, 0x5e,
504 0x00, 0x65, 0x9e, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700505 0x02, 0x93, 0x26, 0x01,
506 0xbf, 0x3c, 0x78, 0x08,
James Bottomley79778a22005-08-04 17:33:22 -0500507 0x04, 0x0b, 0xe8, 0x6b,
508 0x10, 0x0c, 0xe4, 0x7b,
509 0x01, 0x03, 0xe8, 0x6b,
510 0x20, 0x93, 0xea, 0x6b,
511 0x04, 0x0b, 0xf0, 0x6b,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700512 0x40, 0x3c, 0x78, 0x00,
513 0xc7, 0x93, 0x26, 0x09,
James Bottomley79778a22005-08-04 17:33:22 -0500514 0x38, 0x93, 0xf2, 0x6b,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700515 0x00, 0x65, 0xcc, 0x41,
James Bottomley79778a22005-08-04 17:33:22 -0500516 0x80, 0x3c, 0x58, 0x6c,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700517 0x01, 0x06, 0x50, 0x31,
518 0x80, 0xb8, 0x70, 0x01,
519 0x00, 0x65, 0xcc, 0x41,
520 0x10, 0x3f, 0x06, 0x00,
521 0x10, 0x6a, 0x06, 0x00,
522 0x01, 0x3a, 0xca, 0x30,
James Bottomley79778a22005-08-04 17:33:22 -0500523 0x80, 0x65, 0x1e, 0x64,
524 0x10, 0xb8, 0x42, 0x6c,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700525 0xc0, 0x3e, 0xca, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500526 0x40, 0xb8, 0x0e, 0x6c,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700527 0xbf, 0x65, 0xca, 0x08,
James Bottomley79778a22005-08-04 17:33:22 -0500528 0x20, 0xb8, 0x22, 0x7c,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700529 0x01, 0x65, 0x0c, 0x30,
James Bottomley79778a22005-08-04 17:33:22 -0500530 0x00, 0x65, 0xda, 0x5d,
531 0xa0, 0x3f, 0x2a, 0x64,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700532 0x23, 0xb8, 0x0c, 0x08,
James Bottomley79778a22005-08-04 17:33:22 -0500533 0x00, 0x65, 0xda, 0x5d,
534 0xa0, 0x3f, 0x2a, 0x64,
535 0x00, 0xbb, 0x22, 0x44,
536 0xff, 0x65, 0x22, 0x64,
537 0x00, 0x65, 0x42, 0x44,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700538 0x40, 0x6a, 0x18, 0x00,
539 0x01, 0x65, 0x0c, 0x30,
James Bottomley79778a22005-08-04 17:33:22 -0500540 0x00, 0x65, 0xda, 0x5d,
541 0xa0, 0x3f, 0xfe, 0x73,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700542 0x40, 0x6a, 0x18, 0x00,
543 0x01, 0x3a, 0xa6, 0x30,
544 0x08, 0x6a, 0x74, 0x00,
545 0x00, 0x65, 0xcc, 0x41,
James Bottomley79778a22005-08-04 17:33:22 -0500546 0x64, 0x6a, 0x6a, 0x5d,
547 0x80, 0x64, 0xda, 0x6c,
548 0x04, 0x64, 0x9c, 0x74,
549 0x02, 0x64, 0xac, 0x74,
550 0x00, 0x6a, 0x62, 0x74,
551 0x03, 0x64, 0xca, 0x74,
552 0x23, 0x64, 0x4a, 0x74,
553 0x08, 0x64, 0x5e, 0x74,
554 0x61, 0x6a, 0xda, 0x5e,
555 0x00, 0x65, 0xda, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700556 0x08, 0x51, 0xce, 0x71,
James Bottomley79778a22005-08-04 17:33:22 -0500557 0x00, 0x65, 0x42, 0x44,
558 0x80, 0x04, 0x5c, 0x7c,
559 0x51, 0x6a, 0x60, 0x5d,
560 0x01, 0x51, 0x5c, 0x64,
561 0x01, 0xa4, 0x54, 0x7c,
562 0x80, 0xba, 0x5e, 0x6c,
563 0x41, 0x6a, 0xda, 0x5e,
564 0x00, 0x65, 0x5e, 0x44,
565 0x21, 0x6a, 0xda, 0x5e,
566 0x00, 0x65, 0x5e, 0x44,
567 0x07, 0x6a, 0x56, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700568 0x01, 0x06, 0xd4, 0x30,
569 0x00, 0x65, 0xcc, 0x41,
James Bottomley79778a22005-08-04 17:33:22 -0500570 0x80, 0xb8, 0x58, 0x7c,
571 0xc0, 0x3c, 0x6c, 0x7c,
572 0x80, 0x3c, 0x58, 0x6c,
573 0xff, 0xa8, 0x6c, 0x6c,
574 0x40, 0x3c, 0x58, 0x6c,
575 0x10, 0xb8, 0x70, 0x7c,
576 0xa1, 0x6a, 0xda, 0x5e,
577 0x01, 0xb4, 0x76, 0x6c,
578 0x02, 0xb4, 0x78, 0x6c,
579 0x01, 0xa4, 0x78, 0x7c,
580 0xff, 0xa8, 0x88, 0x7c,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700581 0x04, 0xb4, 0x68, 0x01,
582 0x01, 0x6a, 0x76, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500583 0x00, 0xbb, 0x14, 0x5e,
584 0xff, 0xa8, 0x88, 0x7c,
585 0x71, 0x6a, 0xda, 0x5e,
586 0x40, 0x51, 0x88, 0x64,
587 0x00, 0x65, 0xb4, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700588 0x00, 0x65, 0xde, 0x41,
James Bottomley79778a22005-08-04 17:33:22 -0500589 0x00, 0xbb, 0x8c, 0x5c,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700590 0x00, 0x65, 0xde, 0x41,
James Bottomley79778a22005-08-04 17:33:22 -0500591 0x00, 0x65, 0xb4, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700592 0x01, 0x65, 0xa2, 0x30,
593 0x01, 0xf8, 0xc8, 0x30,
594 0x01, 0x4e, 0xc8, 0x30,
James Bottomley79778a22005-08-04 17:33:22 -0500595 0x00, 0x6a, 0xb8, 0xdd,
596 0x00, 0x51, 0xca, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700597 0x01, 0x4e, 0x9c, 0x18,
598 0x02, 0x6a, 0x22, 0x05,
James Bottomley79778a22005-08-04 17:33:22 -0500599 0xc0, 0x3c, 0x58, 0x6c,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700600 0x04, 0xb8, 0x70, 0x01,
James Bottomley79778a22005-08-04 17:33:22 -0500601 0x00, 0x65, 0xd6, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700602 0x20, 0xb8, 0xde, 0x69,
603 0x01, 0xbb, 0xa2, 0x30,
604 0x3f, 0xba, 0x7c, 0x08,
James Bottomley79778a22005-08-04 17:33:22 -0500605 0x00, 0xb9, 0xd0, 0x5c,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700606 0x00, 0x65, 0xde, 0x41,
607 0x01, 0x06, 0xd4, 0x30,
608 0x20, 0x3c, 0xcc, 0x79,
James Bottomley79778a22005-08-04 17:33:22 -0500609 0x20, 0x3c, 0x5e, 0x7c,
610 0x01, 0xa4, 0xba, 0x7c,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700611 0x01, 0xb4, 0x68, 0x01,
612 0x00, 0x65, 0xcc, 0x41,
James Bottomley79778a22005-08-04 17:33:22 -0500613 0x00, 0x65, 0x5e, 0x44,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700614 0x04, 0x14, 0x58, 0x31,
615 0x01, 0x06, 0xd4, 0x30,
616 0x08, 0xa0, 0x60, 0x31,
617 0xac, 0x6a, 0xcc, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500618 0x14, 0x6a, 0xf6, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700619 0x01, 0x06, 0xd4, 0x30,
James Bottomley79778a22005-08-04 17:33:22 -0500620 0xa0, 0x6a, 0xee, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700621 0x00, 0x65, 0xcc, 0x41,
622 0xdf, 0x3c, 0x78, 0x08,
623 0x12, 0x01, 0x02, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500624 0x00, 0x65, 0x5e, 0x44,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700625 0x4c, 0x65, 0xcc, 0x28,
626 0x01, 0x3e, 0x20, 0x31,
627 0xd0, 0x66, 0xcc, 0x18,
628 0x20, 0x66, 0xcc, 0x18,
629 0x01, 0x51, 0xda, 0x34,
630 0x4c, 0x3d, 0xca, 0x28,
631 0x3f, 0x64, 0x7c, 0x08,
632 0xd0, 0x65, 0xca, 0x18,
633 0x01, 0x3e, 0x20, 0x31,
634 0x30, 0x65, 0xd4, 0x18,
James Bottomley79778a22005-08-04 17:33:22 -0500635 0x00, 0x65, 0xe8, 0x4c,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700636 0xe1, 0x6a, 0x22, 0x01,
637 0xff, 0x6a, 0xd4, 0x08,
638 0x20, 0x65, 0xd4, 0x18,
James Bottomley79778a22005-08-04 17:33:22 -0500639 0x00, 0x65, 0xf0, 0x54,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700640 0xe1, 0x6a, 0x22, 0x01,
641 0xff, 0x6a, 0xd4, 0x08,
642 0x20, 0x65, 0xca, 0x18,
643 0xe0, 0x65, 0xd4, 0x18,
James Bottomley79778a22005-08-04 17:33:22 -0500644 0x00, 0x65, 0xfa, 0x4c,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700645 0xe1, 0x6a, 0x22, 0x01,
646 0xff, 0x6a, 0xd4, 0x08,
647 0xd0, 0x65, 0xd4, 0x18,
James Bottomley79778a22005-08-04 17:33:22 -0500648 0x00, 0x65, 0x02, 0x55,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700649 0xe1, 0x6a, 0x22, 0x01,
650 0xff, 0x6a, 0xd4, 0x08,
651 0x01, 0x6c, 0xa2, 0x30,
James Bottomley79778a22005-08-04 17:33:22 -0500652 0xff, 0x51, 0x14, 0x75,
653 0x00, 0x51, 0x90, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700654 0x01, 0x51, 0x20, 0x31,
James Bottomley79778a22005-08-04 17:33:22 -0500655 0x00, 0x65, 0x36, 0x45,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700656 0x3f, 0xba, 0xc8, 0x08,
James Bottomley79778a22005-08-04 17:33:22 -0500657 0x00, 0x3e, 0x36, 0x75,
658 0x00, 0x65, 0xb2, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700659 0x80, 0x3c, 0x78, 0x00,
660 0x01, 0x06, 0xd4, 0x30,
James Bottomley79778a22005-08-04 17:33:22 -0500661 0x00, 0x65, 0xda, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700662 0x01, 0x3c, 0x78, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500663 0xe0, 0x3f, 0x52, 0x65,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700664 0x02, 0x3c, 0x78, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500665 0x20, 0x12, 0x52, 0x65,
666 0x51, 0x6a, 0x60, 0x5d,
667 0x00, 0x51, 0x90, 0x5d,
668 0x51, 0x6a, 0x60, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700669 0x01, 0x51, 0x20, 0x31,
670 0x04, 0x3c, 0x78, 0x00,
671 0x01, 0xb9, 0xc8, 0x30,
James Bottomley79778a22005-08-04 17:33:22 -0500672 0x00, 0x3d, 0x50, 0x65,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700673 0x08, 0x3c, 0x78, 0x00,
674 0x3f, 0xba, 0xc8, 0x08,
James Bottomley79778a22005-08-04 17:33:22 -0500675 0x00, 0x3e, 0x50, 0x65,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700676 0x10, 0x3c, 0x78, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500677 0x04, 0xb8, 0x50, 0x7d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700678 0xfb, 0xb8, 0x70, 0x09,
James Bottomley79778a22005-08-04 17:33:22 -0500679 0x20, 0xb8, 0x46, 0x6d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700680 0x01, 0x90, 0xc8, 0x30,
681 0xff, 0x6a, 0xa2, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500682 0x00, 0x3d, 0xd0, 0x5c,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700683 0x01, 0x64, 0x20, 0x31,
684 0xff, 0x6a, 0x78, 0x08,
685 0x00, 0x65, 0xea, 0x58,
James Bottomley79778a22005-08-04 17:33:22 -0500686 0x10, 0xb8, 0x5e, 0x7c,
687 0xff, 0x6a, 0x56, 0x5d,
688 0x00, 0x65, 0x5e, 0x44,
689 0x00, 0x65, 0xb2, 0x5e,
690 0x31, 0x6a, 0xda, 0x5e,
691 0x00, 0x65, 0x5e, 0x44,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700692 0x10, 0x3f, 0x06, 0x00,
693 0x10, 0x6a, 0x06, 0x00,
694 0x01, 0x65, 0x74, 0x34,
James Bottomley79778a22005-08-04 17:33:22 -0500695 0x81, 0x6a, 0xda, 0x5e,
696 0x00, 0x65, 0x62, 0x45,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700697 0x01, 0x06, 0xd4, 0x30,
James Bottomley79778a22005-08-04 17:33:22 -0500698 0x01, 0x0c, 0x62, 0x7d,
699 0x04, 0x0c, 0x5c, 0x6d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700700 0xe0, 0x03, 0x7e, 0x08,
701 0xe0, 0x3f, 0xcc, 0x61,
702 0x01, 0x65, 0xcc, 0x30,
703 0x01, 0x12, 0xda, 0x34,
704 0x01, 0x06, 0xd4, 0x34,
James Bottomley79778a22005-08-04 17:33:22 -0500705 0x01, 0x03, 0x70, 0x6d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700706 0x40, 0x03, 0xcc, 0x08,
707 0x01, 0x65, 0x06, 0x30,
708 0x40, 0x65, 0xc8, 0x08,
James Bottomley79778a22005-08-04 17:33:22 -0500709 0x00, 0x66, 0x7e, 0x75,
710 0x40, 0x65, 0x7e, 0x7d,
711 0x00, 0x65, 0x7e, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700712 0xff, 0x6a, 0xd4, 0x08,
713 0xff, 0x6a, 0xd4, 0x08,
714 0xff, 0x6a, 0xd4, 0x08,
715 0xff, 0x6a, 0xd4, 0x0c,
716 0x08, 0x01, 0x02, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500717 0x02, 0x0b, 0x88, 0x7d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700718 0x01, 0x65, 0x0c, 0x30,
James Bottomley79778a22005-08-04 17:33:22 -0500719 0x02, 0x0b, 0x8c, 0x7d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700720 0xf7, 0x01, 0x02, 0x0c,
721 0x01, 0x65, 0xc8, 0x30,
James Bottomley79778a22005-08-04 17:33:22 -0500722 0xff, 0x41, 0xb0, 0x75,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700723 0x01, 0x41, 0x20, 0x31,
724 0xff, 0x6a, 0xa4, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500725 0x00, 0x65, 0xa0, 0x45,
726 0xff, 0xbf, 0xb0, 0x75,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700727 0x01, 0x90, 0xa4, 0x30,
728 0x01, 0xbf, 0x20, 0x31,
James Bottomley79778a22005-08-04 17:33:22 -0500729 0x00, 0xbb, 0x9a, 0x65,
730 0xff, 0x52, 0xae, 0x75,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700731 0x01, 0xbf, 0xcc, 0x30,
732 0x01, 0x90, 0xca, 0x30,
733 0x01, 0x52, 0x20, 0x31,
734 0x01, 0x66, 0x7e, 0x31,
735 0x01, 0x65, 0x20, 0x35,
736 0x01, 0xbf, 0x82, 0x34,
737 0x01, 0x64, 0xa2, 0x30,
James Bottomley79778a22005-08-04 17:33:22 -0500738 0x00, 0x6a, 0xc2, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700739 0x0d, 0x6a, 0x76, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500740 0x00, 0x51, 0x14, 0x46,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700741 0x01, 0x65, 0xa4, 0x30,
742 0xe0, 0x6a, 0xcc, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500743 0x48, 0x6a, 0x08, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700744 0x01, 0x6a, 0xd0, 0x01,
745 0x01, 0x6a, 0xdc, 0x05,
746 0x88, 0x6a, 0xcc, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500747 0x48, 0x6a, 0x08, 0x5e,
748 0x01, 0x6a, 0xe2, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700749 0x01, 0x6a, 0x26, 0x05,
750 0x01, 0x65, 0xd8, 0x31,
751 0x09, 0xee, 0xdc, 0x01,
James Bottomley79778a22005-08-04 17:33:22 -0500752 0x80, 0xee, 0xce, 0x7d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700753 0xff, 0x6a, 0xdc, 0x0d,
754 0x01, 0x65, 0x32, 0x31,
755 0x0a, 0x93, 0x26, 0x01,
James Bottomley79778a22005-08-04 17:33:22 -0500756 0x00, 0x65, 0xaa, 0x46,
757 0x81, 0x6a, 0xda, 0x5e,
758 0x01, 0x0c, 0xda, 0x7d,
759 0x04, 0x0c, 0xd8, 0x6d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700760 0xe0, 0x03, 0x06, 0x08,
761 0xe0, 0x03, 0x7e, 0x0c,
762 0x01, 0x65, 0x18, 0x31,
763 0xff, 0x6a, 0x1a, 0x09,
764 0xff, 0x6a, 0x1c, 0x0d,
765 0x01, 0x8c, 0x10, 0x30,
766 0x01, 0x8d, 0x12, 0x30,
767 0x01, 0x8e, 0x14, 0x34,
768 0x01, 0x6c, 0xda, 0x30,
769 0x01, 0x6c, 0xda, 0x30,
770 0x01, 0x6c, 0xda, 0x30,
771 0x01, 0x6c, 0xda, 0x30,
772 0x01, 0x6c, 0xda, 0x30,
773 0x01, 0x6c, 0xda, 0x30,
774 0x01, 0x6c, 0xda, 0x30,
775 0x01, 0x6c, 0xda, 0x34,
776 0x3d, 0x64, 0xa4, 0x28,
777 0x55, 0x64, 0xc8, 0x28,
James Bottomley79778a22005-08-04 17:33:22 -0500778 0x00, 0x65, 0x08, 0x46,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700779 0x2e, 0x64, 0xa4, 0x28,
780 0x66, 0x64, 0xc8, 0x28,
781 0x00, 0x6c, 0xda, 0x18,
782 0x01, 0x52, 0xc8, 0x30,
783 0x00, 0x6c, 0xda, 0x20,
784 0xff, 0x6a, 0xc8, 0x08,
785 0x00, 0x6c, 0xda, 0x20,
786 0x00, 0x6c, 0xda, 0x24,
787 0x01, 0x65, 0xc8, 0x30,
788 0xe0, 0x6a, 0xcc, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500789 0x44, 0x6a, 0x04, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700790 0x01, 0x90, 0xe2, 0x31,
James Bottomley79778a22005-08-04 17:33:22 -0500791 0x04, 0x3b, 0x28, 0x7e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700792 0x30, 0x6a, 0xd0, 0x01,
793 0x20, 0x6a, 0xd0, 0x01,
794 0x1d, 0x6a, 0xdc, 0x01,
James Bottomley79778a22005-08-04 17:33:22 -0500795 0xdc, 0xee, 0x24, 0x66,
796 0x00, 0x65, 0x40, 0x46,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700797 0x20, 0x6a, 0xd0, 0x01,
798 0x01, 0x6a, 0xdc, 0x01,
799 0x20, 0xa0, 0xd8, 0x31,
800 0x09, 0xee, 0xdc, 0x01,
James Bottomley79778a22005-08-04 17:33:22 -0500801 0x80, 0xee, 0x30, 0x7e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700802 0x11, 0x6a, 0xdc, 0x01,
James Bottomley79778a22005-08-04 17:33:22 -0500803 0x50, 0xee, 0x34, 0x66,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700804 0x20, 0x6a, 0xd0, 0x01,
805 0x09, 0x6a, 0xdc, 0x01,
James Bottomley79778a22005-08-04 17:33:22 -0500806 0x88, 0xee, 0x3a, 0x66,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700807 0x19, 0x6a, 0xdc, 0x01,
James Bottomley79778a22005-08-04 17:33:22 -0500808 0xd8, 0xee, 0x3e, 0x66,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700809 0xff, 0x6a, 0xdc, 0x09,
James Bottomley79778a22005-08-04 17:33:22 -0500810 0x18, 0xee, 0x42, 0x6e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700811 0xff, 0x6a, 0xd4, 0x0c,
812 0x88, 0x6a, 0xcc, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500813 0x44, 0x6a, 0x04, 0x5e,
814 0x20, 0x6a, 0xe2, 0x5d,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700815 0x01, 0x3b, 0x26, 0x31,
James Bottomley79778a22005-08-04 17:33:22 -0500816 0x04, 0x3b, 0x5c, 0x6e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700817 0xa0, 0x6a, 0xca, 0x00,
818 0x20, 0x65, 0xc8, 0x18,
James Bottomley79778a22005-08-04 17:33:22 -0500819 0x00, 0x65, 0x9a, 0x5e,
820 0x00, 0x65, 0x54, 0x66,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700821 0x0a, 0x93, 0x26, 0x01,
James Bottomley79778a22005-08-04 17:33:22 -0500822 0x00, 0x65, 0xaa, 0x46,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700823 0xa0, 0x6a, 0xcc, 0x00,
824 0xff, 0x6a, 0xc8, 0x08,
James Bottomley79778a22005-08-04 17:33:22 -0500825 0x20, 0x94, 0x60, 0x6e,
826 0x10, 0x94, 0x62, 0x6e,
827 0x08, 0x94, 0x7c, 0x6e,
828 0x08, 0x94, 0x7c, 0x6e,
829 0x08, 0x94, 0x7c, 0x6e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700830 0xff, 0x8c, 0xc8, 0x10,
831 0xc1, 0x64, 0xc8, 0x18,
832 0xf8, 0x64, 0xc8, 0x08,
833 0x01, 0x99, 0xda, 0x30,
James Bottomley79778a22005-08-04 17:33:22 -0500834 0x00, 0x66, 0x70, 0x66,
835 0xc0, 0x66, 0xac, 0x76,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700836 0x60, 0x66, 0xc8, 0x18,
837 0x3d, 0x64, 0xc8, 0x28,
James Bottomley79778a22005-08-04 17:33:22 -0500838 0x00, 0x65, 0x60, 0x46,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700839 0xf7, 0x93, 0x26, 0x09,
James Bottomley79778a22005-08-04 17:33:22 -0500840 0x08, 0x93, 0x7e, 0x6e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700841 0x00, 0x62, 0xc4, 0x18,
James Bottomley79778a22005-08-04 17:33:22 -0500842 0x00, 0x65, 0xaa, 0x5e,
843 0x00, 0x65, 0x8a, 0x5e,
844 0x00, 0x65, 0x8a, 0x5e,
845 0x00, 0x65, 0x8a, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700846 0x01, 0x99, 0xda, 0x30,
847 0x01, 0x99, 0xda, 0x30,
848 0x01, 0x99, 0xda, 0x30,
849 0x01, 0x99, 0xda, 0x30,
850 0x01, 0x99, 0xda, 0x30,
851 0x01, 0x99, 0xda, 0x30,
852 0x01, 0x99, 0xda, 0x30,
853 0x01, 0x99, 0xda, 0x34,
854 0x01, 0x6c, 0x32, 0x31,
855 0x01, 0x6c, 0x32, 0x31,
856 0x01, 0x6c, 0x32, 0x31,
857 0x01, 0x6c, 0x32, 0x31,
858 0x01, 0x6c, 0x32, 0x31,
859 0x01, 0x6c, 0x32, 0x31,
860 0x01, 0x6c, 0x32, 0x31,
861 0x01, 0x6c, 0x32, 0x35,
James Bottomley79778a22005-08-04 17:33:22 -0500862 0x08, 0x94, 0xaa, 0x7e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700863 0xf7, 0x93, 0x26, 0x09,
James Bottomley79778a22005-08-04 17:33:22 -0500864 0x08, 0x93, 0xae, 0x6e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700865 0xff, 0x6a, 0xd4, 0x0c,
James Bottomley79778a22005-08-04 17:33:22 -0500866 0x04, 0xb8, 0xd6, 0x6e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700867 0x01, 0x42, 0x7e, 0x31,
868 0xff, 0x6a, 0x76, 0x01,
869 0x01, 0x90, 0x84, 0x34,
870 0xff, 0x6a, 0x76, 0x05,
871 0x01, 0x85, 0x0a, 0x01,
872 0x7f, 0x65, 0x10, 0x09,
873 0xfe, 0x85, 0x0a, 0x0d,
James Bottomley79778a22005-08-04 17:33:22 -0500874 0xff, 0x42, 0xd2, 0x66,
875 0xff, 0x41, 0xca, 0x66,
876 0xd1, 0x6a, 0xda, 0x5e,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700877 0xff, 0x6a, 0xca, 0x04,
878 0x01, 0x41, 0x20, 0x31,
879 0x01, 0xbf, 0x82, 0x30,
880 0x01, 0x6a, 0x76, 0x00,
James Bottomley79778a22005-08-04 17:33:22 -0500881 0x00, 0xbb, 0x14, 0x46,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700882 0x01, 0x42, 0x20, 0x31,
883 0x01, 0xbf, 0x84, 0x34,
884 0x01, 0x41, 0x7e, 0x31,
885 0x01, 0x90, 0x82, 0x34,
886 0x01, 0x65, 0x22, 0x31,
887 0xff, 0x6a, 0xd4, 0x08,
888 0xff, 0x6a, 0xd4, 0x0c
889};
890
891typedef int ahc_patch_func_t (struct ahc_softc *ahc);
892static ahc_patch_func_t ahc_patch23_func;
893
894static int
895ahc_patch23_func(struct ahc_softc *ahc)
896{
897 return ((ahc->bugs & AHC_SCBCHAN_UPLOAD_BUG) != 0);
898}
899
900static ahc_patch_func_t ahc_patch22_func;
901
902static int
903ahc_patch22_func(struct ahc_softc *ahc)
904{
905 return ((ahc->features & AHC_CMD_CHAN) == 0);
906}
907
908static ahc_patch_func_t ahc_patch21_func;
909
910static int
911ahc_patch21_func(struct ahc_softc *ahc)
912{
913 return ((ahc->features & AHC_QUEUE_REGS) == 0);
914}
915
916static ahc_patch_func_t ahc_patch20_func;
917
918static int
919ahc_patch20_func(struct ahc_softc *ahc)
920{
921 return ((ahc->features & AHC_WIDE) != 0);
922}
923
924static ahc_patch_func_t ahc_patch19_func;
925
926static int
927ahc_patch19_func(struct ahc_softc *ahc)
928{
929 return ((ahc->flags & AHC_SCB_BTT) != 0);
930}
931
932static ahc_patch_func_t ahc_patch18_func;
933
934static int
935ahc_patch18_func(struct ahc_softc *ahc)
936{
937 return ((ahc->bugs & AHC_PCI_2_1_RETRY_BUG) != 0);
938}
939
940static ahc_patch_func_t ahc_patch17_func;
941
942static int
943ahc_patch17_func(struct ahc_softc *ahc)
944{
James Bottomley79778a22005-08-04 17:33:22 -0500945 return ((ahc->bugs & AHC_TMODE_WIDEODD_BUG) != 0);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700946}
947
948static ahc_patch_func_t ahc_patch16_func;
949
950static int
951ahc_patch16_func(struct ahc_softc *ahc)
952{
953 return ((ahc->bugs & AHC_AUTOFLUSH_BUG) != 0);
954}
955
956static ahc_patch_func_t ahc_patch15_func;
957
958static int
959ahc_patch15_func(struct ahc_softc *ahc)
960{
961 return ((ahc->features & AHC_ULTRA2) == 0);
962}
963
964static ahc_patch_func_t ahc_patch14_func;
965
966static int
967ahc_patch14_func(struct ahc_softc *ahc)
968{
969 return ((ahc->bugs & AHC_PCI_MWI_BUG) != 0 && ahc->pci_cachesize != 0);
970}
971
972static ahc_patch_func_t ahc_patch13_func;
973
974static int
975ahc_patch13_func(struct ahc_softc *ahc)
976{
977 return ((ahc->flags & AHC_39BIT_ADDRESSING) != 0);
978}
979
980static ahc_patch_func_t ahc_patch12_func;
981
982static int
983ahc_patch12_func(struct ahc_softc *ahc)
984{
985 return ((ahc->features & AHC_HS_MAILBOX) != 0);
986}
987
988static ahc_patch_func_t ahc_patch11_func;
989
990static int
991ahc_patch11_func(struct ahc_softc *ahc)
992{
993 return ((ahc->features & AHC_ULTRA) != 0);
994}
995
996static ahc_patch_func_t ahc_patch10_func;
997
998static int
999ahc_patch10_func(struct ahc_softc *ahc)
1000{
1001 return ((ahc->features & AHC_MULTI_TID) != 0);
1002}
1003
1004static ahc_patch_func_t ahc_patch9_func;
1005
1006static int
1007ahc_patch9_func(struct ahc_softc *ahc)
1008{
1009 return ((ahc->features & AHC_CMD_CHAN) != 0);
1010}
1011
1012static ahc_patch_func_t ahc_patch8_func;
1013
1014static int
1015ahc_patch8_func(struct ahc_softc *ahc)
1016{
1017 return ((ahc->flags & AHC_INITIATORROLE) != 0);
1018}
1019
1020static ahc_patch_func_t ahc_patch7_func;
1021
1022static int
1023ahc_patch7_func(struct ahc_softc *ahc)
1024{
1025 return ((ahc->flags & AHC_TARGETROLE) != 0);
1026}
1027
1028static ahc_patch_func_t ahc_patch6_func;
1029
1030static int
1031ahc_patch6_func(struct ahc_softc *ahc)
1032{
1033 return ((ahc->features & AHC_DT) == 0);
1034}
1035
1036static ahc_patch_func_t ahc_patch5_func;
1037
1038static int
1039ahc_patch5_func(struct ahc_softc *ahc)
1040{
1041 return ((ahc->flags & AHC_SEQUENCER_DEBUG) != 0);
1042}
1043
1044static ahc_patch_func_t ahc_patch4_func;
1045
1046static int
1047ahc_patch4_func(struct ahc_softc *ahc)
1048{
1049 return ((ahc->flags & AHC_PAGESCBS) != 0);
1050}
1051
1052static ahc_patch_func_t ahc_patch3_func;
1053
1054static int
1055ahc_patch3_func(struct ahc_softc *ahc)
1056{
1057 return ((ahc->features & AHC_QUEUE_REGS) != 0);
1058}
1059
1060static ahc_patch_func_t ahc_patch2_func;
1061
1062static int
1063ahc_patch2_func(struct ahc_softc *ahc)
1064{
1065 return ((ahc->features & AHC_TWIN) != 0);
1066}
1067
1068static ahc_patch_func_t ahc_patch1_func;
1069
1070static int
1071ahc_patch1_func(struct ahc_softc *ahc)
1072{
1073 return ((ahc->features & AHC_ULTRA2) != 0);
1074}
1075
1076static ahc_patch_func_t ahc_patch0_func;
1077
1078static int
1079ahc_patch0_func(struct ahc_softc *ahc)
1080{
1081 return (0);
1082}
1083
1084static struct patch {
1085 ahc_patch_func_t *patch_func;
1086 uint32_t begin :10,
1087 skip_instr :10,
1088 skip_patch :12;
1089} patches[] = {
1090 { ahc_patch1_func, 4, 1, 1 },
1091 { ahc_patch2_func, 6, 2, 1 },
1092 { ahc_patch2_func, 9, 1, 1 },
1093 { ahc_patch3_func, 11, 1, 2 },
1094 { ahc_patch0_func, 12, 2, 1 },
1095 { ahc_patch4_func, 15, 1, 2 },
1096 { ahc_patch0_func, 16, 1, 1 },
1097 { ahc_patch5_func, 22, 2, 1 },
1098 { ahc_patch3_func, 27, 1, 2 },
1099 { ahc_patch0_func, 28, 1, 1 },
1100 { ahc_patch6_func, 34, 1, 1 },
1101 { ahc_patch7_func, 37, 54, 19 },
1102 { ahc_patch8_func, 37, 1, 1 },
1103 { ahc_patch9_func, 42, 3, 2 },
1104 { ahc_patch0_func, 45, 3, 1 },
1105 { ahc_patch10_func, 49, 1, 2 },
1106 { ahc_patch0_func, 50, 2, 3 },
1107 { ahc_patch1_func, 50, 1, 2 },
1108 { ahc_patch0_func, 51, 1, 1 },
1109 { ahc_patch2_func, 53, 2, 1 },
1110 { ahc_patch9_func, 55, 1, 2 },
1111 { ahc_patch0_func, 56, 1, 1 },
1112 { ahc_patch9_func, 60, 1, 2 },
1113 { ahc_patch0_func, 61, 1, 1 },
1114 { ahc_patch9_func, 71, 1, 2 },
1115 { ahc_patch0_func, 72, 1, 1 },
1116 { ahc_patch9_func, 75, 1, 2 },
1117 { ahc_patch0_func, 76, 1, 1 },
1118 { ahc_patch9_func, 79, 1, 2 },
1119 { ahc_patch0_func, 80, 1, 1 },
1120 { ahc_patch8_func, 91, 9, 4 },
1121 { ahc_patch1_func, 93, 1, 2 },
1122 { ahc_patch0_func, 94, 1, 1 },
1123 { ahc_patch2_func, 96, 2, 1 },
1124 { ahc_patch2_func, 105, 4, 1 },
1125 { ahc_patch1_func, 109, 1, 2 },
1126 { ahc_patch0_func, 110, 2, 3 },
1127 { ahc_patch2_func, 110, 1, 2 },
1128 { ahc_patch0_func, 111, 1, 1 },
1129 { ahc_patch7_func, 112, 4, 2 },
1130 { ahc_patch0_func, 116, 1, 1 },
1131 { ahc_patch11_func, 117, 2, 1 },
1132 { ahc_patch1_func, 119, 1, 2 },
1133 { ahc_patch0_func, 120, 1, 1 },
1134 { ahc_patch7_func, 121, 4, 1 },
1135 { ahc_patch7_func, 131, 95, 11 },
1136 { ahc_patch4_func, 151, 1, 1 },
1137 { ahc_patch1_func, 168, 1, 1 },
1138 { ahc_patch12_func, 173, 1, 2 },
1139 { ahc_patch0_func, 174, 1, 1 },
1140 { ahc_patch9_func, 185, 1, 2 },
1141 { ahc_patch0_func, 186, 1, 1 },
1142 { ahc_patch9_func, 195, 1, 2 },
1143 { ahc_patch0_func, 196, 1, 1 },
1144 { ahc_patch9_func, 212, 6, 2 },
1145 { ahc_patch0_func, 218, 6, 1 },
James Bottomley79778a22005-08-04 17:33:22 -05001146 { ahc_patch8_func, 226, 21, 2 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001147 { ahc_patch1_func, 241, 1, 1 },
James Bottomley79778a22005-08-04 17:33:22 -05001148 { ahc_patch1_func, 249, 1, 2 },
1149 { ahc_patch0_func, 250, 2, 2 },
1150 { ahc_patch11_func, 251, 1, 1 },
1151 { ahc_patch9_func, 259, 27, 3 },
1152 { ahc_patch1_func, 275, 10, 2 },
1153 { ahc_patch13_func, 278, 1, 1 },
1154 { ahc_patch14_func, 286, 14, 1 },
1155 { ahc_patch1_func, 302, 1, 2 },
1156 { ahc_patch0_func, 303, 1, 1 },
1157 { ahc_patch9_func, 306, 1, 1 },
1158 { ahc_patch13_func, 311, 1, 1 },
1159 { ahc_patch9_func, 312, 2, 2 },
1160 { ahc_patch0_func, 314, 4, 1 },
1161 { ahc_patch14_func, 318, 1, 1 },
1162 { ahc_patch15_func, 320, 2, 3 },
1163 { ahc_patch9_func, 320, 1, 2 },
1164 { ahc_patch0_func, 321, 1, 1 },
1165 { ahc_patch6_func, 326, 1, 2 },
1166 { ahc_patch0_func, 327, 1, 1 },
1167 { ahc_patch1_func, 331, 47, 11 },
1168 { ahc_patch6_func, 338, 2, 4 },
1169 { ahc_patch7_func, 338, 1, 1 },
1170 { ahc_patch8_func, 339, 1, 1 },
1171 { ahc_patch0_func, 340, 1, 1 },
1172 { ahc_patch16_func, 341, 1, 1 },
1173 { ahc_patch6_func, 357, 6, 3 },
1174 { ahc_patch16_func, 357, 5, 1 },
1175 { ahc_patch0_func, 363, 7, 1 },
1176 { ahc_patch13_func, 373, 5, 1 },
1177 { ahc_patch0_func, 378, 52, 17 },
1178 { ahc_patch14_func, 378, 1, 1 },
1179 { ahc_patch7_func, 380, 2, 2 },
1180 { ahc_patch17_func, 381, 1, 1 },
1181 { ahc_patch9_func, 384, 1, 1 },
1182 { ahc_patch18_func, 391, 1, 1 },
1183 { ahc_patch14_func, 396, 9, 3 },
1184 { ahc_patch9_func, 397, 3, 2 },
1185 { ahc_patch0_func, 400, 3, 1 },
1186 { ahc_patch9_func, 408, 6, 2 },
1187 { ahc_patch0_func, 414, 9, 2 },
1188 { ahc_patch13_func, 414, 1, 1 },
1189 { ahc_patch13_func, 423, 2, 1 },
1190 { ahc_patch14_func, 425, 1, 1 },
1191 { ahc_patch9_func, 427, 1, 2 },
1192 { ahc_patch0_func, 428, 1, 1 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001193 { ahc_patch7_func, 429, 1, 1 },
James Bottomley79778a22005-08-04 17:33:22 -05001194 { ahc_patch7_func, 430, 1, 1 },
1195 { ahc_patch8_func, 431, 3, 3 },
1196 { ahc_patch6_func, 432, 1, 2 },
1197 { ahc_patch0_func, 433, 1, 1 },
1198 { ahc_patch9_func, 434, 1, 1 },
1199 { ahc_patch15_func, 435, 1, 2 },
1200 { ahc_patch13_func, 435, 1, 1 },
1201 { ahc_patch14_func, 437, 9, 4 },
1202 { ahc_patch9_func, 437, 1, 1 },
1203 { ahc_patch9_func, 444, 2, 1 },
1204 { ahc_patch0_func, 446, 4, 3 },
1205 { ahc_patch9_func, 446, 1, 2 },
1206 { ahc_patch0_func, 447, 3, 1 },
1207 { ahc_patch1_func, 451, 2, 1 },
1208 { ahc_patch7_func, 453, 10, 2 },
1209 { ahc_patch0_func, 463, 1, 1 },
1210 { ahc_patch8_func, 464, 118, 22 },
1211 { ahc_patch1_func, 466, 3, 2 },
1212 { ahc_patch0_func, 469, 5, 3 },
1213 { ahc_patch9_func, 469, 2, 2 },
1214 { ahc_patch0_func, 471, 3, 1 },
1215 { ahc_patch1_func, 476, 2, 2 },
1216 { ahc_patch0_func, 478, 6, 3 },
1217 { ahc_patch9_func, 478, 2, 2 },
1218 { ahc_patch0_func, 480, 3, 1 },
1219 { ahc_patch1_func, 486, 2, 2 },
1220 { ahc_patch0_func, 488, 9, 7 },
1221 { ahc_patch9_func, 488, 5, 6 },
1222 { ahc_patch19_func, 488, 1, 2 },
1223 { ahc_patch0_func, 489, 1, 1 },
1224 { ahc_patch19_func, 491, 1, 2 },
1225 { ahc_patch0_func, 492, 1, 1 },
1226 { ahc_patch0_func, 493, 4, 1 },
1227 { ahc_patch6_func, 498, 3, 2 },
1228 { ahc_patch0_func, 501, 1, 1 },
1229 { ahc_patch6_func, 511, 1, 2 },
1230 { ahc_patch0_func, 512, 1, 1 },
1231 { ahc_patch20_func, 549, 7, 1 },
1232 { ahc_patch3_func, 584, 1, 2 },
1233 { ahc_patch0_func, 585, 1, 1 },
1234 { ahc_patch21_func, 588, 1, 1 },
1235 { ahc_patch8_func, 590, 106, 33 },
1236 { ahc_patch4_func, 592, 1, 1 },
1237 { ahc_patch1_func, 598, 2, 2 },
1238 { ahc_patch0_func, 600, 1, 1 },
1239 { ahc_patch1_func, 603, 1, 2 },
1240 { ahc_patch0_func, 604, 1, 1 },
1241 { ahc_patch9_func, 605, 3, 3 },
1242 { ahc_patch15_func, 606, 1, 1 },
1243 { ahc_patch0_func, 608, 4, 1 },
1244 { ahc_patch19_func, 617, 2, 2 },
1245 { ahc_patch0_func, 619, 1, 1 },
1246 { ahc_patch19_func, 623, 10, 3 },
1247 { ahc_patch5_func, 625, 8, 1 },
1248 { ahc_patch0_func, 633, 9, 2 },
1249 { ahc_patch5_func, 634, 8, 1 },
1250 { ahc_patch4_func, 644, 1, 2 },
1251 { ahc_patch0_func, 645, 1, 1 },
1252 { ahc_patch19_func, 646, 1, 2 },
1253 { ahc_patch0_func, 647, 3, 2 },
1254 { ahc_patch4_func, 649, 1, 1 },
1255 { ahc_patch5_func, 650, 1, 1 },
1256 { ahc_patch5_func, 653, 1, 1 },
1257 { ahc_patch5_func, 655, 1, 1 },
1258 { ahc_patch4_func, 657, 2, 2 },
1259 { ahc_patch0_func, 659, 2, 1 },
1260 { ahc_patch5_func, 661, 1, 1 },
1261 { ahc_patch5_func, 664, 1, 1 },
1262 { ahc_patch5_func, 667, 1, 1 },
1263 { ahc_patch19_func, 671, 1, 1 },
1264 { ahc_patch19_func, 674, 1, 1 },
1265 { ahc_patch4_func, 680, 1, 1 },
1266 { ahc_patch6_func, 683, 1, 2 },
1267 { ahc_patch0_func, 684, 1, 1 },
1268 { ahc_patch7_func, 696, 16, 1 },
1269 { ahc_patch4_func, 712, 20, 1 },
1270 { ahc_patch9_func, 733, 4, 2 },
1271 { ahc_patch0_func, 737, 4, 1 },
1272 { ahc_patch9_func, 741, 4, 2 },
1273 { ahc_patch0_func, 745, 3, 1 },
1274 { ahc_patch6_func, 751, 1, 1 },
1275 { ahc_patch22_func, 753, 14, 1 },
1276 { ahc_patch7_func, 767, 3, 1 },
1277 { ahc_patch9_func, 779, 24, 8 },
1278 { ahc_patch19_func, 783, 1, 2 },
1279 { ahc_patch0_func, 784, 1, 1 },
1280 { ahc_patch15_func, 789, 4, 2 },
1281 { ahc_patch0_func, 793, 7, 3 },
1282 { ahc_patch23_func, 793, 5, 2 },
1283 { ahc_patch0_func, 798, 2, 1 },
1284 { ahc_patch0_func, 803, 42, 3 },
1285 { ahc_patch18_func, 815, 18, 2 },
1286 { ahc_patch0_func, 833, 1, 1 },
1287 { ahc_patch4_func, 857, 1, 1 },
1288 { ahc_patch4_func, 858, 3, 2 },
1289 { ahc_patch0_func, 861, 1, 1 },
1290 { ahc_patch13_func, 862, 3, 1 },
1291 { ahc_patch4_func, 865, 12, 1 }
Linus Torvalds1da177e2005-04-16 15:20:36 -07001292};
1293
1294static struct cs {
1295 uint16_t begin;
1296 uint16_t end;
1297} critical_sections[] = {
1298 { 11, 18 },
1299 { 21, 30 },
James Bottomley79778a22005-08-04 17:33:22 -05001300 { 712, 728 },
1301 { 858, 861 },
1302 { 865, 871 },
1303 { 873, 875 },
1304 { 875, 877 }
Linus Torvalds1da177e2005-04-16 15:20:36 -07001305};
1306
1307static const int num_critical_sections = sizeof(critical_sections)
1308 / sizeof(*critical_sections);