[PATCH] Fix the UCC rx tx clock of QE
Liu Dave-r63238
DaveLiu at freescale.com
Wed Oct 18 18:36:56 EST 2006
CLK16 of CMXUCR3 and CMXUCR4 registers are missed in
ucc_set_qe_mux_rxtx().
This patch adds the CLK16 to the function. MPC8323EMDS board ethernet
interface
with RMII is use the CLK16 as the rx and tx clock.
Signed-off-by: Dave Liu <daveliu at freescale.com>
---
diff --git a/arch/powerpc/sysdev/qe_lib/ucc.c
b/arch/powerpc/sysdev/qe_lib/ucc.c
index 916c9e5..ac12a44 100644
--- a/arch/powerpc/sysdev/qe_lib/ucc.c
+++ b/arch/powerpc/sysdev/qe_lib/ucc.c
@@ -207,6 +207,7 @@ int ucc_set_qe_mux_rxtx(int ucc_num, enu
case QE_CLK18: source = 8; break;
case QE_CLK7: source = 9; break;
case QE_CLK8: source = 10; break;
+ case QE_CLK16: source = 11; break;
default: source = -1; break;
}
break;
@@ -222,6 +223,7 @@ int ucc_set_qe_mux_rxtx(int ucc_num, enu
case QE_CLK22: source = 8; break;
case QE_CLK7: source = 9; break;
case QE_CLK8: source = 10; break;
+ case QE_CLK16: source = 11; break;
default: source = -1; break;
}
break;
More information about the Linuxppc-dev
mailing list