Subject: kern/21497: Corega FEther II CB-TXD is not recognized
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ura@hiru.aoba.yokohama.jp>
List: netbsd-bugs
Date: 05/08/2003 15:53:55
>Number:         21497
>Category:       kern
>Synopsis:       Corega FEther II CB-TXD is not recognized
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu May 08 07:11:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     URA Hiroshi
>Release:        NetBSD 1.6R
>Organization:
>Environment:
System: NetBSD fumizuki.hiru.aoba.yokohama.jp 1.6R NetBSD 1.6R (FUMIZUKI) #194: Sat May 3 21:46:05 JST 2003 ura@fumizuki.hiru.aoba.yokohama.jp:/usr/src/sys/arch/i386/compile/FUMIZUKI i386
Architecture: i386
Machine: i386
>Description:
>How-To-Repeat:
>Fix:
apply this following patch:

Index: cardbusdevs
===================================================================
RCS file: /cvsroot/src/sys/dev/cardbus/cardbusdevs,v
retrieving revision 1.24
diff -u -u -r1.24 cardbusdevs
--- cardbusdevs	2003/02/01 07:49:33	1.24
+++ cardbusdevs	2003/05/08 06:41:17
@@ -108,6 +108,7 @@
 
 /* Corega products */
 product COREGA CB_TXD	0xa117	FEther CB-TXD 10/100 Ethernet
+product COREGA 2CB_TXD	0xa11E	FEther II CB-TXD 10/100 Ethernet
 
 /* AboCom products */
 product ABOCOM FE2500	0xab02	FE2500 10/100 Ethernet
Index: cardbusdevs.h
===================================================================
RCS file: /cvsroot/src/sys/dev/cardbus/cardbusdevs.h,v
retrieving revision 1.21
diff -u -u -r1.21 cardbusdevs.h
--- cardbusdevs.h	2003/02/01 07:50:06	1.21
+++ cardbusdevs.h	2003/05/08 06:41:17
@@ -115,6 +115,7 @@
 
 /* Corega products */
 #define	CARDBUS_PRODUCT_COREGA_CB_TXD	0xa117		/* FEther CB-TXD 10/100 Ethernet */
+#define	CARDBUS_PRODUCT_COREGA_2CB_TXD	0xa11E		/* FEther II CB-TXD 10/100 Ethernet */
 
 /* AboCom products */
 #define	CARDBUS_PRODUCT_ABOCOM_FE2500	0xab02		/* FE2500 10/100 Ethernet */
Index: cardbusdevs_data.h
===================================================================
RCS file: /cvsroot/src/sys/dev/cardbus/cardbusdevs_data.h,v
retrieving revision 1.21
diff -u -u -r1.21 cardbusdevs_data.h
--- cardbusdevs_data.h	2003/02/01 07:50:06	1.21
+++ cardbusdevs_data.h	2003/05/08 06:41:17
@@ -170,6 +170,12 @@
 	    "FEther CB-TXD 10/100 Ethernet",
 	},
 	{
+	    CARDBUS_VENDOR_COREGA, CARDBUS_PRODUCT_COREGA_2CB_TXD,
+	    0,
+	    "Corega",
+	    "FEther II CB-TXD 10/100 Ethernet",
+	},
+	{
 	    CARDBUS_VENDOR_ABOCOM, CARDBUS_PRODUCT_ABOCOM_FE2500,
 	    0,
 	    "AboCom Systems",
Index: if_rtk_cardbus.c
===================================================================
RCS file: /cvsroot/src/sys/dev/cardbus/if_rtk_cardbus.c,v
retrieving revision 1.14
diff -u -u -r1.14 if_rtk_cardbus.c
--- if_rtk_cardbus.c	2003/02/01 07:50:38	1.14
+++ if_rtk_cardbus.c	2003/05/08 06:41:17
@@ -114,6 +114,8 @@
 		"RealTek 8139 10/100BaseTX", RTK_8139 },
 	{ CARDBUS_VENDOR_COREGA, CARDBUS_PRODUCT_COREGA_CB_TXD,
 		"Corega FEther CB-TXD 10/100BaseTX", RTK_8139 },
+	{ CARDBUS_VENDOR_COREGA, CARDBUS_PRODUCT_COREGA_2CB_TXD,
+		"Corega FEther II CB-TXD 10/100BaseTX", RTK_8139 },
 	{ CARDBUS_VENDOR_PLANEX, CARDBUS_PRODUCT_PLANEX_FNW_3603_TX,
 		"Planex FNW-3603 10/100BaseTX", RTK_8139 },
 	{ CARDBUS_VENDOR_ABOCOM, CARDBUS_PRODUCT_ABOCOM_FE2000VX,
>Release-Note:
>Audit-Trail:
>Unformatted: