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>
This commit is contained in:

committed by
Linus Torvalds

parent
388b78adc9
commit
2f809985d2
@@ -1574,18 +1574,10 @@ err_ops:
|
||||
*/
|
||||
static int __devinit fsl_of_rio_rpn_probe(struct platform_device *dev)
|
||||
{
|
||||
int rc;
|
||||
printk(KERN_INFO "Setting up RapidIO peer-to-peer network %s\n",
|
||||
dev->dev.of_node->full_name);
|
||||
|
||||
rc = fsl_rio_setup(dev);
|
||||
if (rc)
|
||||
goto out;
|
||||
|
||||
/* Enumerate all registered ports */
|
||||
rc = rio_init_mports();
|
||||
out:
|
||||
return rc;
|
||||
return fsl_rio_setup(dev);
|
||||
};
|
||||
|
||||
static const struct of_device_id fsl_of_rio_rpn_ids[] = {
|
||||
|
Reference in New Issue
Block a user