enabling EMTAC A2424i Wavelan Card

It work fine.
This commit is contained in:
ichiro 2001-06-27 16:03:01 +00:00
parent 9ccf08b3c5
commit 46a9744df4
2 changed files with 28 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_wi_pcmcia.c,v 1.3 2001/05/16 14:33:21 ichiro Exp $ */ /* $NetBSD: if_wi_pcmcia.c,v 1.4 2001/06/27 16:03:01 ichiro Exp $ */
/*- /*-
* Copyright (c) 2001 The NetBSD Foundation, Inc. * Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -201,12 +201,12 @@ static const struct wi_pcmcia_product {
PCMCIA_PRODUCT_BUFFALO_WLI_PCM_S11, PCMCIA_PRODUCT_BUFFALO_WLI_PCM_S11,
PCMCIA_CIS_BUFFALO_WLI_PCM_S11, PCMCIA_CIS_BUFFALO_WLI_PCM_S11,
PCMCIA_STR_BUFFALO_WLI_PCM_S11 }, PCMCIA_STR_BUFFALO_WLI_PCM_S11 },
#if 0
{ PCMCIA_VENDOR_EMTAC, { PCMCIA_VENDOR_EMTAC,
PCMCIA_PRODUCT_EMTAC_WLAN, PCMCIA_PRODUCT_EMTAC_WLAN,
PCMCIA_CIS_EMTAC_WLAN, PCMCIA_CIS_EMTAC_WLAN,
PCMCIA_STR_EMTAC_WLAN }, PCMCIA_STR_EMTAC_WLAN },
#endif
{ 0, { 0,
0, 0,
{ NULL, NULL, NULL, NULL }, { NULL, NULL, NULL, NULL },

View File

@ -1,4 +1,4 @@
/* $NetBSD: pcmcia_cis_quirks.c,v 1.11 2001/05/16 06:29:01 lukem Exp $ */ /* $NetBSD: pcmcia_cis_quirks.c,v 1.12 2001/06/27 16:03:01 ichiro Exp $ */
/* /*
* Copyright (c) 1998 Marc Horowitz. All rights reserved. * Copyright (c) 1998 Marc Horowitz. All rights reserved.
@ -233,6 +233,28 @@ static const struct pcmcia_config_entry pcmcia_ndc_nd5100_func0_cfe0 = {
0, /* maxtwins */ 0, /* maxtwins */
}; };
static const struct pcmcia_function pcmcia_emtac_a2424i_func0 = {
0, /* function number */
PCMCIA_FUNCTION_NETWORK,
0x21, /* last cfe number */
0x3e0, /* ccr_base */
0x1, /* ccr_mask */
};
static const struct pcmcia_config_entry pcmcia_emtac_a2424i_func0_cfe0 = {
0x21, /* cfe number */
PCMCIA_CFE_IO16 | PCMCIA_CFE_IRQLEVEL |
PCMCIA_CFE_IRQPULSE,
PCMCIA_IFTYPE_IO,
1, /* num_iospace */
6, /* iomask */
{ { 0x40, 0x100 } }, /* iospace */
0xffff, /* irqmask */
0, /* num_memspace */
{ { 0 } }, /* memspace */
0, /* maxtwins */
};
static const struct pcmcia_cis_quirk pcmcia_cis_quirks[] = { static const struct pcmcia_cis_quirk pcmcia_cis_quirks[] = {
{ PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_LINKSYS_ECARD_1, { PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_LINKSYS_ECARD_1,
PCMCIA_CIS_INVALID, PCMCIA_CIS_INVALID,
@ -264,6 +286,8 @@ static const struct pcmcia_cis_quirk pcmcia_cis_quirks[] = {
&pcmcia_sveclancard_func0, &pcmcia_sveclancard_func0_cfe0 }, &pcmcia_sveclancard_func0, &pcmcia_sveclancard_func0_cfe0 },
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID, PCMCIA_CIS_NDC_ND5100_E, { PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID, PCMCIA_CIS_NDC_ND5100_E,
&pcmcia_ndc_nd5100_func0, &pcmcia_ndc_nd5100_func0_cfe0 }, &pcmcia_ndc_nd5100_func0, &pcmcia_ndc_nd5100_func0_cfe0 },
{ PCMCIA_VENDOR_EMTAC, PCMCIA_PRODUCT_EMTAC_WLAN, PCMCIA_CIS_INVALID,
&pcmcia_emtac_a2424i_func0, &pcmcia_emtac_a2424i_func0_cfe0 },
}; };
static int n_pcmcia_cis_quirks = static int n_pcmcia_cis_quirks =