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