aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorAlexandre Bounine <alexandre.bounine@idt.com>2011-03-23 19:43:04 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-23 22:46:42 -0400
commit2f809985d2cbc78078b8da1cbed1f1ce1f4a0d5f (patch)
tree6ce67e43f25700ca08f84e4a87b74c0be0d7ee7f /arch/powerpc
parent388b78adc9899f0299128610f566051d0b1a57f6 (diff)
rapidio: modify subsystem and driver initialization sequence
Subsystem initialization sequence modified to support presence of multiple RapidIO controllers in the system. The new sequence is compatible with initialization of PCI devices. Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com> Cc: Kumar Gala <galak@kernel.crashing.org> Cc: Matt Porter <mporter@kernel.crashing.org> Cc: Li Yang <leoli@freescale.com> Cc: Thomas Moll <thomas.moll@sysgo.com> Cc: Micha Nelissen <micha@neli.hopto.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/sysdev/fsl_rio.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl_rio.c
index f95cb5636d19..576b8066089e 100644
--- a/arch/powerpc/sysdev/fsl_rio.c
+++ b/arch/powerpc/sysdev/fsl_rio.c
@@ -1574,18 +1574,10 @@ err_ops:
1574 */ 1574 */
1575static int __devinit fsl_of_rio_rpn_probe(struct platform_device *dev) 1575static int __devinit fsl_of_rio_rpn_probe(struct platform_device *dev)
1576{ 1576{
1577 int rc;
1578 printk(KERN_INFO "Setting up RapidIO peer-to-peer network %s\n", 1577 printk(KERN_INFO "Setting up RapidIO peer-to-peer network %s\n",
1579 dev->dev.of_node->full_name); 1578 dev->dev.of_node->full_name);
1580 1579
1581 rc = fsl_rio_setup(dev); 1580 return fsl_rio_setup(dev);
1582 if (rc)
1583 goto out;
1584
1585 /* Enumerate all registered ports */
1586 rc = rio_init_mports();
1587out:
1588 return rc;
1589}; 1581};
1590 1582
1591static const struct of_device_id fsl_of_rio_rpn_ids[] = { 1583static const struct of_device_id fsl_of_rio_rpn_ids[] = {