From owner-cvs-all Sat Oct 6 12:47:39 2001 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id B585A37B403; Sat, 6 Oct 2001 12:47:32 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id f96JlVu95511; Sat, 6 Oct 2001 13:47:31 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id f96JlU747798; Sat, 6 Oct 2001 13:47:30 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200110061947.f96JlU747798@harmony.village.org> To: Marcel Moolenaar Subject: Re: cvs commit: src/sys/ia64/include cpufunc.h Cc: Bruce Evans , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: Your message of "Sat, 06 Oct 2001 12:16:54 PDT." <20011006121654.B68233@kayak.xcllnt.net> References: <20011006121654.B68233@kayak.xcllnt.net> <200110060931.f969ViC77564@freefall.freebsd.org> <20011006224619.X1107-100000@delplex.bde.org> Date: Sat, 06 Oct 2001 13:47:30 -0600 From: Warner Losh 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 In message <20011006121654.B68233@kayak.xcllnt.net> Marcel Moolenaar writes: : I thought so. What is the right place, then. It seems that bus_memio.h : is a good match, but that file is empty for all ports and thus is : making me nervous. The other logical place is bus.h. On alpha the : functions are there, but that's mostly because of the implementation. bus_memio.h means "I'll use memory operations for this driver" and if bus_pio.h is also included, that means "I'll use I/o operations for this driver." this allows bus_space stuff to be highly optimized for those drivers that cannot possibly talk to memory or pio hardware, because such hardware doesn't exist. Don't put anything else in them. And complain to Justin Gibbs about the API, not me, if you don't like it because he invented it :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message