]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When creating a handle for a subregion, be sure to actually math out the new
authorJuli Mallett <jmallett@FreeBSD.org>
Fri, 2 Mar 2012 21:46:31 +0000 (21:46 +0000)
committerJuli Mallett <jmallett@FreeBSD.org>
Fri, 2 Mar 2012 21:46:31 +0000 (21:46 +0000)
commit4228a524fdb2816fe195cb81402c603fa53e96a5
tree9a5db181666ae1e7a478d688aec7a486413d2246
parent7b7463a5d2d151e982995632a49f8864a2ebda09
When creating a handle for a subregion, be sure to actually math out the new
handle address, where we're using handles as raw addresses.

This fixes devices with subregions on Octeon PCI specifically, and likely also on
MIPS more generally, where there isn't another bus_space in use that was doing the
math already.
sys/mips/cavium/octopci_bus_space.c
sys/mips/mips/bus_space_generic.c