Subject: kern/15100: adding support for D-Link DFE-690TXD 10/100 Ethernet (Cardbus)
To: None <gnats-bugs@gnats.netbsd.org>
From: John Nemeth <jnemeth@access.victoria.bc.ca>
List: netbsd-bugs
Date: 12/31/2001 05:45:35
>Number:         15100
>Category:       kern
>Synopsis:       adding support for D-Link DFE-690TXD 10/100 Ethernet (Cardbus)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 31 05:46:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     John Nemeth
>Release:        NetBSD 1.5.2
>Organization:
access Computer Systems
>Environment:
NetBSD dclap 1.5.2 NetBSD 1.5.2 (DCLAP) #1: Sun Dec 30 20:33:02 PST 2001     root@dclap:/usr/src/sys/arch/i386/compile/DCLAP i386
>Description:
Curently, there is no support for the D-Link DFE-690TXD 10/100 Cardbus
Ethernet adaptor.
>How-To-Repeat:
Insert above adaptor into a machine with a kernel compiled with cardbus
support and note that it says "unconfigured".
>Fix:
In the /sys/dev/cardbus directory, apply the following patches,
run "make -f Makefile.cardbusdevs", and recompile your kernel:

*** cardbusdevs.orig	Sun Dec 30 18:44:23 2001
--- cardbusdevs		Sun Dec 30 19:13:39 2001
***************
*** 41,46 ****
--- 41,47 ----
   */
  
  vendor DEC		0x1011	Digital Equipment
+ vendor DLINK		0x1186	D-Link Systems
  vendor 3COM		0x10B7	3Com
  vendor ADP		0x9004	Adaptec
  vendor ADP2		0x9005	Adaptec (2nd PCI Vendor ID)
***************
*** 88,90 ****
--- 89,94 ----
  
  /* Realtek (Creative Labs?) products */
  product REALTEK RT8138	0x8138	8138 Ethernet
+ 
+ /* D-Link products */
+ product DLINK	DFE_690TXD	0x1340	DFE-690TXD 10/100 Ethernet

*** if_rtk_cardbus.c.orig	Sun Dec 30 18:44:30 2001
--- if_rtk_cardbus.c		Sun Dec 30 19:08:54 2001
***************
*** 103,108 ****
--- 103,110 ----
  	{ CARDBUS_VENDOR_ACCTON, CARDBUS_PRODUCT_ACCTON_MPX5030,
  		"Accton MPX 5030/5038 10/100BaseTX",
  		RTK_8139 },
+ 	{ CARDBUS_VENDOR_DLINK, CARDBUS_PRODUCT_DLINK_DFE_690TXD,
+ 		"D-Link DFE-690TXD 10/100BaseTX", RTK_8139 },
  	{ CARDBUS_VENDOR_REALTEK, CARDBUS_PRODUCT_REALTEK_RT8138,
  		"RealTek 8138 10/100BaseTX", RTK_8139 },
  	{ 0, 0, NULL, 0 }
>Release-Note:
>Audit-Trail:
>Unformatted: