Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Oct 2001 13:47:30 -0600
From:      Warner Losh <imp@harmony.village.org>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        Bruce Evans <bde@zeta.org.au>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/ia64/include cpufunc.h 
Message-ID:  <200110061947.f96JlU747798@harmony.village.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> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110061947.f96JlU747798>