From owner-freebsd-mobile@FreeBSD.ORG Sun Jun 15 05:22:58 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 A40BD37B401 for ; Sun, 15 Jun 2003 05:22:58 -0700 (PDT) Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 762E543FB1 for ; Sun, 15 Jun 2003 05:22:57 -0700 (PDT) (envelope-from scott@fishballoon.org) Received: from fishballoon.org ([81.104.195.199]) by mta05-svc.ntlworld.com ESMTP <20030615122256.HIXB19142.mta05-svc.ntlworld.com@fishballoon.org>; Sun, 15 Jun 2003 13:22:56 +0100 Received: from tuatara.fishballoon.org (tuatara [192.168.1.6]) by fishballoon.org (8.12.8p1/8.12.8) with ESMTP id h5FCMD4o094202; Sun, 15 Jun 2003 13:22:13 +0100 (BST) (envelope-from scott@tuatara.fishballoon.org) Received: (from scott@localhost) by tuatara.fishballoon.org (8.12.9/8.12.9/Submit) id h5FCMCTe016337; Sun, 15 Jun 2003 13:22:12 +0100 (BST) (envelope-from scott) Date: Sun, 15 Jun 2003 13:22:12 +0100 From: Scott Mitchell To: "M. Warner Losh" Message-ID: <20030615122212.GC4880@tuatara.fishballoon.org> References: <20030423220837.GD521@tuatara.fishballoon.org> <20030423.162614.23012781.imp@bsdimp.com> <20030423230906.GU572@tuatara.fishballoon.org> <20030423.212847.19952078.imp@bsdimp.com> <20030424125226.GB89997@tuatara.fishballoon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030424125226.GB89997@tuatara.fishballoon.org> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.8-STABLE i386 cc: freebsd-mobile@freebsd.org Subject: Re: [PATCH] CEM28/CEM33 support added to xe driver 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 12:22:59 -0000 Hi Warner, I've added another patch to kern/50664. This patch adds support for the Ethernet side of the CEM28 and CEM33 10Mbps Ethernet/modem combo cards. The driver now works well with all the cards I have to test against (a CE2, CE3, CEM28 and CEM33). There are a couple of gotchas to be aware of: - My CEM28 (and all others, as far as I know) has its MAC address in a non-standard location in the CIS. Ultimately some quirk code will be required to deal with this, but for now I've just added 'ether 0x98' to the relevant pccard.conf entry. - I/O port selection for the CEM28 and CEM33 is a bit crufty -- it needs to find a port range adjacent to whichever sio port range the pccard layer has picked from the CIS config entries. I needed to disable one of the onboard serial ports on my laptop to free up enough I/O space in the right place. Some combination of disabling ports and picking the right CIS config entry will probably be required. - I still have no idea how all of this works (or doesn't) with NEWCARD. IMHO this is now ready to be committed, although obviously it should be reviewed and hopefully tested a bit more by other people first. There is more work I'd like to do on it (media selection, miibus integration (?), NEWCARD-ification) but as I've reached a point where everything at least works, I'd like to get it into the tree. If nothing else, that would encourage me to backport it to 4.x, which is where most users of the driver seem to be. Let me know if you want a diff with all the changes in kern/50644 against -CURRENT. I'm not sure all the changes in there still apply cleanly. Cheers, Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon