On Sep 28, 2011, at 9:28 PM, Liu Gang wrote:
The Freescale PowerPC RapidIO controller consists of a RapidIO =
endpoint and a RapidIO
message unit(RMU). Or use RapidIO message manager(RMan) to replace the =
RMU in DPAA
architecture. Therefore, we should split the code into two function =
modules according
to the hardware architecture.
Add new struct for RMU module, and new initialization function to set =
up RMU module. This policy
is very conducive to adding new module like RMan, or adding =
multi-ports or message units support.
=20
Signed-off-by: Lian Minghuan-B31939 <redacted>
Signed-off-by: Liu Gang <redacted>
---
arch/powerpc/sysdev/Makefile | 2 +-
arch/powerpc/sysdev/fsl_rio.c | 1152 =
+---------------------------------------
arch/powerpc/sysdev/fsl_rio.h | 78 +++
arch/powerpc/sysdev/fsl_rmu.c | 1163 =
+++++++++++++++++++++++++++++++++++++++++
4 files changed, 1267 insertions(+), 1128 deletions(-)
create mode 100644 arch/powerpc/sysdev/fsl_rio.h
create mode 100644 arch/powerpc/sysdev/fsl_rmu.c
Fix commit message so it doesn't go based 75 char column line wrap (same =
comment for other patches in the series)
- k=