Re: pccard/cardbus question

From: Ian FREISLICH <if_at_hetzner.co.za>
Date: Wed, 20 Oct 2004 10:46:08 +0200
"M. Warner Losh" wrote:
> In message: <E1CJp9w-000Bqn-00_at_hetzner.co.za>
>             Ian FREISLICH <if_at_hetzner.co.za> writes:
> : pccard1: <unknown card> (manufacturer=0xffffffff, product=0xffffffff) at fu
nction 0
> : pccard1:    CIS info: ACCTON, EN2216-PCMCIA-ETHERNET, EN2216
> : 
> : I think that the CIS info needse to be added to if_ed_pccard.c, but
> : I can't figure out how to do this.  The full CIS info from this
> : card is included.
> : 
> : Can someone help?
> 
> Index: if_ed_pccard.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/dev/ed/if_ed_pccard.c,v
> retrieving revision 1.59
> diff -u -r1.59 if_ed_pccard.c
> --- if_ed_pccard.c	21 Jul 2004 20:38:12 -0000	1.59
> +++ if_ed_pccard.c	20 Oct 2004 04:39:23 -0000
> _at__at_ -123,6 +123,7 _at__at_
>  #define	NE2000DVF_AX88190	0x0002		/* chip is ASIX AX88190
 */
>  } ed_pccard_products[] = {
>  	{ PCMCIA_CARD(ACCTON, EN2212, 0), 0},
> +	{ PCMCIA_CARD(ACCTON, EN2216, 0), 0},
>  	{ PCMCIA_CARD(ALLIEDTELESIS, LA_PCM, 0), 0},
>  	{ PCMCIA_CARD(AMBICOM, AMB8002T, 0), 0},
>  	{ PCMCIA_CARD(BILLIONTON, LNT10TN, 0), 0},
> 
> Since ACCTON EN2216 is already in pccarddevs.

Thanks a stack - that does the trick.  I can't believe that I missed
that.  In fact I had to read this patch about 10 times just to make
sure that it wasn't a duplicated line. :/

Ian

--
Ian Freislich
Received on Wed Oct 20 2004 - 06:46:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:18 UTC