]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Xilinx: ARM: net: Link speed reverted back to 100Mbps on ep107 targets
authorJagan <jaganna@xilinx.com>
Mon, 18 Jun 2012 11:53:55 +0000 (17:23 +0530)
committerJohn Linn <john.linn@xilinx.com>
Tue, 26 Jun 2012 01:51:36 +0000 (18:51 -0700)
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 <jaganna@xilinx.com>
drivers/net/zynq_gem_wrap.c

index 5b1f06ce6dffdb89f8242aff535add2c1eaf259f..9dfea806038a8ae1a22a86e0786ad5fd3bd90d01 100644 (file)
@@ -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 */