]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
sparc: Fix resource flags for PCI children in OF device tree.
authorDavid S. Miller <davem@davemloft.net>
Fri, 29 Aug 2008 04:02:58 +0000 (21:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Aug 2008 05:59:10 +0000 (22:59 -0700)
commite3c71a32915fabb095de7108c22672e457631a08
tree86461d9740df55f8377dabc4248ee88661e256da
parent66e4f8c076f8803e83879d986a7803a918b2129e
sparc: Fix resource flags for PCI children in OF device tree.

When a device is under an EBUS or ISA bus, the resource flags
don't get set properly.

Fix this by re-evaluating the resource flags at each level of
bus as we apply ranges on the way to the root.  And let PCI
override any existing flags setting, but don't let the
default flags calculator make such overrides.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/of_device.c
arch/sparc64/kernel/of_device.c