From cde1a63db381b49a000bdf5ea13f328c6ed7fcb0 Mon Sep 17 00:00:00 2001 From: Andrew Gallatin Date: Mon, 21 Oct 2002 13:48:29 +0000 Subject: [PATCH] Add a bus_space_unmap() for the puc (and possibly other) drivers. --- sys/alpha/include/bus.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/sys/alpha/include/bus.h b/sys/alpha/include/bus.h index 11d47ce9673..c3e88427f1d 100644 --- a/sys/alpha/include/bus.h +++ b/sys/alpha/include/bus.h @@ -90,6 +90,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. */