From owner-cvs-all Mon Oct 21 5:52:56 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 E56ED37B401; Mon, 21 Oct 2002 05:52:54 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E269843E4A; Mon, 21 Oct 2002 05:52:49 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id IAA21784; Mon, 21 Oct 2002 08:52:44 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g9LCqEk05704; Mon, 21 Oct 2002 08:52:14 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15795.63614.50196.429860@grasshopper.cs.duke.edu> Date: Mon, 21 Oct 2002 08:52:14 -0400 (EDT) To: John Hay Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/include bus.h In-Reply-To: <200210210550.g9L5oQRI012064@zibbi.icomtek.csir.co.za> References: <200210202055.g9KKtbgA079130@repoman.freebsd.org> <200210210550.g9L5oQRI012064@zibbi.icomtek.csir.co.za> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 John Hay writes: > > 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. 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? Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message