aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/sysfs.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-12-20 14:55:00 +1100
committerPaul Mackerras <paulus@samba.org>2007-12-20 16:18:13 +1100
commitbcf988a19458f08950551f66c110e41fac452b2b (patch)
treed0adeb1205ba09c549ed21430149998b6fc026fa /arch/powerpc/kernel/sysfs.c
parent295f83e7aaa87d52b8d16077225a90dab61df45a (diff)
downloadkernel_samsung_smdk4412-bcf988a19458f08950551f66c110e41fac452b2b.tar.gz
kernel_samsung_smdk4412-bcf988a19458f08950551f66c110e41fac452b2b.tar.bz2
kernel_samsung_smdk4412-bcf988a19458f08950551f66c110e41fac452b2b.zip
[POWERPC] Various fixes to pcibios_enable_device()
Our implementation of pcibios_enable_device() has a couple of problems. One is that it should not check IORESOURCE_UNSET, as this might be left dangling after resource assignment (shouldn't but there are bugs), but instead, we make it check resource->parent which should be a reliable indication that the resource has been successfully claimed (it's in the resource tree). Then, we also need to skip ROM resources that haven't been enabled as x86 does. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/sysfs.c')
0 files changed, 0 insertions, 0 deletions