Subject: kern/20175: Support for PLANEX FNW-3800-TX 10/100 Cardbus Ethernet
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kato.r@jcom.home.ne.jp>
List: netbsd-bugs
Date: 02/02/2003 17:01:19
>Number:         20175
>Category:       kern
>Synopsis:       Support for PLANEX FNW-3800-TX 10/100 Cardbus Ethernet
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 02 17:02:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Ryoji Kato
>Release:        1.6
>Organization:
>Environment:
NetBSD vaio 1.6 NetBSD 1.6 (SIGSIM) #7: Mon Feb  3 09:24:21 GMT 2003     nrjryka@vaio:/home/nrjryka/sigsim/sys/arch/i386/compile/SIGSIM i386

>Description:
FNW-3800-TX manifuctured by PLANEX Communication Inc is not attached
by NetBSD-1.6 release version.

>How-To-Repeat:

>Fix:
Apply the patch below in sys/dev/cardbus.

Anyway, the product id is 0xab07. It will be available when it is attached
as rtk ethernet interface. Modify the cardbusdevs and rtk_cardbus_devs[].

------------------------ cut here ------------------------

--- cardbusdevs.orig	Sun Feb  2 20:43:13 2003
+++ cardbusdevs	Mon Feb  3 09:22:33 2003
@@ -53,6 +53,7 @@
 vendor COREGA		0x1259	Corega
 vendor ALLIEDTELESYN	0x1259	Allied Telesyn International
 vendor ABOCOM		0x13d1	AboCom Systems
+vendor PLANEX		0x14ea	Planex Communications
 vendor HAWKING		0x17b3	Hawking Technology
 vendor INTEL		0x8086	Intel
 vendor ADP		0x9004	Adaptec
@@ -122,3 +123,6 @@
 
 /* Adaptec products */
 product ADP 1480        0x6075  APA-1480
+
+/* Planex product */
+product PLANEX FNW_3800_TX	0xab07	FNW-3800-TX 10/100 Ethernet
--- cardbusdevs.h.orig	Sun Feb  2 20:46:50 2003
+++ cardbusdevs.h	Mon Feb  3 09:22:37 2003
@@ -1,4 +1,4 @@
-/*	$NetBSD: cardbusdevs.h,v 1.18 2002/02/17 21:21:15 augustss Exp $	*/
+/*	$NetBSD$	*/
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -60,6 +60,7 @@
 #define	CARDBUS_VENDOR_COREGA	0x1259		/* Corega */
 #define	CARDBUS_VENDOR_ALLIEDTELESYN	0x1259		/* Allied Telesyn International */
 #define	CARDBUS_VENDOR_ABOCOM	0x13d1		/* AboCom Systems */
+#define	CARDBUS_VENDOR_PLANEX	0x14ea		/* Planex Communications */
 #define	CARDBUS_VENDOR_HAWKING	0x17b3		/* Hawking Technology */
 #define	CARDBUS_VENDOR_INTEL	0x8086		/* Intel */
 #define	CARDBUS_VENDOR_ADP	0x9004		/* Adaptec */
@@ -129,3 +130,6 @@
 
 /* Adaptec products */
 #define	CARDBUS_PRODUCT_ADP_1480	0x6075		/* APA-1480 */
+
+/* Planex product */
+#define	CARDBUS_PRODUCT_PLANEX_FNW_3800_TX	0xab07		/* FNW-3800-TX 10/100 Ethernet */
--- cardbusdevs_data.h.orig	Sun Feb  2 20:47:21 2003
+++ cardbusdevs_data.h	Mon Feb  3 09:22:55 2003
@@ -1,4 +1,4 @@
-/*	$NetBSD: cardbusdevs_data.h,v 1.18 2002/02/17 21:21:16 augustss Exp $	*/
+/*	$NetBSD$	*/
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -206,6 +206,12 @@
 	    "APA-1480",
 	},
 	{
+	    CARDBUS_VENDOR_PLANEX, CARDBUS_PRODUCT_PLANEX_FNW_3800_TX,
+	    0,
+	    "Planex Communications",
+	    "FNW-3800-TX 10/100 Ethernet",
+	},
+	{
 	    CARDBUS_VENDOR_DEC, 0,
 	    CARDBUS_KNOWNDEV_NOPROD,
 	    "Digital Equipment",
@@ -281,6 +287,12 @@
 	    CARDBUS_VENDOR_ABOCOM, 0,
 	    CARDBUS_KNOWNDEV_NOPROD,
 	    "AboCom Systems",
+	    NULL,
+	},
+	{
+	    CARDBUS_VENDOR_PLANEX, 0,
+	    CARDBUS_KNOWNDEV_NOPROD,
+	    "Planex Communications",
 	    NULL,
 	},
 	{
--- if_rtk_cardbus.c.orig	Sun Feb  2 21:19:28 2003
+++ if_rtk_cardbus.c	Mon Feb  3 09:23:29 2003
@@ -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_PLANEX, CARDBUS_PRODUCT_PLANEX_FNW_3800_TX,
+		"Planex 10/100BaseTX FNW-3800-TX", RTK_8139 },
 	{ 0, 0, NULL, 0 }
 };
 

>Release-Note:
>Audit-Trail:
>Unformatted: