xref: /netbsd-src/sys/dev/isapnp/isapnpdevs.c (revision 27578b9aac214cc7796ead81dcc5427e79d5f2a0)
1 /*	$NetBSD: isapnpdevs.c,v 1.45 2001/07/27 02:12:57 thorpej Exp $	*/
2 
3 /*
4  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
5  *
6  * generated from:
7  *	NetBSD: isapnpdevs,v 1.42 2001/07/27 02:12:19 thorpej Exp
8  */
9 
10 /*-
11  * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
12  * All rights reserved.
13  *
14  * This code is derived from software contributed to The NetBSD Foundation
15  * by Christos Zoulas.
16  *
17  * Redistribution and use in source and binary forms, with or without
18  * modification, are permitted provided that the following conditions
19  * are met:
20  * 1. Redistributions of source code must retain the above copyright
21  *    notice, this list of conditions and the following disclaimer.
22  * 2. Redistributions in binary form must reproduce the above copyright
23  *    notice, this list of conditions and the following disclaimer in the
24  *    documentation and/or other materials provided with the distribution.
25  * 3. All advertising materials mentioning features or use of this software
26  *    must display the following acknowledgement:
27  *        This product includes software developed by the NetBSD
28  *        Foundation, Inc. and its contributors.
29  * 4. Neither the name of The NetBSD Foundation nor the names of its
30  *    contributors may be used to endorse or promote products derived
31  *    from this software without specific prior written permission.
32  *
33  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
34  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
35  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
36  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
37  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
38  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
39  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
40  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
41  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
42  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
43  * POSSIBILITY OF SUCH DAMAGE.
44  */
45 #include <sys/param.h>
46 #include <dev/isapnp/isapnpdevs.h>
47 
48 
49 /* Adaptec SCSI */
50 static const struct isapnp_matchinfo isapnp_aha_devlogic[] = {
51 	{"ADP1542", 0},	/* Adaptec AHA-1542CP */
52 };
53 static const struct isapnp_matchinfo isapnp_aha_devcompat[] = {
54 	{"PNP00A0", 0},	/* Adaptec AHA-1542CP */
55 };
56 const struct isapnp_devinfo isapnp_aha_devinfo = {
57 	isapnp_aha_devlogic, 1,
58 	isapnp_aha_devcompat, 1,
59 };
60 
61 /* Adaptec SCSI */
62 static const struct isapnp_matchinfo isapnp_aic_devlogic[] = {
63 	{"ADP1520", 0},	/* Adaptec AHA-1520B */
64 	{"ADP1502", 0},	/* Adaptec AHA-1502P */
65 	{"ADP1505", 0},	/* Adaptec AVA-1505A */
66 };
67 static const struct isapnp_matchinfo isapnp_aic_devcompat[] = {
68 	{"ADP1530", 0},	/* (Adaptec AVA-1505A) */
69 };
70 const struct isapnp_devinfo isapnp_aic_devinfo = {
71 	isapnp_aic_devlogic, 3,
72 	isapnp_aic_devcompat, 1,
73 };
74 
75 /* Aironet 802.11 */
76 static const struct isapnp_matchinfo isapnp_an_devlogic[] = {
77 	{"AOL0001", 0},	/* Aironet 4500/4800 */
78 };
79 const struct isapnp_devinfo isapnp_an_devinfo = {
80 	isapnp_an_devlogic, 1,
81 	NULL, 0,
82 };
83 
84 /* National Semiconductor Serial */
85 static const struct isapnp_matchinfo isapnp_com_devlogic[] = {
86 	{"BDP3336", 0},	/* Best Data Prods. 336F */
87 	{"OZO8039", 0},	/* Zoom 56k flex */
88 	{"BRI1400", 0},	/* Boca 33.6 PnP */
89 	{"BRIB400", 0},	/* Boca 56k PnP */
90 	{"ROK0010", 0},	/* Rockwell ? */
91 	{"USR0004", 0},	/* USR Sportster 14.4k */
92 	{"USR0006", 0},	/* USR Sportster 33.6k */
93 	{"USR2070", 0},	/* USR Sportster 56k */
94 	{"USR3031", 0},	/* USR 56k Faxmodem */
95 	{"USR9190", 0},	/* USR 56k Voice INT */
96 	{"ZTIF761", 0},	/* Zoom ComStar 33.6 */
97 	{"CIR3000", 0},	/* Cirrus Logic V43 */
98 	{"MOT0000", 0},	/* Motorola ModemSurfr */
99 	{"SMM00C1", 0},	/* Leopard 56k PnP */
100 	{"SUP1650", 0},	/* Supra 336i Sp Intl */
101 	{"SUP2480", 0},	/* SupraExpress 56i Sp V.90 */
102 	{"GVC0505", 0},	/* GVC 56k Faxmodem */
103 	{"IOD0081", 0},	/* I-O DATA IFML-560 */
104 };
105 static const struct isapnp_matchinfo isapnp_com_devcompat[] = {
106 	{"PNP0500", 0},	/* Generic 8250/16450 */
107 	{"PNP0501", 0},	/* Generic 16550A */
108 };
109 const struct isapnp_devinfo isapnp_com_devinfo = {
110 	isapnp_com_devlogic, 18,
111 	isapnp_com_devcompat, 2,
112 };
113 
114 /* 3Com 3CXXX Ethernet */
115 static const struct isapnp_matchinfo isapnp_ep_devlogic[] = {
116 	{"TCM5051", 0},	/* 3Com 3c515 */
117 	{"TCM5090", 0},	/* 3Com 3c509B */
118 	{"TCM5091", 0},	/* 3Com 3c509B-1 */
119 	{"TCM5094", 0},	/* 3Com 3c509B-4 */
120 	{"TCM5095", 0},	/* 3Com 3c509B-5 */
121 	{"TCM5098", 0},	/* 3Com 3c509B-8 */
122 };
123 const struct isapnp_devinfo isapnp_ep_devinfo = {
124 	isapnp_ep_devlogic, 6,
125 	NULL, 0,
126 };
127 
128 /* ESS Audio Drive */
129 static const struct isapnp_matchinfo isapnp_ess_devlogic[] = {
130 	{"ESS1868", 0},	/* ESS1868 */
131 	{"ESS1869", 0},	/* ESS1869 */
132 };
133 const struct isapnp_devinfo isapnp_ess_devinfo = {
134 	isapnp_ess_devlogic, 2,
135 	NULL, 0,
136 };
137 
138 /* Generic Joystick */
139 static const struct isapnp_matchinfo isapnp_joy_devlogic[] = {
140 	{"AZT0003", 0},	/* Aztech AZT2320 GAME PORT */
141 	{"AZT3001", 0},	/* Aztech GAME PORT */
142 	{"CSC0001", 0},	/* CS4235 */
143 	{"CSCA801", 0},	/* Terratec EWS64XL */
144 	{"CTL7001", 0},	/* Creative Awe64 */
145 	{"CTL7002", 0},	/* Creative Vibra16CL */
146 	{"ESS0001", 0},	/* ESS1868 */
147 	{"OPT0001", 0},	/* OPTi Audio 16 */
148 	{"PNPB02F", 0},	/* XXX broken GUS PnP */
149 	{"ASB16FD", 0},	/* AdLib NSC 16 PNP */
150 };
151 static const struct isapnp_matchinfo isapnp_joy_devcompat[] = {
152 	{"PNPB02F", 0},	/* generic */
153 };
154 const struct isapnp_devinfo isapnp_joy_devinfo = {
155 	isapnp_joy_devlogic, 10,
156 	isapnp_joy_devcompat, 1,
157 };
158 
159 /* Gravis Ultrasound */
160 static const struct isapnp_matchinfo isapnp_gus_devlogic[] = {
161 	{"GRV0000", 0},	/* Gravis Ultrasound */
162 };
163 const struct isapnp_devinfo isapnp_gus_devinfo = {
164 	isapnp_gus_devlogic, 1,
165 	NULL, 0,
166 };
167 
168 /* Lance Ethernet */
169 static const struct isapnp_matchinfo isapnp_le_devlogic[] = {
170 	{"TKN0010", 0},	/* Lance Ethernet on TEKNOR board */
171 	{"ATK1500", 0},	/* Lance Ethernet on Allied Telesyn board */
172 };
173 const struct isapnp_devinfo isapnp_le_devinfo = {
174 	isapnp_le_devlogic, 2,
175 	NULL, 0,
176 };
177 
178 /* MPU-401 MIDI UART */
179 static const struct isapnp_matchinfo isapnp_mpu_devlogic[] = {
180 	{"AZT0002", 0},	/* Aztech AZT2320 MPU401 MIDI */
181 	{"AZT2001", 0},	/* Aztech MPU401 MIDI */
182 	{"CSC0003", 0},	/* CS4235 MPU401 MIDI */
183 };
184 const struct isapnp_devinfo isapnp_mpu_devinfo = {
185 	isapnp_mpu_devlogic, 3,
186 	NULL, 0,
187 };
188 
189 /* NE2000 Ethernet */
190 static const struct isapnp_matchinfo isapnp_ne_devlogic[] = {
191 	{"@@@1980", 0},	/* OvisLink LE-8019R */
192 };
193 static const struct isapnp_matchinfo isapnp_ne_devcompat[] = {
194 	{"PNP80D6", 0},	/* Digital DE305 ISAPnP */
195 };
196 const struct isapnp_devinfo isapnp_ne_devinfo = {
197 	isapnp_ne_devlogic, 1,
198 	isapnp_ne_devcompat, 1,
199 };
200 
201 /* PCMCIA bridge */
202 static const struct isapnp_matchinfo isapnp_pcic_devlogic[] = {
203 	{"SCM0469", 0},	/* SCM SwapBox Plug and Play */
204 	{"AEI0218", 0},	/* Actiontec PnP PCMCIA Adapter */
205 };
206 static const struct isapnp_matchinfo isapnp_pcic_devcompat[] = {
207 	{"PNP0E00", 0},	/* PCIC Compatible PCMCIA Bridge */
208 };
209 const struct isapnp_devinfo isapnp_pcic_devinfo = {
210 	isapnp_pcic_devlogic, 2,
211 	isapnp_pcic_devcompat, 1,
212 };
213 
214 /* Creative Soundblaster */
215 static const struct isapnp_matchinfo isapnp_sb_devlogic[] = {
216 	{"ADS7150", 0},	/* AD1815 */
217 	{"ADS7180", 0},	/* AD1816 */
218 	{"AZT1008", 0},	/* Aztech 1008 */
219 	{"CTL0001", 0},	/* SB */
220 	{"CTL0031", 0},	/* SB AWE32 */
221 	{"CTL0041", 0},	/* SB16 PnP (CT4131) */
222 	{"CTL0042", 0},	/* SB AWE64 Value */
223 	{"CTL0043", 0},	/* SB16 PnP (CT4170) */
224 	{"CTL0044", 0},	/* SB AWE64 Gold */
225 	{"CTL0045", 0},	/* SB AWE64 Value */
226 	{"OPT9250", 0},	/* Televideo card, Opti */
227 	{"@X@0001", 0},	/* CMI8330. Audio Adapter */
228 	{"@@@1001", 0},	/* Avance Logic ALS100+ */
229 	{"@@@2001", 0},	/* Avance Logic ALS120 */
230 };
231 static const struct isapnp_matchinfo isapnp_sb_devcompat[] = {
232 	{"PNPB000", 0},	/* Generic SB 1.5 */
233 	{"PNPB001", 0},	/* Generic SB 2.0 */
234 	{"PNPB002", 0},	/* Generic SB Pro */
235 	{"PNPB003", 0},	/* Generic SB 16 */
236 };
237 const struct isapnp_devinfo isapnp_sb_devinfo = {
238 	isapnp_sb_devlogic, 14,
239 	isapnp_sb_devcompat, 4,
240 };
241 
242 /* TROPIC Token-Ring */
243 static const struct isapnp_matchinfo isapnp_tr_devlogic[] = {
244 	{"IBM0000", 0},	/* IBM TROPIC Token-Ring */
245 	{"TCM3190", 0},	/* 3Com TokenLink Velocity ISA */
246 };
247 const struct isapnp_devinfo isapnp_tr_devinfo = {
248 	isapnp_tr_devlogic, 2,
249 	NULL, 0,
250 };
251 
252 /* Western Digital Disk Controller */
253 static const struct isapnp_matchinfo isapnp_wdc_devlogic[] = {
254 	{"AZT0000", 0},	/* Aztech AZT2320 IDE CDROM */
255 	{"AZT0500", 0},	/* Aztech IDE CDROM */
256 	{"OPT0007", 0},	/* OPTi Audio 16 IDE controller */
257 	{"ESS0002", 0},	/* ES1868 IDE Controller */
258 };
259 static const struct isapnp_matchinfo isapnp_wdc_devcompat[] = {
260 	{"PNP0600", 0},	/* Western Digital Compatible Controller */
261 };
262 const struct isapnp_devinfo isapnp_wdc_devinfo = {
263 	isapnp_wdc_devlogic, 4,
264 	isapnp_wdc_devcompat, 1,
265 };
266 
267 /* Microsoft Sound System */
268 static const struct isapnp_matchinfo isapnp_wss_devlogic[] = {
269 	{"AZT0001", 1},	/* Aztech AZT2320 AUDIO */
270 	{"CSC0000", 0},	/* Windows Sound System */
271 	{"CSC0100", 0},	/* CS4235 CODEC */
272 	{"CSCA800", 0},	/* Terratec EWS64 CoDec */
273 	{"ASB1611", 0},	/* AdLib NSC 16 PNP */
274 	{"ASB1622", 0},	/* AdLib MSC 32 Wave PnP V3SB */
275 };
276 const struct isapnp_devinfo isapnp_wss_devinfo = {
277 	isapnp_wss_devlogic, 6,
278 	NULL, 0,
279 };
280 
281 /* Yamaha Sound */
282 static const struct isapnp_matchinfo isapnp_ym_devlogic[] = {
283 	{"YMH0021", 0},	/* OPL3-SA2, OPL3-SA3 */
284 };
285 const struct isapnp_devinfo isapnp_ym_devinfo = {
286 	isapnp_ym_devlogic, 1,
287 	NULL, 0,
288 };
289 
290