From: Jagan Date: Mon, 18 Jun 2012 11:53:55 +0000 (+0530) Subject: Xilinx: ARM: net: Link speed reverted back to 100Mbps on ep107 targets X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=44bb0fcfcace08705840320972a1102d54020889;p=thirdparty%2Fu-boot.git Xilinx: ARM: net: Link speed reverted back to 100Mbps on ep107 targets Suspected ethernet link working for 1Gig on ep107, but it's not working. also it's not fully tested before for 1Gig on linux. so reverted back to 100Mbps. Signed-off-by: Jagan --- diff --git a/drivers/net/zynq_gem_wrap.c b/drivers/net/zynq_gem_wrap.c index 5b1f06ce6df..9dfea806038 100644 --- a/drivers/net/zynq_gem_wrap.c +++ b/drivers/net/zynq_gem_wrap.c @@ -296,8 +296,10 @@ int Xgmac_init(struct eth_device *dev, bd_t * bis) /***** Try to establish a link at the highest speed possible *****/ #ifdef CONFIG_EP107 - /* CR-659040 */ - Xgmac_set_eth_advertise(EmacPssInstancePtr, 1000); + /* CR-659040: + * Advertise link speed as 100Mbps for ep107 targets + */ + Xgmac_set_eth_advertise(EmacPssInstancePtr, 100); #else /* CR-659040 */ /* Could be 1000 if an unknown bug is fixed */