Home | History | Annotate | Line # | Download | only in isapnp
isapnpdevs.c revision 1.31
      1 /*	$NetBSD: isapnpdevs.c,v 1.31 1999/08/24 12:47:20 rh Exp $	*/
      2 
      3 /*
      4  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
      5  *
      6  * generated from:
      7  *	NetBSD: isapnpdevs,v 1.28 1999/08/24 12:46:55 rh Exp
      8  */
      9 
     10 /*-
     11  * Copyright (c) 1998, 1999 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 	{"ADP1505", 0},	/* Adaptec AVA-1505A */
     65 };
     66 static const struct isapnp_matchinfo isapnp_aic_devcompat[] = {
     67 	{"ADP1530", 0},	/* (Adaptec AVA-1505A) */
     68 };
     69 const struct isapnp_devinfo isapnp_aic_devinfo = {
     70 	isapnp_aic_devlogic, 2,
     71 	isapnp_aic_devcompat, 1,
     72 };
     73 
     74 /* National Semiconductor Serial */
     75 static const struct isapnp_matchinfo isapnp_com_devlogic[] = {
     76 	{"BDP3336", 0},	/* Best Data Prods. 336F */
     77 	{"OZO8039", 0},	/* Zoom 56k flex */
     78 	{"BRI1400", 0},	/* Boca 33.6 PnP */
     79 	{"BRIB400", 0},	/* Boca 56k PnP */
     80 	{"ROK0010", 0},	/* Rockwell ? */
     81 	{"USR0004", 0},	/* USR Sportster 14.4k */
     82 	{"USR0006", 0},	/* USR Sportster 33.6k */
     83 	{"USR2070", 0},	/* USR Sportster 56k */
     84 	{"USR3031", 0},	/* USR 56k Faxmodem */
     85 	{"USR9190", 0},	/* USR 56k Voice INT */
     86 	{"ZTIF761", 0},	/* Zoom ComStar 33.6 */
     87 	{"CIR3000", 0},	/* Cirrus Logic V43 */
     88 	{"MOT0000", 0},	/* Motorola ModemSurfr */
     89 	{"SMM00C1", 0},	/* Leopard 56k PnP */
     90 	{"SUP1650", 0},	/* Supra 336i Sp Intl */
     91 };
     92 static const struct isapnp_matchinfo isapnp_com_devcompat[] = {
     93 	{"PNP0500", 0},	/* Generic 8250/16450 */
     94 	{"PNP0501", 0},	/* Generic 16550A */
     95 };
     96 const struct isapnp_devinfo isapnp_com_devinfo = {
     97 	isapnp_com_devlogic, 15,
     98 	isapnp_com_devcompat, 2,
     99 };
    100 
    101 /* 3Com 3CXXX Ethernet */
    102 static const struct isapnp_matchinfo isapnp_ep_devlogic[] = {
    103 	{"TCM5090", 0},	/* 3Com 3c509B */
    104 	{"TCM5091", 0},	/* 3Com 3c509B-1 */
    105 	{"TCM5094", 0},	/* 3Com 3c509B-4 */
    106 	{"TCM5095", 0},	/* 3Com 3c509B-5 */
    107 	{"TCM5098", 0},	/* 3Com 3c509B-8 */
    108 };
    109 const struct isapnp_devinfo isapnp_ep_devinfo = {
    110 	isapnp_ep_devlogic, 5,
    111 	NULL, 0,
    112 };
    113 
    114 /* ESS Audio Drive */
    115 static const struct isapnp_matchinfo isapnp_ess_devlogic[] = {
    116 	{"ESS1868", 0},	/* ESS1868 */
    117 	{"ESS1869", 0},	/* ESS1869 */
    118 };
    119 const struct isapnp_devinfo isapnp_ess_devinfo = {
    120 	isapnp_ess_devlogic, 2,
    121 	NULL, 0,
    122 };
    123 
    124 /* Generic Joystick */
    125 static const struct isapnp_matchinfo isapnp_joy_devlogic[] = {
    126 	{"AZT0003", 0},	/* Aztech AZT2320 GAME PORT */
    127 	{"CSC0001", 0},	/* CS4235 */
    128 	{"CSCA801", 0},	/* Terratec EWS64XL */
    129 	{"CTL7002", 0},	/* Creative Vibra16CL */
    130 	{"ESS0001", 0},	/* ESS1868 */
    131 	{"OPT0001", 0},	/* OPTi Audio 16 */
    132 	{"PNPB02F", 0},	/* XXX broken GUS PnP */
    133 	{"ASB16FD", 0},	/* AdLib NSC 16 PNP */
    134 };
    135 static const struct isapnp_matchinfo isapnp_joy_devcompat[] = {
    136 	{"PNPB02F", 0},	/* generic */
    137 };
    138 const struct isapnp_devinfo isapnp_joy_devinfo = {
    139 	isapnp_joy_devlogic, 8,
    140 	isapnp_joy_devcompat, 1,
    141 };
    142 
    143 /* Gravis Ultrasound */
    144 static const struct isapnp_matchinfo isapnp_gus_devlogic[] = {
    145 	{"GRV0000", 0},	/* Gravis Ultrasound */
    146 };
    147 const struct isapnp_devinfo isapnp_gus_devinfo = {
    148 	isapnp_gus_devlogic, 1,
    149 	NULL, 0,
    150 };
    151 
    152 /* Lance Ethernet */
    153 static const struct isapnp_matchinfo isapnp_le_devlogic[] = {
    154 	{"TKN0010", 0},	/* Lance Ethernet on TEKNOR board */
    155 };
    156 const struct isapnp_devinfo isapnp_le_devinfo = {
    157 	isapnp_le_devlogic, 1,
    158 	NULL, 0,
    159 };
    160 
    161 /* MPU-401 MIDI UART */
    162 static const struct isapnp_matchinfo isapnp_mpu_devlogic[] = {
    163 	{"AZT0002", 0},	/* Aztech AZT2320 MPU401 MIDI */
    164 };
    165 const struct isapnp_devinfo isapnp_mpu_devinfo = {
    166 	isapnp_mpu_devlogic, 1,
    167 	NULL, 0,
    168 };
    169 
    170 /* NE2000 Ethernet */
    171 static const struct isapnp_matchinfo isapnp_ne_devlogic[] = {
    172 	{"@@@1980", 0},	/* OvisLink LE-8019R */
    173 };
    174 static const struct isapnp_matchinfo isapnp_ne_devcompat[] = {
    175 	{"PNP80D6", 0},	/* Digital DE305 ISAPnP */
    176 };
    177 const struct isapnp_devinfo isapnp_ne_devinfo = {
    178 	isapnp_ne_devlogic, 1,
    179 	isapnp_ne_devcompat, 1,
    180 };
    181 
    182 /* PCMCIA bridge */
    183 static const struct isapnp_matchinfo isapnp_pcic_devlogic[] = {
    184 	{"SCM0469", 0},	/* SCM SwapBox Plug and Play */
    185 	{"AEI0218", 0},	/* Actiontec PnP PCMCIA Adapter */
    186 };
    187 static const struct isapnp_matchinfo isapnp_pcic_devcompat[] = {
    188 	{"PNP0E00", 0},	/* PCIC Compatible PCMCIA Bridge */
    189 };
    190 const struct isapnp_devinfo isapnp_pcic_devinfo = {
    191 	isapnp_pcic_devlogic, 2,
    192 	isapnp_pcic_devcompat, 1,
    193 };
    194 
    195 /* Creative Soundblaster */
    196 static const struct isapnp_matchinfo isapnp_sb_devlogic[] = {
    197 	{"ADS7150", 0},	/* AD1815 */
    198 	{"ADS7180", 0},	/* AD1816 */
    199 	{"CTL0001", 0},	/* SB */
    200 	{"CTL0031", 0},	/* SB AWE32 */
    201 	{"CTL0041", 0},	/* SB16 PnP (CT4131) */
    202 	{"CTL0043", 0},	/* SB16 PnP (CT4170) */
    203 	{"CTL0042", 0},	/* SB AWE64 Value */
    204 	{"CTL0044", 0},	/* SB AWE64 Gold */
    205 	{"CTL0045", 0},	/* SB AWE64 Value */
    206 	{"OPT9250", 0},	/* Televideo card, Opti */
    207 	{"@X@0001", 0},	/* CMI8330. Audio Adapter */
    208 };
    209 static const struct isapnp_matchinfo isapnp_sb_devcompat[] = {
    210 	{"PNPB000", 0},	/* Generic SB 1.5 */
    211 	{"PNPB001", 0},	/* Generic SB 2.0 */
    212 	{"PNPB002", 0},	/* Generic SB Pro */
    213 	{"PNPB003", 0},	/* Generic SB 16 */
    214 };
    215 const struct isapnp_devinfo isapnp_sb_devinfo = {
    216 	isapnp_sb_devlogic, 11,
    217 	isapnp_sb_devcompat, 4,
    218 };
    219 
    220 /* TROPIC Token-Ring */
    221 static const struct isapnp_matchinfo isapnp_tr_devlogic[] = {
    222 	{"IBM0000", 0},	/* IBM TROPIC Token-Ring */
    223 	{"TCM3190", 0},	/* 3Com TokenLink Velocity ISA */
    224 };
    225 const struct isapnp_devinfo isapnp_tr_devinfo = {
    226 	isapnp_tr_devlogic, 2,
    227 	NULL, 0,
    228 };
    229 
    230 /* Western Digital Disk Controller */
    231 static const struct isapnp_matchinfo isapnp_wdc_devlogic[] = {
    232 	{"AZT0000", 0},	/* Aztech AZT2320 IDE CDROM */
    233 	{"OPT0007", 0},	/* OPTi Audio 16 IDE controller */
    234 };
    235 static const struct isapnp_matchinfo isapnp_wdc_devcompat[] = {
    236 	{"PNP0600", 0},	/* Western Digital Compatible Controller */
    237 };
    238 const struct isapnp_devinfo isapnp_wdc_devinfo = {
    239 	isapnp_wdc_devlogic, 2,
    240 	isapnp_wdc_devcompat, 1,
    241 };
    242 
    243 /* Microsoft Sound System */
    244 static const struct isapnp_matchinfo isapnp_wss_devlogic[] = {
    245 	{"AZT0001", 1},	/* Aztech AZT2320 AUDIO */
    246 	{"CSC0000", 0},	/* Windows Sound System */
    247 	{"CSCA800", 0},	/* Terratec EWS64 CoDec */
    248 	{"ASB1611", 0},	/* AdLib NSC 16 PNP */
    249 	{"ASB1622", 0},	/* AdLib MSC 32 Wave PnP V3SB */
    250 };
    251 const struct isapnp_devinfo isapnp_wss_devinfo = {
    252 	isapnp_wss_devlogic, 5,
    253 	NULL, 0,
    254 };
    255 
    256 /* Yamaha Sound */
    257 static const struct isapnp_matchinfo isapnp_ym_devlogic[] = {
    258 	{"YMH0021", 0},	/* OPL3-SA2, OPL3-SA3 */
    259 };
    260 const struct isapnp_devinfo isapnp_ym_devinfo = {
    261 	isapnp_ym_devlogic, 1,
    262 	NULL, 0,
    263 };
    264 
    265