From owner-freebsd-bugs@FreeBSD.ORG Sun Jun 15 12:00:32 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 126AF37B404 for ; Sun, 15 Jun 2003 12:00:32 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0B3543FB1 for ; Sun, 15 Jun 2003 12:00:30 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5FJ0UUp097717 for ; Sun, 15 Jun 2003 12:00:30 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5FJ0Uqh097716; Sun, 15 Jun 2003 12:00:30 -0700 (PDT) Resent-Date: Sun, 15 Jun 2003 12:00:30 -0700 (PDT) Resent-Message-Id: <200306151900.h5FJ0Uqh097716@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, David Wolfskill Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF99F37B40D for ; Sun, 15 Jun 2003 11:52:06 -0700 (PDT) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DD7C43F93 for ; Sun, 15 Jun 2003 11:52:06 -0700 (PDT) (envelope-from david@catwhisker.org) Received: from d146.catwhisker.org (d146.catwhisker.org [172.16.8.146]) by bunrab.catwhisker.org (8.12.9/8.12.9) with ESMTP id h5FIq5ab016312; Sun, 15 Jun 2003 11:52:05 -0700 (PDT) (envelope-from david@mailhost.catwhisker.org) Received: from d146.catwhisker.org (dtf6ny9378565l20@localhost [127.0.0.1]) by d146.catwhisker.org (8.12.9/8.12.9) with ESMTP id h5FIq5uT000549; Sun, 15 Jun 2003 11:52:05 -0700 (PDT) (envelope-from david@d146.catwhisker.org) Received: (from david@localhost) by d146.catwhisker.org (8.12.9/8.12.9/Submit) id h5FIq5vS000548; Sun, 15 Jun 2003 11:52:05 -0700 (PDT) Message-Id: <200306151852.h5FIq5vS000548@d146.catwhisker.org> Date: Sun, 15 Jun 2003 11:52:05 -0700 (PDT) From: David Wolfskill To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/53356: pccard.conf stanza to support D-Link DFE-670TXD 10/100 NIC X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David Wolfskill List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jun 2003 19:00:32 -0000 >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: