diff options
-rw-r--r-- | arch/powerpc/platforms/83xx/mpc837x_mds.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/83xx/mpc837x_mds.c b/arch/powerpc/platforms/83xx/mpc837x_mds.c index be62de23bead..8bb13c807142 100644 --- a/arch/powerpc/platforms/83xx/mpc837x_mds.c +++ b/arch/powerpc/platforms/83xx/mpc837x_mds.c | |||
@@ -85,8 +85,14 @@ static void __init mpc837x_mds_setup_arch(void) | |||
85 | ppc_md.progress("mpc837x_mds_setup_arch()", 0); | 85 | ppc_md.progress("mpc837x_mds_setup_arch()", 0); |
86 | 86 | ||
87 | #ifdef CONFIG_PCI | 87 | #ifdef CONFIG_PCI |
88 | for_each_compatible_node(np, "pci", "fsl,mpc8349-pci") | 88 | for_each_compatible_node(np, "pci", "fsl,mpc8349-pci") { |
89 | if (!of_device_is_available(np)) { | ||
90 | pr_warning("%s: disabled by the firmware.\n", | ||
91 | np->full_name); | ||
92 | continue; | ||
93 | } | ||
89 | mpc83xx_add_bridge(np); | 94 | mpc83xx_add_bridge(np); |
95 | } | ||
90 | #endif | 96 | #endif |
91 | mpc837xmds_usb_cfg(); | 97 | mpc837xmds_usb_cfg(); |
92 | } | 98 | } |