diff options
author | gallatin <gallatin@FreeBSD.org> | 2002-10-21 13:48:29 +0000 |
---|---|---|
committer | gallatin <gallatin@FreeBSD.org> | 2002-10-21 13:48:29 +0000 |
commit | da47f8f7ff907d670fb37bf616bfe3505a92288d (patch) | |
tree | d56db77d635c98e6f62bee24d98df682654f6dcc /sys/alpha | |
parent | 1f58532c90bb97e751e6de81f35c84e5d7babb18 (diff) | |
download | FreeBSD-src-da47f8f7ff907d670fb37bf616bfe3505a92288d.zip FreeBSD-src-da47f8f7ff907d670fb37bf616bfe3505a92288d.tar.gz |
Add a bus_space_unmap() for the puc (and possibly other) drivers.
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/include/bus.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/alpha/include/bus.h b/sys/alpha/include/bus.h index 11d47ce..c3e8842 100644 --- a/sys/alpha/include/bus.h +++ b/sys/alpha/include/bus.h @@ -91,6 +91,20 @@ typedef u_int32_t bus_space_handle_t; #define BUS_SPACE_UNRESTRICTED (~0UL) /* + * Unmap a region of device bus space. + */ + +static __inline void bus_space_unmap(bus_space_tag_t t, bus_space_handle_t bsh, + bus_size_t size); + +static __inline void +bus_space_unmap(bus_space_tag_t t __unused, bus_space_handle_t bsh __unused, + bus_size_t size __unused) +{ +} + + +/* * Get a new handle for a subregion of an already-mapped area of bus space. */ |