[U-Boot] PATCH Fix 100Mbs ethernet operation on sh7763 based boards

Simon Munton simon at nidoran.m5data.com
Mon Feb 2 10:44:08 CET 2009


100Mbs ethernet does not work on sh7763 chips due to the wrong value being 
used in the GECMR register. Following diff fixes the problem

Signed-off-by: Simon Munton	<simon at nidoran.m5data.com>


--- ./drivers/net/sh_eth.h.orig	2008-11-10 13:49:30.000000000 +0000
+++ ./drivers/net/sh_eth.h	2009-01-30 16:21:11.000000000 +0000
@@ -166,7 +166,7 @@
 
 /* GECMR */
 enum GECMR_BIT {
-	GECMR_1000B = 0x01, GECMR_100B = 0x40, GECMR_10B = 0x00,
+	GECMR_1000B = 0x01, GECMR_100B = 0x04, GECMR_10B = 0x00,
 };
 
 /* EDRRR*/


More information about the U-Boot mailing list