Subject: kern/15666: EDIMAX EP-4101 PCMCIA card support (patch included)
To: None <gnats-bugs@gnats.netbsd.org>
From: Noud de Brouwer <noud@knot.nl>
List: netbsd-bugs
Date: 02/19/2002 11:22:57
>Number: 15666
>Category: kern
>Synopsis: EDIMAX EP-4101 PCMCIA card support (patch included)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Tue Feb 19 02:43:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Noud de Brouwer
>Release: NetBSD 1.5ZA
>Organization:
KnoT Foundation
>Environment:
System: 1.5ZA (ME_LAPTOP) #0: Fri Feb 15 15:45:21 CET 2002
root@127.0.0.1:/usr/src/sys/arch/i386/compile/ME_LAPTOP
Architecture: i386
Machine: i386
>Description:
The EDIMAX EP-4101 PCMCIA card is not supported.
these 2 small patches add support.
>How-To-Repeat:
insert EDIMAX EP-4101 PCMCIA card, boot, see:
PCMCIA, FastEtherCard, (manufacturer 0xffff, product 0x1090) at pcmcia1,
function 0 not configured
>Fix:
noud# cat pcmciadevs.diff
--- pcmciadevs Fri Feb 15 18:31:34 2002
+++ pcmciadevs.new Fri Feb 15 18:36:13 2002
@@ -383,6 +383,9 @@
vendor TEAC -1 TEAC
vendor YEDATA -1 Y-E DATA
vendor GENIUS -1 Genius Lan
+vendor EDIMAXTW -1 Edimax Technology Co.Ltd.
+
+product EDIMAXTW EP4101 0x1090 EDIMAX EP-4101
product ACCTON EN2212 { "ACCTON", "EN2212", NULL, NULL } Accton EN2212
product AMBICOM AMB8002T { "AmbiCom&spInc", "AMB8002T", NULL, NULL }
AmbiCom AMB8002T
noud#
noud# cat if_ne_pcmcia.c.diff
--- if_ne_pcmcia.c Mon Jan 14 13:36:57 2002
+++ if_ne_pcmcia.c.new Fri Feb 15 15:19:02 2002
@@ -238,6 +238,11 @@
PCMCIA_CIS_PLANEX_FNW3700T,
0, -1, { 0x00, 0x90, 0xcc }, NE2000DVF_AX88190 },
+ { PCMCIA_STR_EDIMAXTW_EP4101,
+ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_EDIMAXTW_EP4101,
+ PCMCIA_CIS_EDIMAXTW_EP4101,
+ 0, -1, { 0x00, 0x90, 0xcc }, NE2000DVF_AX88190 },
+
{ PCMCIA_STR_LINKSYS_ETHERFAST,
PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_LINKSYS_ETHERFAST,
PCMCIA_CIS_LINKSYS_ETHERFAST,
noud#
now, at boot it shows:
ne1 at pcmcia1 function 0
ne1: EDIMAX EP-4101 (AX88190) Ethernet
ne1: Ethernet address 00:50:fc:29:7d:18
ukphy0 at ne1 phy 1: Generic IEEE 802.3u media interface
and the card is configurable and workable.
small sidenote..it's a 16bits pcmcia not a cardbus.
a 10MB ether cardbus card being 32bits outperforms the 100MB 16bit.
(i didn't know)
--
------------------------------------
## UNIX's an abbreviation ##
* my pc's my backplane _*
------------------------------------
>Release-Note:
>Audit-Trail:
>Unformatted:
SEND-PR: -*- send-pr -*-
SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as
SEND-PR: will all comments (text enclosed in `<' and `>').
SEND-PR:
SEND-PR: Please consult the send-pr man page `send-pr(1)' or the Texinfo
SEND-PR: manual if you are not sure how to fill out a problem report.
SEND-PR:
SEND-PR: NOTE: If you include a patch that corrects the problem, the
SEND-PR: issue will probably be handled much more quickly.
SEND-PR:
SEND-PR: Choose from the following categories:
SEND-PR:
SEND-PR: admin bin install kern
SEND-PR: lib misc pkg port-algor
SEND-PR: port-alpha port-amiga port-arc port-arm
SEND-PR: port-arm26 port-arm32 port-atari port-bebox
SEND-PR: port-cats port-cobalt port-dreamcast port-hp300
SEND-PR: port-hpcmips port-hpcsh port-i386 port-luna68k
SEND-PR: port-m68k port-mac68k port-macppc port-mips
SEND-PR: port-mvme68k port-news68k port-newsmips port-next68k
SEND-PR: port-ofppc port-pc532 port-pmax port-powerpc
SEND-PR: port-prep port-sgimips port-sh3 port-sparc
SEND-PR: port-sparc64 port-sun2 port-sun3 port-vax
SEND-PR: port-x68k security standards xsrc
SEND-PR: y2k
SEND-PR:
To: gnats-bugs@gnats.netbsd.org
Subject: EDIMAX EP-4101 PCMCIA card support (patch included)
From: noud@knot.nl
Reply-To: noud@knot.nl
X-send-pr-version: 3.95