linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix the UCC rx tx clock of QE
@ 2006-10-18  8:36 Liu Dave-r63238
  2006-10-18 13:32 ` Kumar Gala
  2006-10-23  8:22 ` Paul Mackerras
  0 siblings, 2 replies; 3+ messages in thread
From: Liu Dave-r63238 @ 2006-10-18  8:36 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: linuxppc-dev

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@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 =3D 8; break;
                case QE_CLK7:   source =3D 9; break;
                case QE_CLK8:   source =3D 10; break;
+               case QE_CLK16:  source =3D 11; break;
                default:        source =3D -1; break;
                }
                break;
@@ -222,6 +223,7 @@ int ucc_set_qe_mux_rxtx(int ucc_num, enu
                case QE_CLK22:  source =3D 8; break;
                case QE_CLK7:   source =3D 9; break;
                case QE_CLK8:   source =3D 10; break;
+               case QE_CLK16:  source =3D 11; break;
                default:        source =3D -1; break;
                }
                break;

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-10-23  8:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-18  8:36 [PATCH] Fix the UCC rx tx clock of QE Liu Dave-r63238
2006-10-18 13:32 ` Kumar Gala
2006-10-23  8:22 ` Paul Mackerras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).