From owner-freebsd-current Thu Sep 26 23:49: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9070D37B401; Thu, 26 Sep 2002 23:49:05 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4BB943E4A; Thu, 26 Sep 2002 23:49:03 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g8R6n3pk003803; Fri, 27 Sep 2002 00:49:03 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 27 Sep 2002 00:48:49 -0600 (MDT) Message-Id: <20020927.004849.99746183.imp@bsdimp.com> To: mobile@freebsd.org, current@freebsd.org Subject: Patches to dc for testing (both PCI and CardBus versions). From: "M. Warner Losh" X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Got a cardbus card that's giving you bad ethernet addresses of the form 00:80:00:80:00 or 80:00:80:00:80 that 'dc' recognizes? If so, you should try this patch. It fixes them by doing autosizing of the srom. This code is ported from OpenBSD, but they got it (or the technique) from NetBSD's tulip driver. aaron@openbsd.org told me ages ago I needed to do this, but only in vague terms. This turns the following cards in my collection into working cards: NetGear FA510 Linksys PCMPC200 Kingston KE-CB4TX (aka Fast EtheRx CardBus PC Card) http://people.freebsd.org/~imp/patch-dc.20020926 If you have a dc based card, please write me if you try this patch. I'm interested in all the cases: working -> working working -> failed failed -> working failed -> failed (unless you have a Xircom CardBus card) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message