316b48ba74
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver (ex) and Intel fxp driver. TODO: o Conform to the KNF more strictly. o Be unified with pcmcia code as much as possible. o Add more drivers for CardBus card, such as APA-1480 or USB card. The affected files are listed below. sys/arch/i386/conf/files.i386 sys/arch/macppc/conf/files.macppc sys/conf/files sys/dev/ic/elinkxl.c sys/dev/ic/elinkxlvar.h sys/dev/ic/i82365.c sys/dev/ic/i82365var.h sys/dev/isa/i82365_isasubr.c sys/dev/pci/files.pci sys/dev/pcmcia/pcmcia.c sys/dev/pcmcia/pcmciachip.h The added files are listed below. sys/arch/i386/conf/CARDBUS sys/arch/i386/include/rbus_machdep.h sys/arch/i386/i386/rbus_machdep.c sys/arch/macppc/include/rbus_machdep.h sys/arch/macppc/macppc/rbus_machdep.c sys/dev/cardbus/if_ex_cardbus.c sys/dev/cardbus/Makefile.cardbusdevs sys/dev/cardbus/cardbus.c sys/dev/cardbus/cardbus_map.c sys/dev/cardbus/cardbusdevs sys/dev/cardbus/cardbusdevs.h sys/dev/cardbus/cardbusdevs_data.h sys/dev/cardbus/cardbusvar.h sys/dev/cardbus/cardslot.c sys/dev/cardbus/cardslotvar.h sys/dev/cardbus/devlist2h.awk sys/dev/cardbus/files.cardbus sys/dev/cardbus/if_fxp_cardbus.c sys/dev/cardbus/pccardcis.h sys/dev/cardbus/rbus.c sys/dev/cardbus/rbus.h sys/dev/pci/pccbb.c sys/dev/pci/pccbbreg.h sys/dev/pci/pccbbvar.h
77 lines
2.8 KiB
C
77 lines
2.8 KiB
C
/* $NetBSD: cardbusdevs.h,v 1.1 1999/10/15 06:24:24 haya Exp $ */
|
|
|
|
/*
|
|
* THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
|
|
*
|
|
* generated from:
|
|
* Id: cardbusdevs,v 1.1 1999/10/15 06:07:18 haya Exp
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 1999 Hayakawa Koichi.
|
|
* All rights reserved.
|
|
*
|
|
* Redistribution and use in source and binary forms, with or without
|
|
* modification, are permitted provided that the following conditions
|
|
* are met:
|
|
* 1. Redistributions of source code must retain the above copyright
|
|
* notice, this list of conditions and the following disclaimer.
|
|
* 2. Redistributions in binary form must reproduce the above copyright
|
|
* notice, this list of conditions and the following disclaimer in the
|
|
* documentation and/or other materials provided with the distribution.
|
|
* 3. All advertising materials mentioning features or use of this software
|
|
* must display the following acknowledgement:
|
|
* This product includes software developed by the author
|
|
* for the NetBSD Project.
|
|
* 4. The name of the author may not be used to endorse or promote products
|
|
* derived from this software without specific prior written permission
|
|
*
|
|
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
*/
|
|
|
|
/*
|
|
* This code is stollen from sys/dev/pci/pcidevs
|
|
*/
|
|
|
|
|
|
/*
|
|
* List of known CardBus vendors
|
|
*/
|
|
|
|
#define CARDBUS_VENDOR_DEC 0x1011 /* Digital Equipment */
|
|
#define CARDBUS_VENDOR_3COM 0x10B7 /* 3Com */
|
|
#define CARDBUS_VENDOR_ADP 0x9004 /* Adaptec */
|
|
#define CARDBUS_VENDOR_ADP2 0x9005 /* Adaptec (2nd PCI Vendor ID) */
|
|
#define CARDBUS_VENDOR_OPTI 0x1045 /* Opti */
|
|
#define CARDBUS_VENDOR_INTEL 0x8086 /* Intel */
|
|
|
|
/*
|
|
* List of known products. Grouped by vendor.
|
|
*/
|
|
|
|
/* 3COM Products */
|
|
|
|
#define CARDBUS_PRODUCT_3COM_3C575TX 0x5057 /* 3c575 100Base-TX */
|
|
#define CARDBUS_PRODUCT_3COM_3C575BTX 0x5157 /* 3c575B 100Base-TX */
|
|
|
|
/* Adaptec products */
|
|
#define CARDBUS_PRODUCT_ADP_1480 0x6075 /* APA-1480 */
|
|
|
|
/* DEC products */
|
|
#define CARDBUS_PRODUCT_DEC_21142 0x0019 /* DECchip 21142/3 */
|
|
|
|
/* Intel products */
|
|
#define CARDBUS_PRODUCT_INTEL_82557 0x1229 /* 82557 Fast Ethernet LAN Controller */
|
|
|
|
/* Opti products */
|
|
#define CARDBUS_PRODUCT_OPTI_82C861 0xc861 /* 82C861 USB Host Controller (OHCI) */
|