diff options
author | gallatin <gallatin@FreeBSD.org> | 2002-10-20 20:55:37 +0000 |
---|---|---|
committer | gallatin <gallatin@FreeBSD.org> | 2002-10-20 20:55:37 +0000 |
commit | 15bcc5b199c084a6ed43587f7df0893e95205888 (patch) | |
tree | 43f0ce3b79ad6c8735456b66483d48f007d8bff3 /sys/alpha | |
parent | e52af95236484cb26803930eabf7d4c1817e5b96 (diff) | |
download | FreeBSD-src-15bcc5b199c084a6ed43587f7df0893e95205888.zip FreeBSD-src-15bcc5b199c084a6ed43587f7df0893e95205888.tar.gz |
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..
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/include/bus.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sys/alpha/include/bus.h b/sys/alpha/include/bus.h index 4c1d55b..11d47ce 100644 --- a/sys/alpha/include/bus.h +++ b/sys/alpha/include/bus.h @@ -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 { |