From owner-cvs-src Mon Mar 17 22:29:53 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0767137B401; Mon, 17 Mar 2003 22:29:52 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 970AF43F85; Mon, 17 Mar 2003 22:29:51 -0800 (PST) (envelope-from silby@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h2I6Tp0U060374; Mon, 17 Mar 2003 22:29:51 -0800 (PST) (envelope-from silby@repoman.freebsd.org) Received: (from silby@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2I6TpNk060373; Mon, 17 Mar 2003 22:29:51 -0800 (PST) Message-Id: <200303180629.h2I6TpNk060373@repoman.freebsd.org> From: Mike Silbersack Date: Mon, 17 Mar 2003 22:29:51 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_xl.c if_xlreg.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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-src" in the body of the message