Subject: kern/30995: pcmcia interface can't use ne2000 compatible card
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <keiji@hiemalis.org>
List: netbsd-bugs
Date: 08/15/2005 16:32:00
>Number: 30995
>Category: kern
>Synopsis: pcmcia interface can't use ne2000 compatible card
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Aug 15 16:32:00 +0000 2005
>Originator: Wada Keiji
>Release: NetBSD 3.99.7
>Organization:
>Environment:
NetBSD poker 3.99.7 NetBSD 3.99.7 (POKER) #0: Tue Aug 9 23:40:47 JST 2005 root@poker:/home/NetBSD/src/sys/arch/i386/compile/POKER i386
>Description:
ThinkPad 380D , 535E and old pcmcia interface laptop pc can't use ne2000 compatible pcmcia card.
>How-To-Repeat:
Problem is occard allways.
pcmcia.c 1.69 is the first problem.
>Fix:
This patch fix problem.
--- pcmcia.c.1.73 2005-02-28 06:06:57.000000000 +0900
+++ pcmcia.c 2005-08-16 00:27:05.000000000 +0900
@@ -516,6 +516,7 @@
* necessary.
*/
pcmcia_socket_enable(&sc->dev);
+ pcmcia_socket_settype(&sc->dev, pf->cfe->iftype);
if (pf->pf_flags & PFF_ENABLED) {
/*