xref: /titanic_51/usr/src/uts/common/pcmcia/cis/cis_callout.c (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1*7c478bd9Sstevel@tonic-gate /*
2*7c478bd9Sstevel@tonic-gate  * CDDL HEADER START
3*7c478bd9Sstevel@tonic-gate  *
4*7c478bd9Sstevel@tonic-gate  * The contents of this file are subject to the terms of the
5*7c478bd9Sstevel@tonic-gate  * Common Development and Distribution License, Version 1.0 only
6*7c478bd9Sstevel@tonic-gate  * (the "License").  You may not use this file except in compliance
7*7c478bd9Sstevel@tonic-gate  * with the License.
8*7c478bd9Sstevel@tonic-gate  *
9*7c478bd9Sstevel@tonic-gate  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*7c478bd9Sstevel@tonic-gate  * or http://www.opensolaris.org/os/licensing.
11*7c478bd9Sstevel@tonic-gate  * See the License for the specific language governing permissions
12*7c478bd9Sstevel@tonic-gate  * and limitations under the License.
13*7c478bd9Sstevel@tonic-gate  *
14*7c478bd9Sstevel@tonic-gate  * When distributing Covered Code, include this CDDL HEADER in each
15*7c478bd9Sstevel@tonic-gate  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*7c478bd9Sstevel@tonic-gate  * If applicable, add the following below this CDDL HEADER, with the
17*7c478bd9Sstevel@tonic-gate  * fields enclosed by brackets "[]" replaced with your own identifying
18*7c478bd9Sstevel@tonic-gate  * information: Portions Copyright [yyyy] [name of copyright owner]
19*7c478bd9Sstevel@tonic-gate  *
20*7c478bd9Sstevel@tonic-gate  * CDDL HEADER END
21*7c478bd9Sstevel@tonic-gate  */
22*7c478bd9Sstevel@tonic-gate /*
23*7c478bd9Sstevel@tonic-gate  * Copyright (c) 1995-1996 by Sun Microsystems, Inc.
24*7c478bd9Sstevel@tonic-gate  * All rights reserved.
25*7c478bd9Sstevel@tonic-gate  */
26*7c478bd9Sstevel@tonic-gate 
27*7c478bd9Sstevel@tonic-gate #pragma ident	"%Z%%M%	%I%	%E% SMI"
28*7c478bd9Sstevel@tonic-gate 
29*7c478bd9Sstevel@tonic-gate /*
30*7c478bd9Sstevel@tonic-gate  * This file contains an array of structures, each of which refers to
31*7c478bd9Sstevel@tonic-gate  *	a tuple that we are prepared to handle.  The last structure
32*7c478bd9Sstevel@tonic-gate  *	in this array must have a type of CISTPL_END.
33*7c478bd9Sstevel@tonic-gate  *
34*7c478bd9Sstevel@tonic-gate  * If you want the generic tuple handler to be called for a tuple, use
35*7c478bd9Sstevel@tonic-gate  *	the cis_no_tuple_handler() entry point.
36*7c478bd9Sstevel@tonic-gate  */
37*7c478bd9Sstevel@tonic-gate 
38*7c478bd9Sstevel@tonic-gate #include <sys/types.h>
39*7c478bd9Sstevel@tonic-gate #include <sys/systm.h>
40*7c478bd9Sstevel@tonic-gate #include <sys/user.h>
41*7c478bd9Sstevel@tonic-gate #include <sys/buf.h>
42*7c478bd9Sstevel@tonic-gate #include <sys/file.h>
43*7c478bd9Sstevel@tonic-gate #include <sys/uio.h>
44*7c478bd9Sstevel@tonic-gate #include <sys/conf.h>
45*7c478bd9Sstevel@tonic-gate #include <sys/stat.h>
46*7c478bd9Sstevel@tonic-gate #include <sys/autoconf.h>
47*7c478bd9Sstevel@tonic-gate #include <sys/vtoc.h>
48*7c478bd9Sstevel@tonic-gate #include <sys/dkio.h>
49*7c478bd9Sstevel@tonic-gate #include <sys/ddi.h>
50*7c478bd9Sstevel@tonic-gate #include <sys/sunddi.h>
51*7c478bd9Sstevel@tonic-gate #include <sys/debug.h>
52*7c478bd9Sstevel@tonic-gate #include <sys/ddi_impldefs.h>
53*7c478bd9Sstevel@tonic-gate #include <sys/kstat.h>
54*7c478bd9Sstevel@tonic-gate #include <sys/kmem.h>
55*7c478bd9Sstevel@tonic-gate #include <sys/modctl.h>
56*7c478bd9Sstevel@tonic-gate #include <sys/kobj.h>
57*7c478bd9Sstevel@tonic-gate #include <sys/callb.h>
58*7c478bd9Sstevel@tonic-gate 
59*7c478bd9Sstevel@tonic-gate #include <sys/pctypes.h>
60*7c478bd9Sstevel@tonic-gate #include <pcmcia/sys/cs_types.h>
61*7c478bd9Sstevel@tonic-gate #include <pcmcia/sys/cis.h>
62*7c478bd9Sstevel@tonic-gate #include <pcmcia/sys/cis_handlers.h>
63*7c478bd9Sstevel@tonic-gate #include <pcmcia/sys/cs.h>
64*7c478bd9Sstevel@tonic-gate #include <pcmcia/sys/cs_priv.h>
65*7c478bd9Sstevel@tonic-gate #include <pcmcia/sys/cis_protos.h>
66*7c478bd9Sstevel@tonic-gate 
67*7c478bd9Sstevel@tonic-gate /*
68*7c478bd9Sstevel@tonic-gate  * cistpl_std_callout - callout list for standard tuples
69*7c478bd9Sstevel@tonic-gate  */
70*7c478bd9Sstevel@tonic-gate cistpl_callout_t cistpl_std_callout[] = {
71*7c478bd9Sstevel@tonic-gate 	{	CISTPL_DEVICE,			/* device information */
72*7c478bd9Sstevel@tonic-gate 		0,
73*7c478bd9Sstevel@tonic-gate 		0,
74*7c478bd9Sstevel@tonic-gate 		cistpl_device_handler,
75*7c478bd9Sstevel@tonic-gate 		"CISTPL_DEVICE"		},
76*7c478bd9Sstevel@tonic-gate 	{	CISTPL_CHECKSUM,		/* checksum control */
77*7c478bd9Sstevel@tonic-gate 		0,
78*7c478bd9Sstevel@tonic-gate 		0,
79*7c478bd9Sstevel@tonic-gate 		cis_no_tuple_handler,
80*7c478bd9Sstevel@tonic-gate 		"CISTPL_CHECKSUM"	},
81*7c478bd9Sstevel@tonic-gate 	{	CISTPL_LONGLINK_A,		/* long-link to AM */
82*7c478bd9Sstevel@tonic-gate 		0,
83*7c478bd9Sstevel@tonic-gate 		0,
84*7c478bd9Sstevel@tonic-gate 		cistpl_longlink_ac_handler,
85*7c478bd9Sstevel@tonic-gate 		"CISTPL_LONGLINK_A"	},
86*7c478bd9Sstevel@tonic-gate 	{	CISTPL_LONGLINK_C,		/* long-link to CM */
87*7c478bd9Sstevel@tonic-gate 		0,
88*7c478bd9Sstevel@tonic-gate 		0,
89*7c478bd9Sstevel@tonic-gate 		cistpl_longlink_ac_handler,
90*7c478bd9Sstevel@tonic-gate 		"CISTPL_LONGLINK_C"	},
91*7c478bd9Sstevel@tonic-gate 	{	CISTPL_LONGLINK_MFC,		/* long-link to MFC CIS */
92*7c478bd9Sstevel@tonic-gate 		0,
93*7c478bd9Sstevel@tonic-gate 		0,
94*7c478bd9Sstevel@tonic-gate 		cistpl_longlink_mfc_handler,
95*7c478bd9Sstevel@tonic-gate 		"CISTPL_LONGLINK_MFC"	},
96*7c478bd9Sstevel@tonic-gate 	{	CISTPL_LINKTARGET,		/* link-target control */
97*7c478bd9Sstevel@tonic-gate 		0,
98*7c478bd9Sstevel@tonic-gate 		0,
99*7c478bd9Sstevel@tonic-gate 		cistpl_linktarget_handler,
100*7c478bd9Sstevel@tonic-gate 		"CISTPL_LINKTARGET"	},
101*7c478bd9Sstevel@tonic-gate 	{	CISTPL_NO_LINK,			/* no-link control */
102*7c478bd9Sstevel@tonic-gate 		0,
103*7c478bd9Sstevel@tonic-gate 		0,
104*7c478bd9Sstevel@tonic-gate 		cis_no_tuple_handler,
105*7c478bd9Sstevel@tonic-gate 		"CISTPL_NO_LINK"	},
106*7c478bd9Sstevel@tonic-gate 	{	CISTPL_VERS_1,			/* level 1 version info */
107*7c478bd9Sstevel@tonic-gate 		0,
108*7c478bd9Sstevel@tonic-gate 		0,
109*7c478bd9Sstevel@tonic-gate 		cistpl_vers_1_handler,
110*7c478bd9Sstevel@tonic-gate 		"CISTPL_VERS_1"		},
111*7c478bd9Sstevel@tonic-gate 	{	CISTPL_ALTSTR,			/* alternate language string */
112*7c478bd9Sstevel@tonic-gate 		0,
113*7c478bd9Sstevel@tonic-gate 		0,
114*7c478bd9Sstevel@tonic-gate 		cis_no_tuple_handler,
115*7c478bd9Sstevel@tonic-gate 		"CISTPL_ALTSTR"		},
116*7c478bd9Sstevel@tonic-gate 	{	CISTPL_DEVICE_A,		/* AM device information */
117*7c478bd9Sstevel@tonic-gate 		0,
118*7c478bd9Sstevel@tonic-gate 		0,
119*7c478bd9Sstevel@tonic-gate 		cistpl_device_handler,
120*7c478bd9Sstevel@tonic-gate 		"CISTPL_DEVICE_A"	},
121*7c478bd9Sstevel@tonic-gate 	{	CISTPL_JEDEC_C,			/* JEDEC info for CM */
122*7c478bd9Sstevel@tonic-gate 		0,
123*7c478bd9Sstevel@tonic-gate 		0,
124*7c478bd9Sstevel@tonic-gate 		cistpl_jedec_handler,
125*7c478bd9Sstevel@tonic-gate 		"CISTPL_JEDEC_C"	},
126*7c478bd9Sstevel@tonic-gate 	{	CISTPL_JEDEC_A,			/* JEDEC info for AM */
127*7c478bd9Sstevel@tonic-gate 		0,
128*7c478bd9Sstevel@tonic-gate 		0,
129*7c478bd9Sstevel@tonic-gate 		cistpl_jedec_handler,
130*7c478bd9Sstevel@tonic-gate 		"CISTPL_JEDEC_A"	},
131*7c478bd9Sstevel@tonic-gate 	{	CISTPL_CONFIG,			/* configuration */
132*7c478bd9Sstevel@tonic-gate 		0,
133*7c478bd9Sstevel@tonic-gate 		0,
134*7c478bd9Sstevel@tonic-gate 		cistpl_config_handler,
135*7c478bd9Sstevel@tonic-gate 		"CISTPL_CONFIG"		},
136*7c478bd9Sstevel@tonic-gate 	{	CISTPL_CFTABLE_ENTRY,		/* configuration-table-entry */
137*7c478bd9Sstevel@tonic-gate 		0,
138*7c478bd9Sstevel@tonic-gate 		0,
139*7c478bd9Sstevel@tonic-gate 		cistpl_cftable_handler,
140*7c478bd9Sstevel@tonic-gate 		"CISTPL_CFTABLE_ENTRY"	},
141*7c478bd9Sstevel@tonic-gate 	{	CISTPL_DEVICE_OC,		/* other conditions for CM */
142*7c478bd9Sstevel@tonic-gate 		0,
143*7c478bd9Sstevel@tonic-gate 		0,
144*7c478bd9Sstevel@tonic-gate 		cistpl_device_handler,
145*7c478bd9Sstevel@tonic-gate 		"CISTPL_DEVICE_OC"	},
146*7c478bd9Sstevel@tonic-gate 	{	CISTPL_DEVICE_OA,		/* other conditions for AM */
147*7c478bd9Sstevel@tonic-gate 		0,
148*7c478bd9Sstevel@tonic-gate 		0,
149*7c478bd9Sstevel@tonic-gate 		cistpl_device_handler,
150*7c478bd9Sstevel@tonic-gate 		"CISTPL_DEVICE_OA"	},
151*7c478bd9Sstevel@tonic-gate 	{	CISTPL_VERS_2,			/* level 2 version info */
152*7c478bd9Sstevel@tonic-gate 		0,
153*7c478bd9Sstevel@tonic-gate 		0,
154*7c478bd9Sstevel@tonic-gate 		cistpl_vers_2_handler,
155*7c478bd9Sstevel@tonic-gate 		"CISTPL_VERS_2"		},
156*7c478bd9Sstevel@tonic-gate 	{	CISTPL_FORMAT,			/* format type */
157*7c478bd9Sstevel@tonic-gate 		0,
158*7c478bd9Sstevel@tonic-gate 		0,
159*7c478bd9Sstevel@tonic-gate 		cistpl_format_handler,
160*7c478bd9Sstevel@tonic-gate 		"CISTPL_FORMAT"		},
161*7c478bd9Sstevel@tonic-gate 	{	CISTPL_FORMAT_A,		/* Attribute Memory */
162*7c478bd9Sstevel@tonic-gate 		0,				/* recording format */
163*7c478bd9Sstevel@tonic-gate 		0,
164*7c478bd9Sstevel@tonic-gate 		cistpl_format_handler,
165*7c478bd9Sstevel@tonic-gate 		"CISTPL_FORMAT_A"	},
166*7c478bd9Sstevel@tonic-gate 	{	CISTPL_GEOMETRY,		/* geometry */
167*7c478bd9Sstevel@tonic-gate 		0,
168*7c478bd9Sstevel@tonic-gate 		0,
169*7c478bd9Sstevel@tonic-gate 		cistpl_geometry_handler,
170*7c478bd9Sstevel@tonic-gate 		"CISTPL_GEOMETRY"	},
171*7c478bd9Sstevel@tonic-gate 	{	CISTPL_BYTEORDER,		/* byte order */
172*7c478bd9Sstevel@tonic-gate 		0,
173*7c478bd9Sstevel@tonic-gate 		0,
174*7c478bd9Sstevel@tonic-gate 		cistpl_byteorder_handler,
175*7c478bd9Sstevel@tonic-gate 		"CISTPL_BYTEORDER"	},
176*7c478bd9Sstevel@tonic-gate 	{	CISTPL_DATE,			/* card initialization date */
177*7c478bd9Sstevel@tonic-gate 		0,
178*7c478bd9Sstevel@tonic-gate 		0,
179*7c478bd9Sstevel@tonic-gate 		cistpl_date_handler,
180*7c478bd9Sstevel@tonic-gate 		"CISTPL_DATE"		},
181*7c478bd9Sstevel@tonic-gate 	{	CISTPL_BATTERY,			/* battery replacement date */
182*7c478bd9Sstevel@tonic-gate 		0,
183*7c478bd9Sstevel@tonic-gate 		0,
184*7c478bd9Sstevel@tonic-gate 		cistpl_battery_handler,
185*7c478bd9Sstevel@tonic-gate 		"CISTPL_BATTERY"	},
186*7c478bd9Sstevel@tonic-gate 	{	CISTPL_ORG,			/* organization */
187*7c478bd9Sstevel@tonic-gate 		0,
188*7c478bd9Sstevel@tonic-gate 		0,
189*7c478bd9Sstevel@tonic-gate 		cistpl_org_handler,
190*7c478bd9Sstevel@tonic-gate 		"CISTPL_ORG"		},
191*7c478bd9Sstevel@tonic-gate 	{	CISTPL_FUNCID,			/* card function ID */
192*7c478bd9Sstevel@tonic-gate 		0,
193*7c478bd9Sstevel@tonic-gate 		0,
194*7c478bd9Sstevel@tonic-gate 		cistpl_funcid_handler,
195*7c478bd9Sstevel@tonic-gate 		"CISTPL_FUNCID"		},
196*7c478bd9Sstevel@tonic-gate 	{	CISTPL_FUNCE,			/* card function extension */
197*7c478bd9Sstevel@tonic-gate 		TPLFUNC_MULTI,		/* for multifunction cards */
198*7c478bd9Sstevel@tonic-gate 		0,
199*7c478bd9Sstevel@tonic-gate 		cis_no_tuple_handler,
200*7c478bd9Sstevel@tonic-gate 		"CISTPL_FUNCE/MULTI"	},
201*7c478bd9Sstevel@tonic-gate 	{	CISTPL_FUNCE,			/* card function extension */
202*7c478bd9Sstevel@tonic-gate 		TPLFUNC_MEMORY,		/* for memory cards */
203*7c478bd9Sstevel@tonic-gate 		0,
204*7c478bd9Sstevel@tonic-gate 		cis_no_tuple_handler,
205*7c478bd9Sstevel@tonic-gate 		"CISTPL_FUNCE/MEMORY"	},
206*7c478bd9Sstevel@tonic-gate 	{	CISTPL_FUNCE,			/* card function extension */
207*7c478bd9Sstevel@tonic-gate 		TPLFUNC_SERIAL,		/* for serial port cards */
208*7c478bd9Sstevel@tonic-gate 		0,
209*7c478bd9Sstevel@tonic-gate 		cistpl_funce_serial_handler,
210*7c478bd9Sstevel@tonic-gate 		"CISTPL_FUNCE/SERIAL"	},
211*7c478bd9Sstevel@tonic-gate 	{	CISTPL_FUNCE,			/* card function extension */
212*7c478bd9Sstevel@tonic-gate 		TPLFUNC_PARALLEL,		/* for parallel port cards */
213*7c478bd9Sstevel@tonic-gate 		0,
214*7c478bd9Sstevel@tonic-gate 		cis_no_tuple_handler,
215*7c478bd9Sstevel@tonic-gate 		"CISTPL_FUNCE/PARALLEL"	},
216*7c478bd9Sstevel@tonic-gate 	{	CISTPL_FUNCE,			/* card function extension */
217*7c478bd9Sstevel@tonic-gate 		TPLFUNC_FIXED,		/* for fixed disk cards */
218*7c478bd9Sstevel@tonic-gate 		0,
219*7c478bd9Sstevel@tonic-gate 		cis_no_tuple_handler,
220*7c478bd9Sstevel@tonic-gate 		"CISTPL_FUNCE/FIXED"	},
221*7c478bd9Sstevel@tonic-gate 	{	CISTPL_FUNCE,			/* card function extension */
222*7c478bd9Sstevel@tonic-gate 		TPLFUNC_VIDEO,		/* for video cards */
223*7c478bd9Sstevel@tonic-gate 		0,
224*7c478bd9Sstevel@tonic-gate 		cis_no_tuple_handler,
225*7c478bd9Sstevel@tonic-gate 		"CISTPL_FUNCE/VIDEO"	},
226*7c478bd9Sstevel@tonic-gate 	{	CISTPL_FUNCE,			/* card function extension */
227*7c478bd9Sstevel@tonic-gate 		TPLFUNC_LAN,		/* for LAN cards */
228*7c478bd9Sstevel@tonic-gate 		0,
229*7c478bd9Sstevel@tonic-gate 		cistpl_funce_lan_handler,
230*7c478bd9Sstevel@tonic-gate 		"CISTPL_FUNCE/LAN"	},
231*7c478bd9Sstevel@tonic-gate 
232*7c478bd9Sstevel@tonic-gate 	{	CISTPL_FUNCE,			/* card function extension */
233*7c478bd9Sstevel@tonic-gate 		TPLFUNC_AIMS,		/* Auto Incrementing Mass Storage */
234*7c478bd9Sstevel@tonic-gate 		0,
235*7c478bd9Sstevel@tonic-gate 		cis_no_tuple_handler,
236*7c478bd9Sstevel@tonic-gate 		"CISTPL_FUNCE/AIMS"	},
237*7c478bd9Sstevel@tonic-gate 	{	CISTPL_FUNCE,			/* card function extension */
238*7c478bd9Sstevel@tonic-gate 		TPLFUNC_SCSI,		/* SCSI bridge */
239*7c478bd9Sstevel@tonic-gate 		0,
240*7c478bd9Sstevel@tonic-gate 		cis_no_tuple_handler,
241*7c478bd9Sstevel@tonic-gate 		"CISTPL_FUNCE/SCSI"	},
242*7c478bd9Sstevel@tonic-gate 	{	CISTPL_FUNCE,			/* card function extension */
243*7c478bd9Sstevel@tonic-gate 		TPLFUNC_VENDOR_SPECIFIC,	/* Vendor Specific */
244*7c478bd9Sstevel@tonic-gate 		0,
245*7c478bd9Sstevel@tonic-gate 		cis_no_tuple_handler,
246*7c478bd9Sstevel@tonic-gate 		"CISTPL_FUNCE/VENDOR_SPECIFIC"	},
247*7c478bd9Sstevel@tonic-gate 	{	CISTPL_FUNCE,			/* card function extension */
248*7c478bd9Sstevel@tonic-gate 		TPLFUNC_UNKNOWN,	/* for unknown functions */
249*7c478bd9Sstevel@tonic-gate 		0,
250*7c478bd9Sstevel@tonic-gate 		cis_no_tuple_handler,
251*7c478bd9Sstevel@tonic-gate 		"CISTPL_FUNCE/unknown"	},
252*7c478bd9Sstevel@tonic-gate 	{	CISTPL_MANFID,			/* manufacturer ID */
253*7c478bd9Sstevel@tonic-gate 		0,
254*7c478bd9Sstevel@tonic-gate 		0,
255*7c478bd9Sstevel@tonic-gate 		cistpl_manfid_handler,
256*7c478bd9Sstevel@tonic-gate 		"CISTPL_MANFID"		},
257*7c478bd9Sstevel@tonic-gate 	{	CISTPL_SPCL,			/* special-purpose tuple */
258*7c478bd9Sstevel@tonic-gate 		0,
259*7c478bd9Sstevel@tonic-gate 		0,
260*7c478bd9Sstevel@tonic-gate 		cis_no_tuple_handler,
261*7c478bd9Sstevel@tonic-gate 		"CISTPL_SPCL"		},
262*7c478bd9Sstevel@tonic-gate 	{	CISTPL_LONGLINK_CB,		/* longlink to next */
263*7c478bd9Sstevel@tonic-gate 		0,				/* tuple chain */
264*7c478bd9Sstevel@tonic-gate 		0,
265*7c478bd9Sstevel@tonic-gate 		cis_no_tuple_handler,
266*7c478bd9Sstevel@tonic-gate 		"CISTPL_LONGLINK_CB"	},
267*7c478bd9Sstevel@tonic-gate 	{	CISTPL_CONFIG_CB,		/* configuration tuple */
268*7c478bd9Sstevel@tonic-gate 		0,
269*7c478bd9Sstevel@tonic-gate 		0,
270*7c478bd9Sstevel@tonic-gate 		cis_no_tuple_handler,
271*7c478bd9Sstevel@tonic-gate 		"CISTPL_CONFIG_CB"	},
272*7c478bd9Sstevel@tonic-gate 	{	CISTPL_CFTABLE_ENTRY_CB,	/* configuration table */
273*7c478bd9Sstevel@tonic-gate 		0,				/* entry */
274*7c478bd9Sstevel@tonic-gate 		0,
275*7c478bd9Sstevel@tonic-gate 		cis_no_tuple_handler,
276*7c478bd9Sstevel@tonic-gate 		"CISTPL_CFTABLE_ENTRY_CB"	},
277*7c478bd9Sstevel@tonic-gate 	{	CISTPL_BAR,			/* Base Address Register */
278*7c478bd9Sstevel@tonic-gate 		0,				/* definition */
279*7c478bd9Sstevel@tonic-gate 		0,
280*7c478bd9Sstevel@tonic-gate 		cis_no_tuple_handler,
281*7c478bd9Sstevel@tonic-gate 		"CISTPL_BAR"		},
282*7c478bd9Sstevel@tonic-gate 	{	CISTPL_DEVICEGEO,		/* Common Memory */
283*7c478bd9Sstevel@tonic-gate 		0,				/* device geometry */
284*7c478bd9Sstevel@tonic-gate 		0,
285*7c478bd9Sstevel@tonic-gate 		cis_no_tuple_handler,
286*7c478bd9Sstevel@tonic-gate 		"CISTPL_DEVICEGEO"	},
287*7c478bd9Sstevel@tonic-gate 	{	CISTPL_DEVICEGEO_A,		/* Attribute Memory */
288*7c478bd9Sstevel@tonic-gate 		0,				/* device geometry */
289*7c478bd9Sstevel@tonic-gate 		0,
290*7c478bd9Sstevel@tonic-gate 		cis_no_tuple_handler,
291*7c478bd9Sstevel@tonic-gate 		"CISTPL_DEVICEGEO_A"	},
292*7c478bd9Sstevel@tonic-gate 	{	CISTPL_SWIL,			/* software interleave */
293*7c478bd9Sstevel@tonic-gate 		0,
294*7c478bd9Sstevel@tonic-gate 		0,
295*7c478bd9Sstevel@tonic-gate 		cis_no_tuple_handler,
296*7c478bd9Sstevel@tonic-gate 		"CISTPL_SWIL"		},
297*7c478bd9Sstevel@tonic-gate 	{	CISTPL_VEND_SPEC_80,		/* vendor-specific 0x80 */
298*7c478bd9Sstevel@tonic-gate 		0,
299*7c478bd9Sstevel@tonic-gate 		0,
300*7c478bd9Sstevel@tonic-gate 		cis_unknown_tuple_handler,
301*7c478bd9Sstevel@tonic-gate 		"CISTPL_VEND_SPEC_80"	},
302*7c478bd9Sstevel@tonic-gate 	{	CISTPL_VEND_SPEC_81,		/* vendor-specific 0x81 */
303*7c478bd9Sstevel@tonic-gate 		0,
304*7c478bd9Sstevel@tonic-gate 		0,
305*7c478bd9Sstevel@tonic-gate 		cis_unknown_tuple_handler,
306*7c478bd9Sstevel@tonic-gate 		"CISTPL_VEND_SPEC_81"	},
307*7c478bd9Sstevel@tonic-gate 	{	CISTPL_VEND_SPEC_82,		/* vendor-specific 0x82 */
308*7c478bd9Sstevel@tonic-gate 		0,
309*7c478bd9Sstevel@tonic-gate 		0,
310*7c478bd9Sstevel@tonic-gate 		cis_unknown_tuple_handler,
311*7c478bd9Sstevel@tonic-gate 		"CISTPL_VEND_SPEC_82"	},
312*7c478bd9Sstevel@tonic-gate 	{	CISTPL_VEND_SPEC_83,		/* vendor-specific 0x83 */
313*7c478bd9Sstevel@tonic-gate 		0,
314*7c478bd9Sstevel@tonic-gate 		0,
315*7c478bd9Sstevel@tonic-gate 		cis_unknown_tuple_handler,
316*7c478bd9Sstevel@tonic-gate 		"CISTPL_VEND_SPEC_83"	},
317*7c478bd9Sstevel@tonic-gate 	{	CISTPL_VEND_SPEC_84,		/* vendor-specific 0x84 */
318*7c478bd9Sstevel@tonic-gate 		0,
319*7c478bd9Sstevel@tonic-gate 		0,
320*7c478bd9Sstevel@tonic-gate 		cis_unknown_tuple_handler,
321*7c478bd9Sstevel@tonic-gate 		"CISTPL_VEND_SPEC_84"	},
322*7c478bd9Sstevel@tonic-gate 	{	CISTPL_VEND_SPEC_85,		/* vendor-specific 0x85 */
323*7c478bd9Sstevel@tonic-gate 		0,
324*7c478bd9Sstevel@tonic-gate 		0,
325*7c478bd9Sstevel@tonic-gate 		cis_unknown_tuple_handler,
326*7c478bd9Sstevel@tonic-gate 		"CISTPL_VEND_SPEC_85"	},
327*7c478bd9Sstevel@tonic-gate 	{	CISTPL_VEND_SPEC_86,		/* vendor-specific 0x86 */
328*7c478bd9Sstevel@tonic-gate 		0,
329*7c478bd9Sstevel@tonic-gate 		0,
330*7c478bd9Sstevel@tonic-gate 		cis_unknown_tuple_handler,
331*7c478bd9Sstevel@tonic-gate 		"CISTPL_VEND_SPEC_86"	},
332*7c478bd9Sstevel@tonic-gate 	{	CISTPL_VEND_SPEC_87,		/* vendor-specific 0x87 */
333*7c478bd9Sstevel@tonic-gate 		0,
334*7c478bd9Sstevel@tonic-gate 		0,
335*7c478bd9Sstevel@tonic-gate 		cis_unknown_tuple_handler,
336*7c478bd9Sstevel@tonic-gate 		"CISTPL_VEND_SPEC_87"	},
337*7c478bd9Sstevel@tonic-gate 	{	CISTPL_VEND_SPEC_88,		/* vendor-specific 0x88 */
338*7c478bd9Sstevel@tonic-gate 		0,
339*7c478bd9Sstevel@tonic-gate 		0,
340*7c478bd9Sstevel@tonic-gate 		cis_unknown_tuple_handler,
341*7c478bd9Sstevel@tonic-gate 		"CISTPL_VEND_SPEC_88"	},
342*7c478bd9Sstevel@tonic-gate 	{	CISTPL_VEND_SPEC_89,		/* vendor-specific 0x89 */
343*7c478bd9Sstevel@tonic-gate 		0,
344*7c478bd9Sstevel@tonic-gate 		0,
345*7c478bd9Sstevel@tonic-gate 		cis_unknown_tuple_handler,
346*7c478bd9Sstevel@tonic-gate 		"CISTPL_VEND_SPEC_89"	},
347*7c478bd9Sstevel@tonic-gate 	{	CISTPL_VEND_SPEC_8a,		/* vendor-specific 0x8a */
348*7c478bd9Sstevel@tonic-gate 		0,
349*7c478bd9Sstevel@tonic-gate 		0,
350*7c478bd9Sstevel@tonic-gate 		cis_unknown_tuple_handler,
351*7c478bd9Sstevel@tonic-gate 		"CISTPL_VEND_SPEC_8a"	},
352*7c478bd9Sstevel@tonic-gate 	{	CISTPL_VEND_SPEC_8b,		/* vendor-specific 0x8b */
353*7c478bd9Sstevel@tonic-gate 		0,
354*7c478bd9Sstevel@tonic-gate 		0,
355*7c478bd9Sstevel@tonic-gate 		cis_unknown_tuple_handler,
356*7c478bd9Sstevel@tonic-gate 		"CISTPL_VEND_SPEC_8b"	},
357*7c478bd9Sstevel@tonic-gate 	{	CISTPL_VEND_SPEC_8c,		/* vendor-specific 0x8c */
358*7c478bd9Sstevel@tonic-gate 		0,
359*7c478bd9Sstevel@tonic-gate 		0,
360*7c478bd9Sstevel@tonic-gate 		cis_unknown_tuple_handler,
361*7c478bd9Sstevel@tonic-gate 		"CISTPL_VEND_SPEC_8c"	},
362*7c478bd9Sstevel@tonic-gate 	{	CISTPL_VEND_SPEC_8d,		/* vendor-specific 0x8d */
363*7c478bd9Sstevel@tonic-gate 		0,
364*7c478bd9Sstevel@tonic-gate 		0,
365*7c478bd9Sstevel@tonic-gate 		cis_unknown_tuple_handler,
366*7c478bd9Sstevel@tonic-gate 		"CISTPL_VEND_SPEC_8d"	},
367*7c478bd9Sstevel@tonic-gate 	{	CISTPL_VEND_SPEC_8e,		/* vendor-specific 0x8e */
368*7c478bd9Sstevel@tonic-gate 		0,
369*7c478bd9Sstevel@tonic-gate 		0,
370*7c478bd9Sstevel@tonic-gate 		cis_unknown_tuple_handler,
371*7c478bd9Sstevel@tonic-gate 		"CISTPL_VEND_SPEC_8e"	},
372*7c478bd9Sstevel@tonic-gate 	{	CISTPL_VEND_SPEC_8f,		/* vendor-specific 0x8f */
373*7c478bd9Sstevel@tonic-gate 		0,
374*7c478bd9Sstevel@tonic-gate 		0,
375*7c478bd9Sstevel@tonic-gate 		cis_unknown_tuple_handler,
376*7c478bd9Sstevel@tonic-gate 		"CISTPL_VEND_SPEC_8f"	},
377*7c478bd9Sstevel@tonic-gate 	{	CISTPL_END,			/* end-of-list tuple */
378*7c478bd9Sstevel@tonic-gate 		0,
379*7c478bd9Sstevel@tonic-gate 		0,
380*7c478bd9Sstevel@tonic-gate 		cis_no_tuple_handler,
381*7c478bd9Sstevel@tonic-gate 		"unknown tuple"		},
382*7c478bd9Sstevel@tonic-gate 	};
383