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