Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jun 2003 11:52:05 -0700 (PDT)
From:      David Wolfskill <david@catwhisker.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/53356: pccard.conf stanza to support D-Link DFE-670TXD 10/100 NIC
Message-ID:  <200306151852.h5FIq5vS000548@d146.catwhisker.org>
Resent-Message-ID: <200306151900.h5FJ0Uqh097716@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         53356
>Category:       misc
>Synopsis:       pccard.conf stanza to support D-Link DFE-670TXD 10/100 NIC
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 15 12:00:30 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     David Wolfskill
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Wolfskill & Dowling Residence
>Environment:
System: FreeBSD d146.catwhisker.org 4.8-STABLE FreeBSD 4.8-STABLE #562: Sun Jun 15 06:40:52 PDT 2003 root@d146.catwhisker.org:/common/S1/obj/usr/src/sys/LAPTOP_30W i386

Laptop/notebook or other FreeBSD machine that supports 16-bit PC Card
NICs.

>Description:
FreeBSD -STABLE (and -CURRENT with OLDCARD, presumably) doesn't support
the D-Link DFE-670TXD 16-bit 10/100 Mb Ethernet NIC.  The supplied patch
provides the support -- at least, It Works For Me (tm).

>How-To-Repeat:
Obtain the use of a D-Link DFE-670TXD.  Insert it into an unused PC Card
slot while FreeBSD-STABLE (or FreeBSD-CURRENT with OLDCARD) is
running.  Look at /var/log/messages, and note that pccardd whined that
it couldn't find an entry for the DFE-670TXD.

Then apply the following patch, re-start pccardd, and repeat the
above; the results should be rather more useful.  :-)

Note:  I have not even tried to optimize this.  I just copied the
previous stanza (for the DFE-650) and changed the names; that much
appeared to work, so I left well enough alone, going on the premise that
making it work at all was better than having it not work at all.  I'm
expecting that this ought to be rather low-risk, which is why I gave it
a "priority" as high as "medium".

>Fix:

--- pccard.conf	Sun Feb 16 06:44:54 2003
+++ ../pccard.conf	Fri Jun 13 22:23:33 2003
@@ -541,6 +541,12 @@
 	insert	/etc/pccard_ether $device start
 	remove	/etc/pccard_ether $device stop
 
+# D-Link DFE-670 Fast Ethernet Card
+card "D-Link" "DFE-670TXD"
+	config	auto "ed" ? 0x80010
+	insert	/etc/pccard_ether $device start
+	remove	/etc/pccard_ether $device stop
+
 # D-Link DME-560T LAN/FAX/MODEM Card (as Ethernet)
 card "D-Link" "DME560T"
 	config	default "ed" ?
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306151852.h5FIq5vS000548>