On Tue, Aug 07, 2007 at 08:15:23AM +1000, Benjamin Herrenschmidt wrote: > On Mon, 2007-08-06 at 22:37 +0400, Sergei Shtylyov wrote: > > > > Actually, checking for the presence of all possible perverted > > mapping > > props doesn't seem a good idea -- it's simpler to check for the > > presence of > > one prop (like "direct-mapped" I was thinking about, or maybe > > "simple-map"). > > Or more simply... if it's not a direct mapping, it doesn't have a ranges > property and can't be walked down by conventional means.
But the ranges property is in the parent. And if the flash bank is only one of several devices in the same address space, it might be messy to exclude the flash range from the parent's ranges property. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev