xref: /illumos-gate/usr/src/uts/common/sys/scsi/adapters/scr.out (revision ddb365bfc9e868ad24ccdcb0dc91af18b10df082)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License").  You may not use this file except in compliance
7 * with the License.
8 *
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
13 *
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
19 *
20 * CDDL HEADER END
21 */
22/*
23 * Copyright (c) 1999-2001 by Sun Microsystems, Inc.
24 * All rights reserved.
25 */
26
27typedef unsigned int UINT;
28
29UINT	SCRIPT[] = {
30	0x47000000u,	0x00000190u,
31	0x9E030000u,	NINT_ILI_PHASE,
32	0x1E000000u,	NTOFFSET(nt_sendmsg),
33	0x828B0000u,	0x000003D0u,
34	0x86830000u,	0x00000250u,
35	0x58000008u,	0x00000000u,
36	0x80880000u,	0xFFFFFFD8u,
37	0x60000040u,	0x00000000u,
38	0x80880000u,	0x00000230u,
39	0x60000008u,	0x00000000u,
40	0x80880000u,	0x00000220u,
41	0x58000008u,	0x00000000u,
42	0x60000040u,	0x00000000u,
43	0x868B0000u,	0x00000008u,
44	0x80880000u,	0x00000200u,
45	0x1E000000u,	NTOFFSET(nt_errmsg),
46	0x86830000u,	0x000001F0u,
47	0x80880000u,	0xFFFFFFE8u,
48	0x58000008u,	0x00000000u,
49	0x60000040u,	0x00000000u,
50	0x9E030000u,	NINT_ILI_PHASE,
51	0x1E000000u,	NTOFFSET(nt_errmsg),
52	0x86830000u,	0x00000010u,
53	0x58000008u,	0x00000000u,
54	0x80880000u,	0xFFFFFFE0u,
55	0x78020000u,	0x00000000u,
56	0x60000040u,	0x00000000u,
57	0x48000000u,	0x00000000u,
58	0x98080000u,	NINT_OK,
59	0x78020000u,	0x00000000u,
60	0x47000000u,	0x000000A0u,
61	0x9E030000u,	NINT_ILI_PHASE,
62	0x1E000000u,	NTOFFSET(nt_sendmsg),
63	0x60000040u,	0x00000000u,
64	0x7C027F00u,	0x00000000u,
65	0x48000000u,	0x00000000u,
66	0x98080000u,	NINT_DEV_RESET,
67	0x58000008u,	0x00000000u,
68	0x60000040u,	0x00000000u,
69	0x868B0000u,	0x00000010u,
70	0x60000008u,	0x00000000u,
71	0x98080000u,	NINT_NEG_REJECT,
72	0x1E000000u,	NTOFFSET(nt_sendmsg),
73	0x86830000u,	0x00000010u,
74	0x58000008u,	0x00000000u,
75	0x80880000u,	0xFFFFFFE0u,
76	0x87830000u,	0x00000100u,
77	0x1F000000u,	NTOFFSET(nt_rcvmsg),
78	0x80840007u,	0x00000140u,
79	0x78050000u,	0x00000000u,
80	0x98080000u,	NINT_NEG_REJECT,
81	0x54000000u,	0x000000B8u,
82	0x710A0000u,	0x00000000u,
83	0x69080000u,	0x00000000u,
84	0x6C103C00u,	0x00000000u,
85	0x725D0000u,	0x00000000u,
86	0x6A110000u,	0x00000000u,
87	0x725E0000u,	0x00000000u,
88	0x6A120000u,	0x00000000u,
89	0x725F0000u,	0x00000000u,
90	0x6A130000u,	0x00000000u,
91	0x46000000u,	0x00000000u,
92	0x78100000u,	0x00000000u,
93	0x9F030000u,	NINT_MSGIN,
94	0x1F000000u,	HBAOFFSET(g_rcvmsg),
95	0x60000040u,	0x00000000u,
96	0x9F030000u,	NINT_RESEL,
97	0x1F000000u,	HBAOFFSET(g_moremsgin),
98	0x808C0004u,	0x00000100u,
99	0x808C0120u,	0x00000008u,
100	0x98040022u,	NINT_RESEL,
101	0x60000040u,	0x00000000u,
102	0x1F000000u,	HBAOFFSET(g_tagmsg),
103	0x60000040u,	0x00000000u,
104	0x98080000u,	NINT_RESEL,
105	0x721A0000u,	0x00000000u,
106	0x74011000u,	0x00000000u,
107	0x98040010u,	NINT_SIGPROC,
108	0x80880000u,	0xFFFFFF20u,
109	0x878B0000u,	0x00000040u,
110	0x808A0000u,	0x000001B8u,
111	0x818A0000u,	0x000002E8u,
112	0x838A0000u,	0x00000170u,
113	0x828A0000u,	0x00000150u,
114	0x868B0000u,	0xFFFFFDD0u,
115	0x848A0000u,	0x00000400u,
116	0x858A0000u,	0x00000530u,
117	0x98080000u,	NINT_ILI_PHASE,
118	0x1F000000u,	NTOFFSET(nt_rcvmsg),
119	0x808C0000u,	0x00000150u,
120	0x980C0002u,	NINT_SDP_MSG,
121	0x808C0004u,	0x00000028u,
122	0x980C0003u,	NINT_RP_MSG,
123	0x980C0007u,	NINT_MSGREJ,
124	0x808C0001u,	0x00000050u,
125	0x808C0023u,	0x00000078u,
126	0x98080000u,	NINT_UNS_MSG,
127	0x78020000u,	0x00000000u,
128	0x60000040u,	0x00000000u,
129	0x48000000u,	0x00000000u,
130	0x98080000u,	NINT_DISC,
131	0x78020000u,	0x00000000u,
132	0x60000040u,	0x00000000u,
133	0x48000000u,	0x00000000u,
134	0x98080000u,	NINT_RESEL,
135	0x60000040u,	0x00000000u,
136	0x1F000000u,	NTOFFSET(nt_extmsg),
137	0x808C0002u,	0x00000068u,
138	0x808C0003u,	0x00000040u,
139	0x808C0006u,	0x00000020u,
140	0x98080000u,	NINT_UNS_EXTMSG,
141	0x60000040u,	0x00000000u,
142	0x1F000000u,	NTOFFSET(nt_rcvmsg),
143	0x98080000u,	NINT_IWR,
144	0x60000040u,	0x00000000u,
145	0x1F000000u,	NTOFFSET(nt_pprin),
146	0x980C0004u,	NINT_PPR,
147	0x60000040u,	0x00000000u,
148	0x1F000000u,	NTOFFSET(nt_syncin),
149	0x980C0001u,	NINT_SDTR,
150	0x98080000u,	NINT_UNS_EXTMSG,
151	0x60000040u,	0x00000000u,
152	0x1F000000u,	NTOFFSET(nt_widein),
153	0x980C0003u,	NINT_WDTR,
154	0x98080000u,	NINT_UNS_EXTMSG,
155	0x98080000u,	NINT_PMM,
156	0x1A000000u,	NTOFFSET(nt_cmd),
157	0x878B0000u,	0xFFFFFEC0u,
158	0x80880000u,	0xFFFFFE70u,
159	0x1B000000u,	NTOFFSET(nt_status),
160	0x87830000u,	0xFFFFFE60u,
161	0x1F000000u,	NTOFFSET(nt_rcvmsg),
162	0x78020000u,	0x00000000u,
163	0x60000040u,	0x00000000u,
164	0x48000000u,	0x00000000u,
165	0x98080000u,	NINT_OK,
166	0x72340000u,	0x00000000u,
167	0x980C0000u,	NINT_TOOMUCHDATA,
168	0x808C0001u,	0x00000108u,
169	0x808C0002u,	0x000000F8u,
170	0x808C0003u,	0x000000E8u,
171	0x808C0004u,	0x000000D8u,
172	0x808C0005u,	0x000000C8u,
173	0x808C0006u,	0x000000B8u,
174	0x808C0007u,	0x000000A8u,
175	0x808C0008u,	0x00000098u,
176	0x808C0009u,	0x00000088u,
177	0x808C000Au,	0x00000078u,
178	0x808C000Bu,	0x00000068u,
179	0x808C000Cu,	0x00000058u,
180	0x808C000Du,	0x00000048u,
181	0x808C000Eu,	0x00000038u,
182	0x808C000Fu,	0x00000028u,
183	0x808C0010u,	0x00000018u,
184	0x808C0011u,	0x00000008u,
185	0x98080000u,	NINT_TOOMUCHDATA,
186	0x18000000u,	NTOFFSET(nt_data[16]),
187	0x18000000u,	NTOFFSET(nt_data[15]),
188	0x18000000u,	NTOFFSET(nt_data[14]),
189	0x18000000u,	NTOFFSET(nt_data[13]),
190	0x18000000u,	NTOFFSET(nt_data[12]),
191	0x18000000u,	NTOFFSET(nt_data[11]),
192	0x18000000u,	NTOFFSET(nt_data[10]),
193	0x18000000u,	NTOFFSET(nt_data[9]),
194	0x18000000u,	NTOFFSET(nt_data[8]),
195	0x18000000u,	NTOFFSET(nt_data[7]),
196	0x18000000u,	NTOFFSET(nt_data[6]),
197	0x18000000u,	NTOFFSET(nt_data[5]),
198	0x18000000u,	NTOFFSET(nt_data[4]),
199	0x18000000u,	NTOFFSET(nt_data[3]),
200	0x18000000u,	NTOFFSET(nt_data[2]),
201	0x18000000u,	NTOFFSET(nt_data[1]),
202	0x18000000u,	NTOFFSET(nt_data[0]),
203	0x78340000u,	0x00000000u,
204	0x80880000u,	0xFFFFFD00u,
205	0x72340000u,	0x00000000u,
206	0x980C0000u,	NINT_TOOMUCHDATA,
207	0x808C0001u,	0x00000108u,
208	0x808C0002u,	0x000000F8u,
209	0x808C0003u,	0x000000E8u,
210	0x808C0004u,	0x000000D8u,
211	0x808C0005u,	0x000000C8u,
212	0x808C0006u,	0x000000B8u,
213	0x808C0007u,	0x000000A8u,
214	0x808C0008u,	0x00000098u,
215	0x808C0009u,	0x00000088u,
216	0x808C000Au,	0x00000078u,
217	0x808C000Bu,	0x00000068u,
218	0x808C000Cu,	0x00000058u,
219	0x808C000Du,	0x00000048u,
220	0x808C000Eu,	0x00000038u,
221	0x808C000Fu,	0x00000028u,
222	0x808C0010u,	0x00000018u,
223	0x808C0011u,	0x00000008u,
224	0x98080000u,	NINT_TOOMUCHDATA,
225	0x19000000u,	NTOFFSET(nt_data[16]),
226	0x19000000u,	NTOFFSET(nt_data[15]),
227	0x19000000u,	NTOFFSET(nt_data[14]),
228	0x19000000u,	NTOFFSET(nt_data[13]),
229	0x19000000u,	NTOFFSET(nt_data[12]),
230	0x19000000u,	NTOFFSET(nt_data[11]),
231	0x19000000u,	NTOFFSET(nt_data[10]),
232	0x19000000u,	NTOFFSET(nt_data[9]),
233	0x19000000u,	NTOFFSET(nt_data[8]),
234	0x19000000u,	NTOFFSET(nt_data[7]),
235	0x19000000u,	NTOFFSET(nt_data[6]),
236	0x19000000u,	NTOFFSET(nt_data[5]),
237	0x19000000u,	NTOFFSET(nt_data[4]),
238	0x19000000u,	NTOFFSET(nt_data[3]),
239	0x19000000u,	NTOFFSET(nt_data[2]),
240	0x19000000u,	NTOFFSET(nt_data[1]),
241	0x19000000u,	NTOFFSET(nt_data[0]),
242	0x78340000u,	0x00000000u,
243	0x80880000u,	0xFFFFFBC8u,
244	0x72340000u,	0x00000000u,
245	0x980C0000u,	NINT_TOOMUCHDATA,
246	0x808C0001u,	0x00000108u,
247	0x808C0002u,	0x000000F8u,
248	0x808C0003u,	0x000000E8u,
249	0x808C0004u,	0x000000D8u,
250	0x808C0005u,	0x000000C8u,
251	0x808C0006u,	0x000000B8u,
252	0x808C0007u,	0x000000A8u,
253	0x808C0008u,	0x00000098u,
254	0x808C0009u,	0x00000088u,
255	0x808C000Au,	0x00000078u,
256	0x808C000Bu,	0x00000068u,
257	0x808C000Cu,	0x00000058u,
258	0x808C000Du,	0x00000048u,
259	0x808C000Eu,	0x00000038u,
260	0x808C000Fu,	0x00000028u,
261	0x808C0010u,	0x00000018u,
262	0x808C0011u,	0x00000008u,
263	0x98080000u,	NINT_TOOMUCHDATA,
264	0x1C000000u,	NTOFFSET(nt_data[16]),
265	0x1C000000u,	NTOFFSET(nt_data[15]),
266	0x1C000000u,	NTOFFSET(nt_data[14]),
267	0x1C000000u,	NTOFFSET(nt_data[13]),
268	0x1C000000u,	NTOFFSET(nt_data[12]),
269	0x1C000000u,	NTOFFSET(nt_data[11]),
270	0x1C000000u,	NTOFFSET(nt_data[10]),
271	0x1C000000u,	NTOFFSET(nt_data[9]),
272	0x1C000000u,	NTOFFSET(nt_data[8]),
273	0x1C000000u,	NTOFFSET(nt_data[7]),
274	0x1C000000u,	NTOFFSET(nt_data[6]),
275	0x1C000000u,	NTOFFSET(nt_data[5]),
276	0x1C000000u,	NTOFFSET(nt_data[4]),
277	0x1C000000u,	NTOFFSET(nt_data[3]),
278	0x1C000000u,	NTOFFSET(nt_data[2]),
279	0x1C000000u,	NTOFFSET(nt_data[1]),
280	0x1C000000u,	NTOFFSET(nt_data[0]),
281	0x78340000u,	0x00000000u,
282	0x80880000u,	0xFFFFFA90u,
283	0x72340000u,	0x00000000u,
284	0x980C0000u,	NINT_TOOMUCHDATA,
285	0x808C0001u,	0x00000108u,
286	0x808C0002u,	0x000000F8u,
287	0x808C0003u,	0x000000E8u,
288	0x808C0004u,	0x000000D8u,
289	0x808C0005u,	0x000000C8u,
290	0x808C0006u,	0x000000B8u,
291	0x808C0007u,	0x000000A8u,
292	0x808C0008u,	0x00000098u,
293	0x808C0009u,	0x00000088u,
294	0x808C000Au,	0x00000078u,
295	0x808C000Bu,	0x00000068u,
296	0x808C000Cu,	0x00000058u,
297	0x808C000Du,	0x00000048u,
298	0x808C000Eu,	0x00000038u,
299	0x808C000Fu,	0x00000028u,
300	0x808C0010u,	0x00000018u,
301	0x808C0011u,	0x00000008u,
302	0x98080000u,	NINT_TOOMUCHDATA,
303	0x1D000000u,	NTOFFSET(nt_data[16]),
304	0x1D000000u,	NTOFFSET(nt_data[15]),
305	0x1D000000u,	NTOFFSET(nt_data[14]),
306	0x1D000000u,	NTOFFSET(nt_data[13]),
307	0x1D000000u,	NTOFFSET(nt_data[12]),
308	0x1D000000u,	NTOFFSET(nt_data[11]),
309	0x1D000000u,	NTOFFSET(nt_data[10]),
310	0x1D000000u,	NTOFFSET(nt_data[9]),
311	0x1D000000u,	NTOFFSET(nt_data[8]),
312	0x1D000000u,	NTOFFSET(nt_data[7]),
313	0x1D000000u,	NTOFFSET(nt_data[6]),
314	0x1D000000u,	NTOFFSET(nt_data[5]),
315	0x1D000000u,	NTOFFSET(nt_data[4]),
316	0x1D000000u,	NTOFFSET(nt_data[3]),
317	0x1D000000u,	NTOFFSET(nt_data[2]),
318	0x1D000000u,	NTOFFSET(nt_data[1]),
319	0x1D000000u,	NTOFFSET(nt_data[0]),
320	0x78340000u,	0x00000000u,
321	0x80880000u,	0xFFFFF958u
322
323};
324
325#define Abs_Count 1
326char *Absolute_Names[Abs_Count] = {
327	"NBIT_ICON"
328};
329
330#define A_NBIT_ICON	0x00000010u
331UINT A_NBIT_ICON_Used[] = {
332	0x00000098u,
333	0x0000009Au
334};
335
336#define Ent_abort            	0x00000090u
337#define Ent_continue         	0x00000048u
338#define Ent_clear_ack        	0x00000038u
339#define Ent_dev_reset        	0x000000E8u
340#define Ent_di_list_end      	0x000006A0u
341#define Ent_do_list_end      	0x00000568u
342#define Ent_dt_di_list_end   	0x00000910u
343#define Ent_dt_do_list_end   	0x000007D8u
344#define Ent_ext_msg_in       	0x00000348u
345#define Ent_errmsg           	0x00000058u
346#define Ent_ext_msg_out      	0x00000128u
347#define Ent_phase_mis_match  	0x000003E8u
348#define Ent_resel_m          	0x00000198u
349#define Ent_start_up         	0x00000000u
350
351
352UINT	INSTRUCTIONS	= 0x00000124u;
353UINT	PATCHES		= 0x00000000u;
354