Now that all PCI devices have been converted to new-device...finish-device we can set both the active package and current instance to the root device node before probe, giving all child devices a correct active package and instance chain during creation.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk --- arch/ppc/qemu/init.c | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/arch/ppc/qemu/init.c b/arch/ppc/qemu/init.c index 43c5115..1ac62e8 100644 --- a/arch/ppc/qemu/init.c +++ b/arch/ppc/qemu/init.c @@ -859,6 +859,10 @@ arch_of_init(void) feval("['] ppc-dma-sync to (dma-sync)");
#ifdef CONFIG_DRIVER_PCI + push_str("/"); + fword("find-device"); + feval("" /" open-dev to my-self"); + if (machine_id == ARCH_MAC99 || machine_id == ARCH_MAC99_U3) { ob_unin_init();
@@ -867,6 +871,8 @@ arch_of_init(void) }
ob_pci_init(); + + feval("0 to my-self"); #endif
printk("\n");