Subject: kern/17134: new ne* pcmcia pccard: corega EtherII PCC-TD
To: None <gnats-bugs@gnats.netbsd.org>
From: None <fujiwara@f.pyon.org>
List: netbsd-bugs
Date: 06/01/2002 20:09:21
>Number:         17134
>Category:       kern
>Synopsis:       new ne* pccard: corega EtherII PCC-TD
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 01 13:14:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Kazunori Fujiwara
>Release:        NetBSD 1.6A
>Organization:
	
>Environment:
	
	
System: NetBSD light 1.6A NetBSD 1.6A (LIBRETTO) #2: Sat Jun 1 19:52:46 UTC 2002 root@light.f.pyon.org:/usr/src/sys/arch/i386/compile/LIBRETTO i386
Architecture: i386
Machine: i386
>Description:
	new ne0 pcmcia pccard: corega EtherII PCC-TD
>How-To-Repeat:
	
>Fix:
add new pcmcia card entry to /sys/dev/pcmcia/pcmciadevs
and run /sys/dev/pcmcia/Makefile.pcmciadevs
and this card entry to if_ne_pcmcia.c

Index: if_ne_pcmcia.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/pcmcia/if_ne_pcmcia.c,v
retrieving revision 1.90
diff -u -b -r1.90 if_ne_pcmcia.c
--- if_ne_pcmcia.c	2002/05/08 18:18:55	1.90
+++ if_ne_pcmcia.c	2002/06/01 19:24:05
@@ -368,6 +368,11 @@
       PCMCIA_CIS_COREGA_ETHER_II_PCC_T,
       0, -1, { 0x00, 0x00, 0xf4 } },
 
+    { PCMCIA_STR_COREGA_ETHER_II_PCC_TD,
+      PCMCIA_VENDOR_COREGA, PCMCIA_PRODUCT_COREGA_ETHER_II_PCC_TD,
+      PCMCIA_CIS_COREGA_ETHER_II_PCC_TD,
+      0, -1, { 0x00, 0x00, 0xf4 } },
+
     { PCMCIA_STR_COREGA_FAST_ETHER_PCC_TX,
       PCMCIA_VENDOR_COREGA, PCMCIA_PRODUCT_COREGA_FAST_ETHER_PCC_TX,
       PCMCIA_CIS_COREGA_FAST_ETHER_PCC_TX,
Index: pcmciadevs
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/pcmcia/pcmciadevs,v
retrieving revision 1.169
diff -u -b -r1.169 pcmciadevs
--- pcmciadevs	2002/05/31 13:29:19	1.169
+++ pcmciadevs	2002/06/01 14:29:09
@@ -397,6 +397,7 @@
 product CNET NE2000		{ "CNet", "CN40BC&spEthernet", "D", "NE2000" } CNet CN40BC NE2000 Compatible
 product COREGA ETHER_PCC_T	{ "corega&spK.K.", "corega&spEther&spPCC-T", NULL, NULL } Corega Ether PCC-T
 product COREGA ETHER_PCC_TD	{ "corega&spK.K.", "corega&spEther&spPCC-TD", NULL, NULL } Corega Ether PCC-TD
+product COREGA ETHER_II_PCC_TD	{ "corega&spK.K.", "corega&spEtherII&spPCC-TD", NULL, NULL } Corega EtherII PCC-TD
 product COREGA ETHER_II_PCC_T	{ "corega&spK.K.", "corega&spEtherII&spPCC-T", NULL, NULL } Corega EtherII PCC-T
 product COREGA FAST_ETHER_PCC_TX	{ "corega&spK.K.", "corega&spFastEther&spPCC-TX", NULL, NULL } Corega FastEther PCC-TX
 product COREGA FETHER_PCC_TXD	{ "corega&spK.K.", "corega&spFEther&spPCC-TXD", NULL, NULL } Corega FEther PCC-TXD
>Release-Note:
>Audit-Trail:
>Unformatted: