Subject: Re: bus_space_subregion question
To: None <tech-kern@netbsd.org>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-kern
Date: 04/26/2000 09:51:15
On Wed, Apr 26, 2000 at 03:02:32PM +0100, Ben Harris wrote:

 > What are the units of "offset" parameter to bus_space_subregion?  The
 > arm32 "mainbus" (and the current arm26) space seems to make it the units
 > of the underlying CPU address space, which means that the offsets make
 > sense to someone looking at addresses in the manual, while the arm32
 > "podulebus" space makes it the same units as the "offset" parameter to the
 > bus_space_read_* and bus_space_write_* functions.

It is supposed to be the same as the offsets passed to bus_space_{read,write}.

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>