pccard/cardbus question

M. Warner Losh imp at bsdimp.com
Tue Oct 19 21:41:37 PDT 2004


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 function 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
@@ -123,6 +123,7 @@
 #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.

Warner


More information about the freebsd-current mailing list