Subject: kern/17686: Dynalink L10C pcmcia card is not supported
To: None <gnats-bugs@gnats.netbsd.org>
From: Cliff Albert <cliff@oisec.net>
List: netbsd-bugs
Date: 07/23/2002 09:44:41
>Number:         17686
>Category:       kern
>Synopsis:       Dynalink L10C pcmcia card is not supported
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 23 00:45:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6D
>Organization:
Cliff Albert		| RIPE:	     CA3348-RIPE | http://oisec.net/
cliff@oisec.net		| 6BONE:     CA2-6BONE	 |
>Environment:
System: NetBSD paige 1.6D NetBSD 1.6D (PAIGE) #1: Fri Jul 19 09:42:48 CEST 2002 cliff@paige:/usr/src/sys/arch/i386/compile/PAIGE i386
Architecture: i386
Machine: i386
>Description:
	The Dynalink L10C PCMCIA network card isn't detected by NetBSD
>How-To-Repeat:
	Insert a Dynalink L10C PCMCIA network card
>Fix:

Apply the following patch inside /usr/src/sys/dev/pcmcia and run a make -f Makefile.pcmciadevs afterwards. Then recompile your kernel.

--- ./if_ne_pcmcia.c	Tue Jun  4 12:48:16 2002
+++ /root/t/if_ne_pcmcia.c	Thu Jul 18 09:24:14 2002
@@ -463,6 +463,11 @@
       PCMCIA_CIS_NETGEAR_FA411,
       0, -1, { 0x00, 0x40, 0xf4 } },
 
+    { PCMCIA_STR_DYNALINK_L10C,
+      PCMCIA_VENDOR_DYNALINK, PCMCIA_PRODUCT_DYNALINK_L10C,
+      PCMCIA_CIS_DYNALINK_L10C,
+      0, -1, { 0x00, 0x00, 0x00 } },
+
 #if 0
     /* the rest of these are stolen from the linux pcnet pcmcia device
        driver.  Since I don't know the manfid or cis info strings for
diff -u -r ./pcmciadevs /root/t/pcmciadevs
--- ./pcmciadevs	Mon Jun 17 13:42:36 2002
+++ /root/t/pcmciadevs	Thu Jul 18 09:25:39 2002
@@ -378,6 +378,7 @@
 vendor CNET			-1	CNet
 vendor DIGITAL			-1 	Digital Equipment Corporation
 vendor DLINK			-1 	D-Link
+vendor DYNALINK			-1	DynaLink
 vendor EIGERLABS		-1	Eiger labs,Inc.
 vendor EPSON			-1	Seiko Epson Corporation
 vendor EXP			-1	EXP Computer Inc
@@ -417,6 +418,8 @@
 product DLINK DE660		{ "D-Link", "DE-660", NULL, NULL } D-Link DE-660
 product DLINK DE660PLUS		{ "D-Link", "DE-660+", NULL, NULL } D-Link DE-660+
 product DLINK DFE670TXD		{ "D-Link", "DFE-670TXD", NULL, NULL } D-Link DFE-670TXD
+
+product DYNALINK L10C		{ "DYNALINK", "L10C", NULL, NULL } Dynalink L10C
 /*
  * vendor ID of EPX_AA2000 is Fujitsu (0x0004) and product ID is 0x2000, but
  * it conflicts with Fujitsu Towa LA501 Ethernet.
>Release-Note:
>Audit-Trail:
>Unformatted: