From owner-cvs-all Mon Oct 21 6:17:23 2002 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 138C437B401; Mon, 21 Oct 2002 06:17:22 -0700 (PDT) Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D21443E6A; Mon, 21 Oct 2002 06:17:16 -0700 (PDT) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: from zibbi.icomtek.csir.co.za (localhost [IPv6:::1]) by zibbi.icomtek.csir.co.za (8.12.6/8.12.6) with ESMTP id g9LDGkD8029018; Mon, 21 Oct 2002 15:16:46 +0200 (SAT) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.12.6/8.12.6/Submit) id g9LDGjc5029017; Mon, 21 Oct 2002 15:16:45 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200210211316.g9LDGjc5029017@zibbi.icomtek.csir.co.za> Subject: Re: cvs commit: src/sys/alpha/include bus.h In-Reply-To: <15795.63614.50196.429860@grasshopper.cs.duke.edu> from Andrew Gallatin at "Oct 21, 2002 08:52:14 am" To: gallatin@cs.duke.edu (Andrew Gallatin) Date: Mon, 21 Oct 2002 15:16:45 +0200 (SAT) Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, nyan@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 > > > gallatin 2002/10/20 13:55:37 PDT > > > > > > Modified files: > > > sys/alpha/include bus.h > > > Log: > > > give alpha a bus_space_subregion() so that ahd_pci compiles and moves > > > LINT one file further on. Only 999,999 or so more files to go.. > > > > If you also add bus_space_unmap(), puc(4) will work on the alphas too. :-) > > Can you explain why you need bus_space_unmap()? > > I think bus_space_unmap() should be removed from puc(4). Or.. puc(4) > should be calling bus_space_map() on the regions that it is unmapping. > But that would require somebody implementing bus_space_map() on all > platforms. Well, I didn't have it there in the beginning. I think it is used in the PC98 case because nyan asked to add it. > >From what I can see, NetBSD's bus_space_{un,}map manage regions > of io or memory space. Is this not already done in FreeBSD via rman? John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message