RE: [PATCH 1/5,v3] fsl-rio: Split rio driver into two parts, RapidIO endpoint and message unit
From: Bounine, Alexandre
Date: Wed Nov 16 2011 - 08:40:08 EST
> -----Original Message-----
> From: Liu Gang [mailto:Gang.Liu@xxxxxxxxxxxxx]
> Sent: Saturday, November 12, 2011 7:02 AM
> To: linuxppc-dev@xxxxxxxxxxxxxxxx; Bounine, Alexandre
> Cc: akpm@xxxxxxxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx;
> r58472@xxxxxxxxxxxxx; B11780@xxxxxxxxxxxxx; r61911@xxxxxxxxxxxxx; Liu
> Gang; Lian Minghuan; Kumar Gala
> Subject: [PATCH 1/5,v3] fsl-rio: Split rio driver into two parts,
> RapidIO endpoint and message unit
>
> 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.
>
> Signed-off-by: Lian Minghuan <Minghuan.Lian@xxxxxxxxxxxxx>
> Signed-off-by: Liu Gang <Gang.Liu@xxxxxxxxxxxxx>
> Signed-off-by: Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx>
> ---
> 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
>
Acked-by: Alexandre Bounine <alexandre.bounine@xxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/