diff options
author | marcel <marcel@FreeBSD.org> | 2006-03-31 01:39:50 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2006-03-31 01:39:50 +0000 |
commit | fa63be5c983bb493d3b3284ef7dd1636feb8e02a (patch) | |
tree | cf82d85bafb194d199991987ce64c23613bf6d53 | |
parent | f5c09c602728eff2d06c524238a66aa4ddcad1aa (diff) | |
download | FreeBSD-src-fa63be5c983bb493d3b3284ef7dd1636feb8e02a.zip FreeBSD-src-fa63be5c983bb493d3b3284ef7dd1636feb8e02a.tar.gz |
Add a dummy implementation of bus_space_map().
-rw-r--r-- | sys/powerpc/include/bus.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sys/powerpc/include/bus.h b/sys/powerpc/include/bus.h index c7bbf16..ca54114 100644 --- a/sys/powerpc/include/bus.h +++ b/sys/powerpc/include/bus.h @@ -109,9 +109,15 @@ __ppc_ba(bus_space_tag_t tag __unused, bus_space_handle_t handle, * * Map a region of bus space. */ -#if 0 -bus_space_map(t, addr, size, flags, bshp) ! not implemented ! -#endif + +static __inline int +bus_space_map(bus_space_tag_t t __unused, bus_addr_t addr, + bus_size_t size __unused, int flags __unused, + bus_space_handle_t *bshp) +{ + + return (ENXIO); +} /* * int bus_space_unmap(bus_space_tag_t t, |