11 Aug 2012 00:01
[PATCH 1/6] powerpc/85xx: add support for FM2 DTSEC5
Timur Tabi <timur <at> freescale.com>
2012-08-10 22:01:31 GMT
2012-08-10 22:01:31 GMT
Unlike previous SOCs, the Freescale P5040 has a fifth DTSEC on the second
Fman, so add the Fman and SerDes macros for that DTSEC.
Signed-off-by: Timur Tabi <timur <at> freescale.com>
---
arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c | 6 ++++++
arch/powerpc/include/asm/fsl_serdes.h | 1 +
arch/powerpc/include/asm/immap_85xx.h | 1 +
drivers/net/fm/init.c | 3 +++
include/fm_eth.h | 1 +
5 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c b/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c
index 4b52dad..8aac1de 100644
--- a/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c
+++ b/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c
<at> <at> -68,6 +68,7 <at> <at> static const char *serdes_prtcl_str[] = {
[SGMII_FM2_DTSEC2] = "SGMII_FM2_DTSEC2",
[SGMII_FM2_DTSEC3] = "SGMII_FM2_DTSEC3",
[SGMII_FM2_DTSEC4] = "SGMII_FM2_DTSEC4",
+ [SGMII_FM2_DTSEC5] = "SGMII_FM2_DTSEC5",
[XAUI_FM1] = "XAUI_FM1",
[XAUI_FM2] = "XAUI_FM2",
[AURORA] = "DEBUG",
<at> <at> -658,6 +659,7 <at> <at> void fsl_serdes_init(void)
case SGMII_FM2_DTSEC2:
case SGMII_FM2_DTSEC3:
case SGMII_FM2_DTSEC4:
+ case SGMII_FM2_DTSEC5:
case XAUI_FM1:
(Continue reading)
RSS Feed