Subject: kern/14084: no definition for 9801N-J12 pcmcia card
To: None <gnats-bugs@gnats.netbsd.org>
From: None <fukachan@fml.org>
List: netbsd-bugs
Date: 09/28/2001 12:44:21
>Number: 14084
>Category: kern
>Synopsis: no definition for 9801N-J12 pcmcia card
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 27 20:45:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Ken'ichi Fukamachi
>Release: NetBSD 1.5.1_BETA2
>Organization:
fml.org
>Environment:
System: NetBSD rudo.home.fml.org 1.5.1_BETA2 NetBSD 1.5.1_BETA2 (BETH) #0: Thu Sep 27 12:09:39 JST 2001 fukachan@rudo.home.fml.org:/usr/NetBSD-release-1-5/src/sys/arch/i386/compile/BETH i386
>Description:
NEC 9801N-J12 pcmcia card does not work with NetBSD/i386 (netbsd-1-5
branch). NetBSD kernel detects it as "ne" but it cannot be
configured.
I do not test it with NetBSD-current but it looks NetBSD-current has
no definition for this card.
>How-To-Repeat:
attach it.
>Fix:
apply the following patch.
By the way, this card looks an OEM of IBM INFOMOVER.
So, the following definition may be more appropriate ?
{ PCMCIA_STR_NEC_9801N_J12,
PCMCIA_VENDOR_IBM, PCMCIA_PRODUCT_IBM_INFOMOVER,
PCMCIA_CIS_NEC_9801N_J12,
0, 0xff0, { 0x00, 0x00, 0x4c } },
Index: if_ne_pcmcia.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/pcmcia/if_ne_pcmcia.c,v
retrieving revision 1.62.4.5
diff -u -u -b -r1.62.4.5 if_ne_pcmcia.c
--- if_ne_pcmcia.c 2001/06/16 19:18:50 1.62.4.5
+++ if_ne_pcmcia.c 2001/09/26 09:42:26
@@ -200,6 +200,11 @@
PCMCIA_CIS_SVEC_PN650TX,
0, -1, { 0x00, 0xe0, 0x98 }, NE2000DVF_DL10019 },
+ { PCMCIA_STR_NEC_9801N_J12,
+ PCMCIA_VENDOR_NEC, PCMCIA_PRODUCT_NEC_9801N_J12,
+ PCMCIA_CIS_NEC_9801N_J12,
+ 0, 0xff0, { 0x00, 0x00, 0x4c } },
+
/*
* This entry should be here so that above two cards doesn't
* match with this. FNW-3700T won't match above entries due to
Index: pcmciadevs
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/pcmcia/pcmciadevs,v
retrieving revision 1.93.2.7
diff -u -u -b -r1.93.2.7 pcmciadevs
--- pcmciadevs 2001/06/16 19:19:12 1.93.2.7
+++ pcmciadevs 2001/09/26 09:42:26
@@ -43,6 +43,7 @@
vendor FUJITSU 0x0004 Fujitsu Corporation
vendor PANASONIC 0x0032 Matsushita Electric Industrial Co.
vendor SANDISK 0x0045 Sandisk Corporation
+vendor NEC 0x00a4 NEC
vendor NEWMEDIA 0x0057 New Media Corporation
vendor INTEL 0x0089 Intel
vendor IBM 0x00a4 IBM Corporation
@@ -83,6 +84,9 @@
/*
* List of known products. Grouped by vendor.
*/
+
+/* NEC */
+product NEC 9801N_J12 0x0002 NEC PC-9801N-J12 LAN
/* Adaptec Products */
product ADAPTEC APA1460 0x0001 Adaptec APA-1460 SlimSCSI
>Release-Note:
>Audit-Trail:
>Unformatted: