From owner-freebsd-mobile@FreeBSD.ORG Sun Jun 15 12:23:52 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6515037B401 for ; Sun, 15 Jun 2003 12:23:52 -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 A31AF43FCB for ; Sun, 15 Jun 2003 12:23:51 -0700 (PDT) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.12.9/8.12.9) with ESMTP id h5FJNpab016619 for ; Sun, 15 Jun 2003 12:23:51 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.12.9/8.12.9/Submit) id h5FJNoTd016618 for mobile@freebsd.org; Sun, 15 Jun 2003 12:23:50 -0700 (PDT) Date: Sun, 15 Jun 2003 12:23:50 -0700 (PDT) From: David Wolfskill Message-Id: <200306151923.h5FJNoTd016618@bunrab.catwhisker.org> To: mobile@freebsd.org Subject: D-Link DFE-670TXD 16-bit 10/100 Ethernet NIC support (w/patch) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jun 2003 19:23:52 -0000 After breaking Yet Another Dongle, and (finally -- after about 6 months) getting sufficiently tired of trying to place the pieces in Just The Right Position so I could still use the NIC, I finally decided to replace the most recent wired NIC I use on my laptop. Of the available choices, one that seemed most advantageous from the perspective of someone who's been out of work for almost 1.5 years was the D-Link DFE-670TXD -- it's 16-bit, so I figured it ought to be able to be used under -STABLE. As it happens, the first time I tried it, I was running -CURRENT (with the default NEWCARD configuration); it seemed to work OK (with one wierd glitch I'll mention later). But then, when I booted up -STABLE, pccardd whined that it couldn't find an entry that matched. Fine. I copied /etc/defaults/pccard.conf to /etc, then copied the stanza for the DFE-650, changed the names, killed pccardd, fired it up again (pointing to /etc/pccard.conf this time), and it worked. So I just got around to submitting a PR (misc/53356 -- http://www.freebsd.org/cgi/query-pr.cgi?pr=53356) to document the patch (which I'll also append after my .sig in this message). As I noted in the PR, I expect that this change would be a rather low-risk one. The wierd glitch under -CURRENT is that if the card is inserted, and I issue a "reboot" command, the sysem starts shutting down, does the active-buffer countdown, reorts "done", and then just sits there. If I eject the card, the system then reports "Rebooting" and proceeds normally. Otherwise, it seems content to merely sit there indefinitely. Anyway, if some committer would be kind enough to take care of this, I'll be able to go back to just using the stock /etc/defaults/pccard.conf in -STABLE. :-) Thanks, david -- David H. Wolfskill david@catwhisker.org Based on what I have seen to date, the use of Microsoft products is not consistent with reliability. I recommend FreeBSD for reliable systems. --- 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" ?