From: David S. Miller Date: Mon, 8 Sep 2008 22:39:30 +0000 (-0700) Subject: Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=98d86c091534f35c4bab294451ae6bccab8e9075;p=openwrt%2Fstaging%2Fblogic.git Merge branch 'master' of /linux/kernel/git/davem/sparc-2.6 Conflicts: arch/sparc/kernel/of_device.c --- 98d86c091534f35c4bab294451ae6bccab8e9075 diff --cc arch/sparc/kernel/of_device.c index 4ef160755881,c481d45f97b7..c88af7efc335 --- a/arch/sparc/kernel/of_device.c +++ b/arch/sparc/kernel/of_device.c @@@ -409,8 -371,12 +415,9 @@@ static void __init build_device_resourc memcpy(addr, reg, na * 4); + flags = bus->get_flags(reg, 0); + - /* If the immediate parent has no ranges property to apply, - * just use a 1<->1 mapping. - */ - if (of_find_property(pp, "ranges", NULL) == NULL) { + if (use_1to1_mapping(pp)) { result = of_read_addr(addr, na); goto build_res; }