Subject: kern/18943: Trendnet TE100-PCBUSR (a 10/100 CardBus card) is not recognized by NetBSD !
To: None <gnats-bugs@gnats.netbsd.org>
From: None <philobsd@free.fr>
List: netbsd-bugs
Date: 11/05/2002 06:00:52
>Number:         18943
>Category:       kern
>Synopsis:       Trendnet TE100-PCBUSR (a 10/100 CardBus card) is not recognized by NetBSD !
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 05 06:02:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Baptiste Fargier
>Release:        1.6_STABLE
>Organization:
>Environment:
NetBSD diogene 1.6_STABLE NetBSD 1.6_STABLE (NOYAU_TE100) #1: Tue Nov  5 01:05:09 CET 2002     root@:/usr/src/sys/arch/i386/compile/NOYAU_TE100 i386
>Description:
TRENDware TE100-PCBUSR (a 10/100 CardBus card) is not recognized by NetBSD !

According to kern/16557 i thought TRENDware TE100-PCBUSR (10/100 Cardbus card) was to use with tlp0 but as it didn't work for me i asked Trendware (http://www.trendware.com) :  that  pccard does use a Realtek 8139 chipset.

Kernel produces the following output when a TRENDnet TE100-PCBUSR CardBus card is inserted:

CardBus, Fast Ethernet, V1.0,  unknown vendor 0x13d1 product 0xab06 (ethernet network, revision 0x11) at cardbus0 dev 0 function 0 not configured

(note here that in kern/16557 product id was : 0xab08) :

dmesg after the patch :

rtk0 at cardbus0 dev 0 function 0: Trendnet TE100-PCBUSR 10/100
rtk0: Ethernet address 00:e0:98:9d:c3:a1
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

and it does work well after that :)


>How-To-Repeat:

>Fix:
patches :

--- /usr/src/sys/dev/cardbus/cardbusdevs	Mon Feb 18 13:32:53 2002
+++ cardbusdevs	Mon Nov  4 16:34:12 2002
@@ -111,7 +111,7 @@
 /* AboCom products */
 product ABOCOM FE2500	0xab02	FE2500 10/100 Ethernet
 product ABOCOM PCM200	0xab03	FE2500 10/100 Ethernet
-
+product ABOCOM TE100	0xab06	TE100 10/100 Ethernet
 /* Hawking Technology products */
 product HAWKING PN672TX	0xab08	PN672TX 10/100 Ethernet
 
--- /usr/src/sys/dev/cardbus/cardbusdevs.h	Mon Feb 18 13:32:54 2002
+++ cardbusdevs.h	Mon Nov  4 16:38:56 2002
@@ -118,7 +118,7 @@
 /* AboCom products */
 #define	CARDBUS_PRODUCT_ABOCOM_FE2500	0xab02		/* FE2500 10/100 Ethernet */
 #define	CARDBUS_PRODUCT_ABOCOM_PCM200	0xab03		/* FE2500 10/100 Ethernet */
-
+#define CARDBUS_PRODUCT_ABOCOM_TE100	0xab06		/* TE100 10/100 Ethernet */
 /* Hawking Technology products */
 #define	CARDBUS_PRODUCT_HAWKING_PN672TX	0xab08		/* PN672TX 10/100 Ethernet */
 
--- /usr/src/sys/dev/cardbus/cardbusdevs_data.h	Mon Feb 18 13:32:54 2002
+++ cardbusdevs_data.h	Mon Nov  4 16:42:20 2002
@@ -182,6 +182,12 @@
 	    "FE2500 10/100 Ethernet",
 	},
 	{
+	    CARDBUS_VENDOR_ABOCOM, CARDBUS_PRODUCT_ABOCOM_TE100,
+            0,
+	    "AboCom Systems",
+	    "TE100 10/100 Ethernet",
+	},
+	{
 	    CARDBUS_VENDOR_HAWKING, CARDBUS_PRODUCT_HAWKING_PN672TX,
 	    0,
 	    "Hawking Technology",
--- /usr/src/sys/dev/cardbus/if_rtk_cardbus.c	Sat Jan  5 13:42:03 2002
+++ if_rtk_cardbus.c	Tue Nov  5 14:21:26 2002
@@ -103,6 +103,8 @@
  * Various supported device vendors/types and their names.
  */
 static const struct rtk_type rtk_cardbus_devs[] = {
+	{ CARDBUS_VENDOR_ABOCOM, CARDBUS_PRODUCT_ABOCOM_TE100,
+		"Trendnet TE100-PCBUSR 10/100", RTK_8139 },
 	{ CARDBUS_VENDOR_ACCTON, CARDBUS_PRODUCT_ACCTON_MPX5030,
 		"Accton MPX 5030/5038 10/100BaseTX",
 		RTK_8139 },

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