[RAPIDIO] Add OF-tree support to RapidIO controller driver
This initializes the RapidIO controller driver using addresses and interrupt numbers obtained from the firmware device tree, rather than using hardcoded constants. Signed-off-by: Zhang Wei <wei.zhang@freescale.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:

committed by
Paul Mackerras

parent
ad1e9380b1
commit
cc2bb6968a
@@ -1,20 +0,0 @@
|
||||
/*
|
||||
* MPC85xx RapidIO definitions
|
||||
*
|
||||
* Copyright 2005 MontaVista Software, Inc.
|
||||
* Matt Porter <mporter@kernel.crashing.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*/
|
||||
|
||||
#ifndef __PPC_SYSLIB_PPC85XX_RIO_H
|
||||
#define __PPC_SYSLIB_PPC85XX_RIO_H
|
||||
|
||||
#include <linux/init.h>
|
||||
|
||||
extern void mpc85xx_rio_setup(int law_start, int law_size);
|
||||
|
||||
#endif /* __PPC_SYSLIB_PPC85XX_RIO_H */
|
Reference in New Issue
Block a user