From eeb6bc3720e5f89dd42dcb6b54b02b3cf1be66b9 Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Thu, 19 Apr 2012 14:27:05 -0500 Subject: [PATCH] Xilinx: ARM: net: Fix rate of MDC for 111MHz CPU_1x clk Change the MDC divisor from 32 to 48 Signed-off-by: Joe Hershberger --- board/xilinx/dfe/xgmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/xilinx/dfe/xgmac.c b/board/xilinx/dfe/xgmac.c index e8453c4348b..9159aa51759 100644 --- a/board/xilinx/dfe/xgmac.c +++ b/board/xilinx/dfe/xgmac.c @@ -215,7 +215,7 @@ int Xgmac_init(struct eth_device *dev, bd_t * bis) printf("Trying to set up GEM link...\n"); /*************************** MAC Setup ***************************/ - tmp = (2 << 18); /* MDC clock division (32 for up to 80MHz) */ + tmp = (3 << 18); /* MDC clock division (48 for up to 120MHz) */ tmp |= (1 << 17); /* set for FCS removal */ tmp |= (1 << 10); /* enable gigabit */ tmp |= (1 << 4); /* copy all frames */ -- 2.47.3