On Wed, 16 Feb 2005 07:23, Warner Losh wrote: > > At least on 5.3R, I seem to get back the same struct resource * from > > each call. rman_get_virtual() returns a different kva for each > > mapping, yet they all seem to map to the same physical address. > > Eg, I call vtophys() on the results of rman_get_virtual(), > > for each segment, and they all map to 0xf9000000. > > > > Is there a way to just map what I need? > > There's no way to map part of a resource currently. I'd like to > create an API to do that, since it would be useful for a lot of > things, but none exists today. As soon as bus_activate_resource is > called, it gets mapped.
You could do something like puc does and attach a child driver to part of it right? (Stab in dark :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
pgpkVpArfyShn.pgp
Description: PGP signature