[HOME] [github] [twitter] [blog] [fml4] [fml8] [北海道] Powered by NetBSD and [nuinui.net] .

GNATS (GNU Problem Report Management System)

ご存知、有名な bug tracking system。 まぁとにかく GNATS の実例を見よう〜 http://www.netbsd.org/Misc/send-pr.html

send-pr の例

To: gnats-bugs@gnats.netbsd.org
Subject: no definition for 9801N-J12 pcmcia card
From: fukachan@fml.org
Reply-To: fukachan@fml.org
X-send-pr-version: 3.95


>Submitter-Id:	net
>Originator:	Ken'ichi Fukamachi
>Organization:	fml.org
>Confidential:	no
>Synopsis:	no definition for 9801N-J12 pcmcia card
>Severity:	non-critical
>Priority:	low
>Category:	kern
>Class:		sw-bug
>Release:	NetBSD 1.5.1_BETA2
>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

[HOME] [github] [twitter] [blog] [fml4] [fml8] [北海道] Powered by NetBSD and [nuinui.net] .
Copyright (C) 1993-2022 Ken'ichi Fukamachi mail:< fukachan at fml.org >