improved handling of mapping of devices who's registers do not reside on
authorchuck <chuck@openbsd.org>
Fri, 12 Jan 1996 21:43:09 +0000 (21:43 +0000)
committerchuck <chuck@openbsd.org>
Fri, 12 Jan 1996 21:43:09 +0000 (21:43 +0000)
commit19441607e782c34ece0ca0b672ca41b0757e1c01
treea3e4663e46fb12e447521a4f9995cc374f16a205
parentf4822b7eaa2dd97781e18b475e091a615dcb5b6a
improved handling of mapping of devices who's registers do not reside on
page boundaries:
 - change bus_tmp() to include the offset from the start of page in the
returned KVA [rather than forcing each driver to add it back in
individually]
 - changed bus_map() to include the offset from the start of page in the
the returned value if a mapping is found in the PROM's KVA area
 - clarified a few comments
sys/arch/sparc/dev/obio.c