- 论坛徽章:
- 0
|
OpenBSD 4.2
/usr/src/sys/dev/pcmcia/if_ne_pcmcia.c
//因论坛字数限制,源程序分2部分贴//
/* $OpenBSD: if_ne_pcmcia.c,v 1.90 2007/05/08 18:50:06 deraadt Exp $ */
/* $NetBSD: if_ne_pcmcia.c,v 1.17 1998/08/15 19:00:04 thorpej Exp $ */
/*
* Copyright (c) 1997 Marc Horowitz. 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 Marc Horowitz.
* 4. The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission.
*
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/selinfo.h>
#include <sys/device.h>
#include <sys/socket.h>
#include <net/if_types.h>
#include <net/if.h>
#include <net/if_media.h>
#include <netinet/in.h>
#include <netinet/if_ether.h>
#include <machine/bus.h>
#include <dev/pcmcia/pcmciareg.h>
#include <dev/pcmcia/pcmciavar.h>
#include <dev/pcmcia/pcmciadevs.h>
#include <dev/mii/miivar.h>
#include <dev/mii/mii_bitbang.h>
#include <dev/ic/dp8390reg.h>
#include <dev/ic/dp8390var.h>
#include <dev/ic/ne2000reg.h>
#include <dev/ic/ne2000var.h>
#include <dev/ic/dl10019reg.h>
#include <dev/ic/dl10019var.h>
#include <dev/ic/rtl80x9reg.h>
#include <dev/ic/rtl80x9var.h>
#include <dev/ic/ax88190reg.h>
#include <dev/ic/ax88190var.h>
int ne_pcmcia_match(struct device *, void *, void *);
void ne_pcmcia_attach(struct device *, struct device *, void *);
int ne_pcmcia_detach(struct device *, int);
int ne_pcmcia_activate(struct device *, enum devact);
int ne_pcmcia_enable(struct dp8390_softc *);
void ne_pcmcia_disable(struct dp8390_softc *);
struct ne_pcmcia_softc {
struct ne2000_softc sc_ne2000; /* real "ne2000" softc */
/* PCMCIA-specific goo */
struct pcmcia_io_handle sc_pcioh; /* PCMCIA i/o information */
int sc_asic_io_window; /* i/o window for ASIC */
int sc_nic_io_window; /* i/o window for NIC */
struct pcmcia_function *sc_pf; /* our PCMCIA function */
void *sc_ih; /* interrupt handle */
};
u_int8_t *
ne_pcmcia_get_enaddr(struct ne_pcmcia_softc *, int,
u_int8_t[ETHER_ADDR_LEN]);
u_int8_t *
ne_pcmcia_dl10019_get_enaddr(struct ne_pcmcia_softc *,
u_int8_t[ETHER_ADDR_LEN]);
int ne_pcmcia_ax88190_set_iobase(struct ne_pcmcia_softc *);
struct cfattach ne_pcmcia_ca = {
sizeof(struct ne_pcmcia_softc), ne_pcmcia_match, ne_pcmcia_attach,
ne_pcmcia_detach, ne_pcmcia_activate
};
const struct ne2000dev {
u_int16_t manufacturer;
u_int16_t product;
char *cis_info[4];
int function;
int enet_maddr;
unsigned char enet_vendor[3];
int flags;
#define NE2000DVF_AX88190 0x0002 /* chip is ASIX AX88190 */
} ne2000devs[] = {
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_AMBICOM_AMB8002T,
0, -1, { 0x00, 0x10, 0x7a } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_PREMAX_PE200,
0, 0x07f0, { 0x00, 0x20, 0xe0 } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_DIGITAL_DEPCMXX,
0, 0x0ff0, { 0x00, 0x00, 0xe8 } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_PLANET_SMARTCOM2000,
0, 0x0ff0, { 0x00, 0x00, 0xe8 } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_DLINK_DE660,
0, -1, { 0x00, 0x80, 0xc8 } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_DLINK_DE660PLUS,
0, -1, { 0x00, 0x80, 0xc8 } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_RPTI_EP400,
0, -1, { 0x00, 0x40, 0x95 } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_RPTI_EP401,
0, -1, { 0x00, 0x40, 0x95 } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_ACCTON_EN2212,
0, 0x0ff0, { 0x00, 0x00, 0xe8 } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_ADDTRON_W89C926,
0, -1, { 0x00, 0x40, 0x33 } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_SVEC_COMBOCARD,
0, -1, { 0x00, 0xe0, 0x98 } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_SVEC_LANCARD,
0, 0x07f0, { 0x00, 0xc0, 0x6c } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_EPSON_EEN10B,
PCMCIA_CIS_EPSON_EEN10B,
0, 0x0ff0, { 0x00, 0x00, 0x48 } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_EDIMAX_NE2000,
0, -1, { 0x00, 0x00, 0xb4 } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_CNET_NE2000,
0, -1, { 0x00, 0x80, 0xad } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_CNET_CNF301,
PCMCIA_CIS_CNET_CNF301,
0, -1, { 0x00, 0x10, 0x60 } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_BILLIONTON_LNT10TN,
0, -1, { 0x00, 0x00, 0x00 } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_NDC_ND5100_E,
0, -1, { 0x00, 0x80, 0xc6 } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_SYNERGY21_S21810,
0, -1, { 0x00, 0x48, 0x54 } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_TAMARACK_NE2000,
0, -1, { 0x00, 0x47, 0x43 } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_GVC_NIC2000P,
0, 0x0ff0, { 0x00, 0x00, 0xe8 } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_WISECOM_T210CT,
0, -1, { 0x00, 0x20, 0x18 } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_WISECOM_IPORT,
0, -1, { 0x00, 0x02, 0xdd } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_AROWANA_FE,
0, -1, { 0x00, 0x48, 0x54 }, NE2000DVF_AX88190 },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_GVC_NP0335,
0, -1, { 0x00, 0x40, 0x05 } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_RELIA_RE2408T,
0, -1, { 0x00, 0xc0, 0x0c } },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_BILLIONTON_CFLT2,
0, -1, { 0x00, 0x10, 0x60 } },
/*
* You have to add new entries which contains
* PCMCIA_VENDOR_INVALID and/or PCMCIA_PRODUCT_INVALID
* in front of this comment.
*
* There are cards which use a generic vendor and product id but needs
* a different handling depending on the cis_info, so ne2000_match
* needs a table where the exceptions comes first and then the normal
* product and vendor entries.
*/
{ PCMCIA_VENDOR_GREYCELL, PCMCIA_PRODUCT_GREYCELL_GCS2000,
PCMCIA_CIS_GREYCELL_GCS2000,
0, -1, { 0x00, 0x47, 0x43 } },
{ PCMCIA_VENDOR_IBM, PCMCIA_PRODUCT_IBM_INFOMOVER,
PCMCIA_CIS_IBM_INFOMOVER,
0, 0x0ff0, { 0x08, 0x00, 0x5a } },
{ PCMCIA_VENDOR_IBM, PCMCIA_PRODUCT_IBM_INFOMOVER,
PCMCIA_CIS_IBM_INFOMOVER,
0, 0x0ff0, { 0x00, 0x04, 0xac } },
{ PCMCIA_VENDOR_IBM, PCMCIA_PRODUCT_IBM_INFOMOVER,
PCMCIA_CIS_IBM_INFOMOVER,
0, 0x0ff0, { 0x00, 0x06, 0x29 } },
{ PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_LINKSYS_ECARD_1,
PCMCIA_CIS_LINKSYS_ECARD_1,
0, -1, { 0x00, 0x80, 0xc8 } },
{ PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_LINKSYS_PCM100,
PCMCIA_CIS_LINKSYS_PCM100,
0, -1, { 0x00, 0x04, 0x5a } },
{ PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_LINKSYS_COMBO_ECARD,
PCMCIA_CIS_LINKSYS_COMBO_ECARD,
0, -1, { 0x00, 0x04, 0x5a }, NE2000DVF_AX88190 },
{ PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_LINKSYS_COMBO_ECARD,
PCMCIA_CIS_LINKSYS_COMBO_ECARD,
0, -1, { 0x00, 0x80, 0xc8 } },
{ PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_LINKSYS_COMBO_ECARD,
PCMCIA_CIS_PLANEX_FNW3600T,
0, -1, { 0x00, 0x90, 0xcc } },
{ PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_LINKSYS_COMBO_ECARD,
PCMCIA_CIS_SVEC_PN650TX,
0, -1, { 0x00, 0xe0, 0x98 } },
{ PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_LINKSYS_COMBO_ECARD,
PCMCIA_CIS_TRENDNET_TECF100,
0, -1, { 0x00, 0x12, 0x0e } },
/*
* This entry should be here so that above two cards doesn't
* match with this. FNW-3700T won't match above entries due to
* MAC address check.
*/
{ PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_LINKSYS_COMBO_ECARD,
PCMCIA_CIS_PLANEX_FNW3700T,
0, -1, { 0x00, 0x90, 0xcc }, NE2000DVF_AX88190 },
{ PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_LINKSYS_ETHERFAST,
PCMCIA_CIS_LINKSYS_ETHERFAST,
0, -1, { 0x00, 0x80, 0xc8 } },
{ PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_LINKSYS_ETHERFAST,
PCMCIA_CIS_LINKSYS_ETHERFAST,
0, -1, { 0x00, 0x50, 0xba } },
{ PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_LINKSYS_ETHERFAST,
PCMCIA_CIS_DLINK_DE650,
0, -1, { 0x00, 0xe0, 0x98 } },
{ PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_NETGEAR_FA410TXC,
PCMCIA_CIS_DLINK_DFE670TXD,
0, -1, { 0x00, 0x05, 0x5d } },
{ PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_NETGEAR_FA410TXC,
PCMCIA_CIS_DLINK_DFE670TXD,
0, -1, { 0x00, 0x50, 0xba } },
{ PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_LINKSYS_TRUST_COMBO_ECARD,
PCMCIA_CIS_LINKSYS_TRUST_COMBO_ECARD,
0, 0x0120, { 0x20, 0x04, 0x49 } },
/* Although the comments above say to put VENDOR/PRODUCT INVALID IDs
above this list, we need to keep this one below the ECARD_1, or else
both will match the same more-generic entry rather than the more
specific one above with proper vendor and product IDs. */
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_LINKSYS_ECARD_2,
0, -1, { 0x00, 0x80, 0xc8 } },
/*
* D-Link DE-650 has many minor versions:
*
* CIS information Manufacturer Product Note
* 1 "D-Link, DE-650" INVALID INVALID white card
* 2 "D-Link, DE-650, Ver 01.00" INVALID INVALID became bare metal
* 3 "D-Link, DE-650, Ver 01.00" 0x149 0x265 minor change in look
* 4 "D-Link, DE-650, Ver 01.00" 0x149 0x265 collision LED added
*
* While the 1st and the 2nd types should use the "D-Link DE-650" entry,
* the 3rd and the 4th types should use the "Linksys EtherCard" entry.
* Therefore, this entry must be below the LINKSYS_ECARD_1. --itohy
*/
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_DLINK_DE650,
0, 0x0040, { 0x00, 0x80, 0xc8 } },
/*
* IO-DATA PCLA/TE and later version of PCLA/T has valid
* vendor/product ID and it is possible to read MAC address
* using standard I/O ports. It also read from CIS offset 0x01c0.
* On the other hand, earlier version of PCLA/T doesn't have valid
* vendor/product ID and MAC address must be read from CIS offset
* 0x0ff0 (i.e., usual ne2000 way to read it doesn't work).
* And CIS information of earlier and later version of PCLA/T are
* same except fourth element. So, for now, we place the entry for
* PCLA/TE (and later version of PCLA/T) followed by entry
* for the earlier version of PCLA/T (or, modify to match all CIS
* information and have three or more individual entries).
*/
{ PCMCIA_VENDOR_IODATA, PCMCIA_PRODUCT_IODATA_PCLATE,
PCMCIA_CIS_IODATA_PCLATE,
0, -1, { 0x00, 0xa0, 0xb0 } },
/*
* This entry should be placed after above PCLA-TE entry.
* See above comments for detail.
*/
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
PCMCIA_CIS_IODATA_PCLAT,
0, 0x0ff0, { 0x00, 0xa0, 0xb0 } },
{ PCMCIA_VENDOR_DAYNA, PCMCIA_PRODUCT_DAYNA_COMMUNICARD_E_1,
PCMCIA_CIS_DAYNA_COMMUNICARD_E_1,
0, 0x0110, { 0x00, 0x80, 0x19 } },
{ PCMCIA_VENDOR_DAYNA, PCMCIA_PRODUCT_DAYNA_COMMUNICARD_E_2,
PCMCIA_CIS_DAYNA_COMMUNICARD_E_2,
0, -1, { 0x00, 0x80, 0x19 } },
{ PCMCIA_VENDOR_COREGA, PCMCIA_PRODUCT_COREGA_ETHER_PCC_T,
PCMCIA_CIS_COREGA_ETHER_PCC_T,
0, -1, { 0x00, 0x00, 0xf4 } },
{ PCMCIA_VENDOR_COREGA, PCMCIA_PRODUCT_COREGA_ETHER_PCC_TD,
PCMCIA_CIS_COREGA_ETHER_PCC_TD,
0, -1, { 0x00, 0x00, 0xf4 } },
{ PCMCIA_VENDOR_COREGA, PCMCIA_PRODUCT_COREGA_ETHER_II_PCC_T,
PCMCIA_CIS_COREGA_ETHER_II_PCC_T,
0, -1, { 0x00, 0x00, 0xf4 } },
{ PCMCIA_VENDOR_COREGA, PCMCIA_PRODUCT_COREGA_ETHER_II_PCC_TD,
PCMCIA_CIS_COREGA_ETHER_II_PCC_TD,
0, -1, { 0x00, 0x00, 0xf4 } },
{ PCMCIA_VENDOR_COREGA, PCMCIA_PRODUCT_COREGA_FAST_ETHER_PCC_TX,
PCMCIA_CIS_COREGA_FAST_ETHER_PCC_TX,
0, -1, { 0x00, 0x00, 0xf4 } },
{ PCMCIA_VENDOR_COREGA, PCMCIA_PRODUCT_COREGA_FETHER_PCC_TXF,
PCMCIA_CIS_COREGA_FETHER_PCC_TXF,
0, -1, { 0x00, 0x90, 0x99 } },
{ PCMCIA_VENDOR_COREGA, PCMCIA_PRODUCT_COREGA_FETHER_PCC_TXD,
PCMCIA_CIS_COREGA_FETHER_PCC_TXD,
0, -1, { 0x00, 0x90, 0x99 } },
{ PCMCIA_VENDOR_COMPEX, PCMCIA_PRODUCT_COMPEX_LINKPORT_ENET_B,
PCMCIA_CIS_COMPEX_LINKPORT_ENET_B,
0, 0x01c0, { 0x00, 0xa0, 0x0c } },
{ PCMCIA_VENDOR_SMC, PCMCIA_PRODUCT_SMC_EZCARD,
PCMCIA_CIS_SMC_EZCARD,
0, 0x01c0, { 0x00, 0xe0, 0x29 } },
{ PCMCIA_VENDOR_IODATA, PCMCIA_PRODUCT_IODATA_8041TX,
PCMCIA_CIS_IODATA_8041TX,
0, -1, { 0x00, 0x04, 0xe2 } },
{ PCMCIA_VENDOR_SMC, PCMCIA_PRODUCT_SMC_8041,
PCMCIA_CIS_SMC_8041,
0, -1, { 0x00, 0x04, 0xe2 } },
{ PCMCIA_VENDOR_SOCKET, PCMCIA_PRODUCT_SOCKET_LP_ETHER_CF,
PCMCIA_CIS_SOCKET_LP_ETHER_CF,
0, -1, { 0x00, 0xc0, 0x1b} },
{ PCMCIA_VENDOR_SOCKET, PCMCIA_PRODUCT_SOCKET_LP_ETHER,
PCMCIA_CIS_SOCKET_LP_ETHER,
0, -1, { 0x00, 0xc0, 0x1b } },
{ PCMCIA_VENDOR_SOCKET, PCMCIA_PRODUCT_SOCKET_ETHER_CF_10_100,
PCMCIA_CIS_SOCKET_ETHER_CF_10_100,
0, -1, { 0x00, 0x12, 0x0e } },
{ PCMCIA_VENDOR_SOCKET, PCMCIA_PRODUCT_SOCKET_ETHER_CF_10_100,
PCMCIA_CIS_SOCKET_ETHER_CF_10_100,
0, -1, { 0x00, 0xe0, 0x98 } },
{ PCMCIA_VENDOR_XIRCOM, PCMCIA_PRODUCT_XIRCOM_CFE_10,
PCMCIA_CIS_XIRCOM_CFE_10,
0, -1, { 0x00, 0x10, 0xa4 } },
{ PCMCIA_VENDOR_MELCO, PCMCIA_PRODUCT_MELCO_LPC3_TX,
PCMCIA_CIS_MELCO_LPC3_TX,
0, -1, { 0x00, 0x40, 0x26 }, NE2000DVF_AX88190 },
{ PCMCIA_VENDOR_BUFFALO, PCMCIA_PRODUCT_BUFFALO_LPC_CF_CLT,
PCMCIA_CIS_INVALID,
0, -1, { 0x00, 0x07, 0x40 } },
{ PCMCIA_VENDOR_BUFFALO, PCMCIA_PRODUCT_BUFFALO_LPC3_CLT,
PCMCIA_CIS_INVALID,
0, -1, { 0x00, 0x07, 0x40 } },
{ PCMCIA_VENDOR_BUFFALO, PCMCIA_PRODUCT_BUFFALO_LPC4_CLX,
PCMCIA_CIS_INVALID,
0, -1, { 0x00, 0x40, 0xfa }, NE2000DVF_AX88190 },
{ PCMCIA_VENDOR_DUAL, PCMCIA_PRODUCT_DUAL_NE2000,
PCMCIA_CIS_DUAL_NE2000,
0, 0x0ff0, { 0x00, 0xa0, 0x0c } },
{ PCMCIA_VENDOR_ALLIEDTELESIS, PCMCIA_PRODUCT_ALLIEDTELESIS_LA_PCM,
PCMCIA_CIS_ALLIEDTELESIS_LA_PCM,
0, 0x0ff0, { 0x00, 0x00, 0xf4 } },
{ PCMCIA_VENDOR_KINGSTON, PCMCIA_PRODUCT_KINGSTON_KNE_PCM,
PCMCIA_CIS_KINGSTON_KNE_PCM,
0, 0x0ff0, { 0xe2, 0x0c, 0x0f } },
{ PCMCIA_VENDOR_KINGSTON, PCMCIA_PRODUCT_KINGSTON_KNE_PC2,
PCMCIA_CIS_KINGSTON_KNE_PC2,
0, 0x0180, { 0x00, 0xc0, 0xf0 } },
{ PCMCIA_VENDOR_TELECOMDEVICE, PCMCIA_PRODUCT_TELECOMDEVICE_TCD_HPC100,
PCMCIA_CIS_TELECOMDEVICE_TCD_HPC100,
0, -1, { 0x00, 0x40, 0x26 }, NE2000DVF_AX88190 },
{ PCMCIA_VENDOR_MACNICA, PCMCIA_PRODUCT_MACNICA_ME1_JEIDA,
PCMCIA_CIS_MACNICA_ME1_JEIDA,
0, 0x00b8, { 0x08, 0x00, 0x42 } },
{ PCMCIA_VENDOR_NETGEAR, PCMCIA_PRODUCT_NETGEAR_FA410TXC,
PCMCIA_CIS_NETGEAR_FA410TXC,
0, -1, { 0x00, 0x40, 0xf4 } },
{ PCMCIA_VENDOR_NETGEAR, PCMCIA_PRODUCT_NETGEAR_FA410TXC,
PCMCIA_CIS_NETGEAR_FA410TXC,
0, -1, { 0x00, 0x48, 0x54 } },
{ PCMCIA_VENDOR_NETGEAR, PCMCIA_PRODUCT_NETGEAR_FA410TXC,
PCMCIA_CIS_DLINK_DFE670TXD,
0, -1, { 0x00, 0x40, 0x05 } },
{ PCMCIA_VENDOR_NETGEAR, PCMCIA_PRODUCT_NETGEAR_FA410TXC,
PCMCIA_CIS_DLINK_DFE670TXD,
0, -1, { 0x00, 0x11, 0x95 } },
{ PCMCIA_VENDOR_NETGEAR, PCMCIA_PRODUCT_NETGEAR_FA410TXC,
PCMCIA_CIS_DLINK_DFE670TXD,
0, -1, { 0x00, 0x0d, 0x88 } },
{ PCMCIA_VENDOR_NETGEAR, PCMCIA_PRODUCT_NETGEAR_FA411,
PCMCIA_CIS_NETGEAR_FA411,
0, -1, { 0x00, 0x40, 0xf4 } },
{ PCMCIA_VENDOR_BELKIN, PCMCIA_PRODUCT_BELKIN_F5D5020,
PCMCIA_CIS_BELKIN_F5D5020,
0, -1, { 0x00, 0x30, 0xbd } },
#if 0
/* the rest of these are stolen from the linux pcnet pcmcia device
driver. Since I don't know the manfid or cis info strings for
any of them, they're not compiled in until I do. */
{ "APEX MultiCard",
0x0000, 0x0000, NULL, NULL, 0,
0x03f4, { 0x00, 0x20, 0xe5 } },
{ "ASANTE FriendlyNet",
0x0000, 0x0000, NULL, NULL, 0,
0x4910, { 0x00, 0x00, 0x94 } },
{ "Danpex EN-6200P2",
0x0000, 0x0000, NULL, NULL, 0,
0x0110, { 0x00, 0x40, 0xc7 } },
{ "DataTrek NetCard",
0x0000, 0x0000, NULL, NULL, 0,
0x0ff0, { 0x00, 0x20, 0xe8 } },
{ "EP-210 Ethernet",
0x0000, 0x0000, NULL, NULL, 0,
0x0110, { 0x00, 0x40, 0x33 } },
{ "ELECOM Laneed LD-CDWA",
0x0000, 0x0000, NULL, NULL, 0,
0x00b8, { 0x08, 0x00, 0x42 } },
{ "Grey Cell GCS2220",
0x0000, 0x0000, NULL, NULL, 0,
0x0000, { 0x00, 0x47, 0x43 } },
{ "Hypertec Ethernet",
0x0000, 0x0000, NULL, NULL, 0,
0x01c0, { 0x00, 0x40, 0x4c } },
{ "IBM FME",
0x0000, 0x0000, NULL, NULL, 0,
0x0374, { 0x00, 0x04, 0xac } },
{ "IBM FME",
0x0000, 0x0000, NULL, NULL, 0,
0x0374, { 0x08, 0x00, 0x5a } },
{ "Katron PE-520",
0x0000, 0x0000, NULL, NULL, 0,
0x0110, { 0x00, 0x40, 0xf6 } },
{ "Kingston KNE-PCM/x",
0x0000, 0x0000, NULL, NULL, 0,
0x0ff0, { 0x00, 0xc0, 0xf0 } },
{ "Longshine LCS-8534",
0x0000, 0x0000, NULL, NULL, 0,
0x0000, { 0x08, 0x00, 0x00 } },
{ "Maxtech PCN2000",
0x0000, 0x0000, NULL, NULL, 0,
0x5000, { 0x00, 0x00, 0xe8 } },
{ "NDC Instant-Link",
0x0000, 0x0000, NULL, NULL, 0,
0x003a, { 0x00, 0x80, 0xc6 } },
{ "Network General Sniffer",
0x0000, 0x0000, NULL, NULL, 0,
0x0ff0, { 0x00, 0x00, 0x65 } },
{ "Panasonic VEL211",
0x0000, 0x0000, NULL, NULL, 0,
0x0ff0, { 0x00, 0x80, 0x45 } },
{ "SCM Ethernet",
0x0000, 0x0000, NULL, NULL, 0,
0x0ff0, { 0x00, 0x20, 0xcb } },
{ "Socket EA",
0x0000, 0x0000, NULL, NULL, 0,
0x4000, { 0x00, 0xc0, 0x1b } },
{ "Volktek NPL-402CT",
0x0000, 0x0000, NULL, NULL, 0,
0x0060, { 0x00, 0x40, 0x05 } },
#endif
}; |
|
|