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..
This commit is contained in:
Andrew Gallatin 2002-10-20 20:55:37 +00:00
parent 083019ba97
commit 2ea9877c1b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105557

View File

@ -90,6 +90,26 @@ typedef u_int32_t bus_space_handle_t;
#define BUS_SPACE_UNRESTRICTED (~0UL)
/*
* Get a new handle for a subregion of an already-mapped area of bus space.
*/
static __inline int bus_space_subregion(bus_space_tag_t t,
bus_space_handle_t bsh,
bus_size_t offset, bus_size_t size,
bus_space_handle_t *nbshp);
static __inline int
bus_space_subregion(bus_space_tag_t t __unused, bus_space_handle_t bsh,
bus_size_t offset, bus_size_t size __unused,
bus_space_handle_t *nbshp)
{
*nbshp = bsh + offset;
return (0);
}
struct alpha_busspace;
struct alpha_busspace_ops {