From owner-cvs-all Mon Mar 17 22:32:39 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55AF937B404 for ; Mon, 17 Mar 2003 22:32:37 -0800 (PST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 920F843FAF for ; Mon, 17 Mar 2003 22:32:35 -0800 (PST) (envelope-from silby@silby.com) Received: (qmail 96592 invoked from network); 18 Mar 2003 06:32:34 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 18 Mar 2003 06:32:34 -0000 X-pair-Authenticated: 209.68.2.70 Date: Tue, 18 Mar 2003 00:29:20 -0600 (CST) From: Mike Silbersack To: cvs-all@FreeBSD.org Cc: src-committers@FreeBSD.org, cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/pci if_xl.c if_xlreg.h In-Reply-To: <200303180629.h2I6TpNk060373@repoman.freebsd.org> Message-ID: <20030318002743.S571@odysseus.silby.com> References: <200303180629.h2I6TpNk060373@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jake reports that this fixes the problems with 3c905C cards on sparc64 machines, for those interested. Also, if you have some 3com xl variant and this commit breaks things, *please tell me*. Thanks, Mike "Silby" Silbersack On Mon, 17 Mar 2003, Mike Silbersack wrote: > silby 2003/03/17 22:29:51 PST > > FreeBSD src repository > > Modified files: > sys/pci if_xl.c if_xlreg.h > Log: > Instead of relying on a compile time define to determine whether the xl > driver should use port or memory based IO, determine it dynamically > at runtime, preferring MMIO where possible. This helps us support newer > arches which dislike port based access better. > > Tested on i386 & sparc64, with 3c900, 905, 905b, and 905C cards. > (in varying combinations by both jake and myself) > > Revision Changes Path > 1.132 +33 -37 src/sys/pci/if_xl.c > 1.45 +1 -0 src/sys/pci/if_xlreg.h > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message