Home | History | Annotate | Line # | Download | only in isapnp
isapnpdevs.c revision 1.57
      1 /*	$NetBSD: isapnpdevs.c,v 1.57 2003/06/10 19:39:12 christos Exp $	*/
      2 
      3 /*
      4  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
      5  *
      6  * generated from:
      7  *	NetBSD: isapnpdevs,v 1.53 2003/06/10 19:39:00 christos 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 
     46 #include <sys/cdefs.h>
     47 __KERNEL_RCSID(0, "$NetBSD: isapnpdevs.c,v 1.57 2003/06/10 19:39:12 christos Exp $");
     48 
     49 #include <sys/param.h>
     50 #include <dev/isapnp/isapnpdevs.h>
     51 
     52 
     53 /* Adaptec SCSI */
     54 static const struct isapnp_matchinfo isapnp_aha_devlogic[] = {
     55 	{"ADP1542", 0},	/* Adaptec AHA-1542CP */
     56 };
     57 static const struct isapnp_matchinfo isapnp_aha_devcompat[] = {
     58 	{"PNP00A0", 0},	/* Adaptec AHA-1542CP */
     59 };
     60 const struct isapnp_devinfo isapnp_aha_devinfo = {
     61 	isapnp_aha_devlogic, 1,
     62 	isapnp_aha_devcompat, 1,
     63 };
     64 
     65 /* Adaptec SCSI */
     66 static const struct isapnp_matchinfo isapnp_aic_devlogic[] = {
     67 	{"ADP1520", 0},	/* Adaptec AHA-1520B */
     68 	{"ADP1502", 0},	/* Adaptec AHA-1502P */
     69 	{"ADP1505", 0},	/* Adaptec AVA-1505A */
     70 };
     71 static const struct isapnp_matchinfo isapnp_aic_devcompat[] = {
     72 	{"ADP1530", 0},	/* (Adaptec AVA-1505A) */
     73 };
     74 const struct isapnp_devinfo isapnp_aic_devinfo = {
     75 	isapnp_aic_devlogic, 3,
     76 	isapnp_aic_devcompat, 1,
     77 };
     78 
     79 /* Aironet 802.11 */
     80 static const struct isapnp_matchinfo isapnp_an_devlogic[] = {
     81 	{"AOL0001", 0},	/* Aironet 4500/4800 */
     82 };
     83 const struct isapnp_devinfo isapnp_an_devinfo = {
     84 	isapnp_an_devlogic, 1,
     85 	NULL, 0,
     86 };
     87 
     88 /* National Semiconductor Serial */
     89 static const struct isapnp_matchinfo isapnp_com_devlogic[] = {
     90 	{"AZT4001", 0},	/* Aztech Modem */
     91 	{"BDP3336", 0},	/* Best Data Prods. 336F */
     92 	{"OZO8039", 0},	/* Zoom 56k flex */
     93 	{"BRI1400", 0},	/* Boca 33.6 PnP */
     94 	{"BRIB400", 0},	/* Boca 56k PnP */
     95 	{"ROK0010", 0},	/* Rockwell ? */
     96 	{"ROK3360", 0},	/* Rockwell 33.6k PnP */
     97 	{"USR0004", 0},	/* USR Sportster 14.4k */
     98 	{"USR0006", 0},	/* USR Sportster 33.6k */
     99 	{"USR0009", 0},	/* USR Courier V.Everything */
    100 	{"USR2070", 0},	/* USR Sportster 56k */
    101 	{"USR3031", 0},	/* USR 56k Faxmodem */
    102 	{"USR3090", 0},	/* USR 56K Voice INT */
    103 	{"USR9190", 0},	/* USR 56k Voice INT */
    104 	{"ZTIF761", 0},	/* Zoom ComStar 33.6 */
    105 	{"CIR3000", 0},	/* Cirrus Logic V43 */
    106 	{"MOT0000", 0},	/* Motorola ModemSurfr */
    107 	{"SMM00C1", 0},	/* Leopard 56k PnP */
    108 	{"SUP1650", 0},	/* Supra 336i Sp Intl */
    109 	{"SUP2480", 0},	/* SupraExpress 56i Sp V.90 */
    110 	{"SUP2720", 0},	/* DIAMOND SupraExpress 56I SP V.90 */
    111 	{"GVC0505", 0},	/* GVC 56k Faxmodem */
    112 	{"GVC000F", 0},	/* GVC 33.6k Faxmodem */
    113 	{"IOD0081", 0},	/* I-O DATA IFML-560 */
    114 };
    115 static const struct isapnp_matchinfo isapnp_com_devcompat[] = {
    116 	{"PNP0500", 0},	/* Generic 8250/16450 */
    117 	{"PNP0501", 0},	/* Generic 16550A */
    118 };
    119 const struct isapnp_devinfo isapnp_com_devinfo = {
    120 	isapnp_com_devlogic, 24,
    121 	isapnp_com_devcompat, 2,
    122 };
    123 
    124 /* Cirrus Logic Crystal CS89x0 Ethernet */
    125 static const struct isapnp_matchinfo isapnp_cs_devlogic[] = {
    126 	{"IBM1010", 0},	/* IBM EtherJet ISA */
    127 };
    128 const struct isapnp_devinfo isapnp_cs_devinfo = {
    129 	isapnp_cs_devlogic, 1,
    130 	NULL, 0,
    131 };
    132 
    133 /* 3Com 3CXXX Ethernet */
    134 static const struct isapnp_matchinfo isapnp_ep_devlogic[] = {
    135 	{"TCM5051", 0},	/* 3Com 3c515 */
    136 	{"TCM5090", 0},	/* 3Com 3c509B */
    137 	{"TCM5091", 0},	/* 3Com 3c509B-1 */
    138 	{"TCM5094", 0},	/* 3Com 3c509B-4 */
    139 	{"TCM5095", 0},	/* 3Com 3c509B-5 */
    140 	{"TCM5098", 0},	/* 3Com 3c509B-8 */
    141 };
    142 const struct isapnp_devinfo isapnp_ep_devinfo = {
    143 	isapnp_ep_devlogic, 6,
    144 	NULL, 0,
    145 };
    146 
    147 /* ESS Audio Drive */
    148 static const struct isapnp_matchinfo isapnp_ess_devlogic[] = {
    149 	{"ESS1868", 0},	/* ESS1868 */
    150 	{"ESS1869", 0},	/* ESS1869 */
    151 	{"ESS1878", 0},	/* ESS1878 */
    152 };
    153 const struct isapnp_devinfo isapnp_ess_devinfo = {
    154 	isapnp_ess_devlogic, 3,
    155 	NULL, 0,
    156 };
    157 
    158 /* Fujitsu FMV-18x Ethernet */
    159 static const struct isapnp_matchinfo isapnp_fmv_devlogic[] = {
    160 	{"FUJ01C1", 0},	/* Fujitsu FMV-183 */
    161 	{"FUJ01D1", 0},	/* Fujitsu FMV-184 */
    162 };
    163 const struct isapnp_devinfo isapnp_fmv_devinfo = {
    164 	isapnp_fmv_devlogic, 2,
    165 	NULL, 0,
    166 };
    167 
    168 /* Generic Joystick */
    169 static const struct isapnp_matchinfo isapnp_joy_devlogic[] = {
    170 	{"AZT0003", 0},	/* Aztech AZT2320 GAME PORT */
    171 	{"AZT3001", 0},	/* Aztech GAME PORT */
    172 	{"CSC0001", 0},	/* CS4235 */
    173 	{"CSCA801", 0},	/* Terratec EWS64XL */
    174 	{"CTL7001", 0},	/* Creative Awe64 */
    175 	{"CTL7002", 0},	/* Creative Vibra16CL */
    176 	{"ESS0001", 0},	/* ESS1868 */
    177 	{"ESS0005", 0},	/* ESS1878 */
    178 	{"OPT0001", 0},	/* OPTi Audio 16 */
    179 	{"PNPB02F", 0},	/* XXX broken GUS PnP */
    180 	{"ASB16FD", 0},	/* AdLib NSC 16 PNP */
    181 };
    182 static const struct isapnp_matchinfo isapnp_joy_devcompat[] = {
    183 	{"PNPB02F", 0},	/* generic */
    184 };
    185 const struct isapnp_devinfo isapnp_joy_devinfo = {
    186 	isapnp_joy_devlogic, 11,
    187 	isapnp_joy_devcompat, 1,
    188 };
    189 
    190 /* Gravis Ultrasound */
    191 static const struct isapnp_matchinfo isapnp_gus_devlogic[] = {
    192 	{"GRV0000", 0},	/* Gravis Ultrasound */
    193 };
    194 const struct isapnp_devinfo isapnp_gus_devinfo = {
    195 	isapnp_gus_devlogic, 1,
    196 	NULL, 0,
    197 };
    198 
    199 /* Lance Ethernet */
    200 static const struct isapnp_matchinfo isapnp_le_devlogic[] = {
    201 	{"TKN0010", 0},	/* Lance Ethernet on TEKNOR board */
    202 	{"ATK1500", 0},	/* Lance Ethernet on Allied Telesyn board */
    203 	{"CSI2203", 0},	/* Cabletron E22xx */
    204 	{"BUF0001", 0},	/* Melco Inc. LGY-IV */
    205 };
    206 const struct isapnp_devinfo isapnp_le_devinfo = {
    207 	isapnp_le_devlogic, 4,
    208 	NULL, 0,
    209 };
    210 
    211 /* MPU-401 MIDI UART */
    212 static const struct isapnp_matchinfo isapnp_mpu_devlogic[] = {
    213 	{"AZT0002", 0},	/* Aztech AZT2320 MPU401 MIDI */
    214 	{"AZT2001", 0},	/* Aztech MPU401 MIDI */
    215 	{"CSC0003", 0},	/* CS4235 MPU401 MIDI */
    216 };
    217 const struct isapnp_devinfo isapnp_mpu_devinfo = {
    218 	isapnp_mpu_devlogic, 3,
    219 	NULL, 0,
    220 };
    221 
    222 /* NE2000 Ethernet */
    223 static const struct isapnp_matchinfo isapnp_ne_devlogic[] = {
    224 	{"@@@1980", 0},	/* OvisLink LE-8019R */
    225 };
    226 static const struct isapnp_matchinfo isapnp_ne_devcompat[] = {
    227 	{"PNP80D6", 0},	/* Digital DE305 ISAPnP */
    228 };
    229 const struct isapnp_devinfo isapnp_ne_devinfo = {
    230 	isapnp_ne_devlogic, 1,
    231 	isapnp_ne_devcompat, 1,
    232 };
    233 
    234 /* PCMCIA bridge */
    235 static const struct isapnp_matchinfo isapnp_pcic_devlogic[] = {
    236 	{"SCM0469", 0},	/* SCM SwapBox Plug and Play */
    237 	{"AEI0218", 0},	/* Actiontec PnP PCMCIA Adapter */
    238 };
    239 static const struct isapnp_matchinfo isapnp_pcic_devcompat[] = {
    240 	{"PNP0E00", 0},	/* PCIC Compatible PCMCIA Bridge */
    241 };
    242 const struct isapnp_devinfo isapnp_pcic_devinfo = {
    243 	isapnp_pcic_devlogic, 2,
    244 	isapnp_pcic_devcompat, 1,
    245 };
    246 
    247 /* Creative Soundblaster */
    248 static const struct isapnp_matchinfo isapnp_sb_devlogic[] = {
    249 	{"ADS7150", 0},	/* AD1815 */
    250 	{"ADS7180", 0},	/* AD1816 */
    251 	{"AZT1003", 0},	/* Aztech 1003 Audio */
    252 	{"AZT1008", 0},	/* Aztech 1008 */
    253 	{"CTL0001", 0},	/* SB */
    254 	{"CTL0031", 0},	/* SB AWE32 */
    255 	{"CTL0041", 0},	/* SB16 PnP (CT4131) */
    256 	{"CTL0042", 0},	/* SB AWE64 Value */
    257 	{"CTL0043", 0},	/* SB16 PnP (CT4170) */
    258 	{"CTL0044", 0},	/* SB AWE64 Gold */
    259 	{"CTL0045", 0},	/* SB AWE64 Value */
    260 	{"OPT9250", 0},	/* Televideo card, Opti */
    261 	{"@X@0001", 0},	/* CMI8330. Audio Adapter */
    262 	{"@@@1001", 0},	/* Avance Logic ALS100+ */
    263 	{"@@@2001", 0},	/* Avance Logic ALS120 */
    264 };
    265 static const struct isapnp_matchinfo isapnp_sb_devcompat[] = {
    266 	{"PNPB000", 0},	/* Generic SB 1.5 */
    267 	{"PNPB001", 0},	/* Generic SB 2.0 */
    268 	{"PNPB002", 0},	/* Generic SB Pro */
    269 	{"PNPB003", 0},	/* Generic SB 16 */
    270 };
    271 const struct isapnp_devinfo isapnp_sb_devinfo = {
    272 	isapnp_sb_devlogic, 15,
    273 	isapnp_sb_devcompat, 4,
    274 };
    275 
    276 /* TROPIC Token-Ring */
    277 static const struct isapnp_matchinfo isapnp_tr_devlogic[] = {
    278 	{"IBM0000", 0},	/* IBM TROPIC Token-Ring */
    279 	{"TCM3190", 0},	/* 3Com TokenLink Velocity ISA */
    280 };
    281 const struct isapnp_devinfo isapnp_tr_devinfo = {
    282 	isapnp_tr_devlogic, 2,
    283 	NULL, 0,
    284 };
    285 
    286 /* Western Digital Disk Controller */
    287 static const struct isapnp_matchinfo isapnp_wdc_devlogic[] = {
    288 	{"AZT0000", 0},	/* Aztech AZT2320 IDE CDROM */
    289 	{"AZT0500", 0},	/* Aztech IDE CDROM */
    290 	{"OPT0007", 0},	/* OPTi Audio 16 IDE controller */
    291 	{"ESS0002", 0},	/* ES1868 IDE Controller */
    292 };
    293 static const struct isapnp_matchinfo isapnp_wdc_devcompat[] = {
    294 	{"PNP0600", 0},	/* Western Digital Compatible Controller */
    295 };
    296 const struct isapnp_devinfo isapnp_wdc_devinfo = {
    297 	isapnp_wdc_devlogic, 4,
    298 	isapnp_wdc_devcompat, 1,
    299 };
    300 
    301 /* Microsoft Sound System */
    302 static const struct isapnp_matchinfo isapnp_wss_devlogic[] = {
    303 	{"AZT0001", 1},	/* Aztech AZT2320 AUDIO */
    304 	{"CSC0000", 0},	/* Windows Sound System */
    305 	{"CSC0100", 0},	/* CS4235 CODEC */
    306 	{"CSCA800", 0},	/* Terratec EWS64 CoDec */
    307 	{"ASB1611", 0},	/* AdLib NSC 16 PNP */
    308 	{"ASB1622", 0},	/* AdLib MSC 32 Wave PnP V3SB */
    309 };
    310 const struct isapnp_devinfo isapnp_wss_devinfo = {
    311 	isapnp_wss_devlogic, 6,
    312 	NULL, 0,
    313 };
    314 
    315 /* Yamaha Sound */
    316 static const struct isapnp_matchinfo isapnp_ym_devlogic[] = {
    317 	{"YMH0021", 0},	/* OPL3-SA2, OPL3-SA3 */
    318 };
    319 const struct isapnp_devinfo isapnp_ym_devinfo = {
    320 	isapnp_ym_devlogic, 1,
    321 	NULL, 0,
    322 };
    323 
    324