]> git.sur5r.net Git - u-boot/commitdiff
Fix 100Mbs ethernet operation on sh7763 based boards
authorSimon Munton <simon@nidoran.m5data.com>
Mon, 2 Feb 2009 09:44:08 +0000 (09:44 +0000)
committerBen Warren <biggerbadderben@gmail.com>
Tue, 10 Feb 2009 06:52:11 +0000 (22:52 -0800)
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@nidoran.m5data.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/net/sh_eth.h

index a13fff02c3e64c6a7455bf4a69adfd60ad4cb0c0..e153849e30e4a3922a1ad7e2ead9e370258b2ec5 100644 (file)
@@ -168,7 +168,7 @@ enum DMAC_T_BIT {
 
 /* GECMR */
 enum GECMR_BIT {
-       GECMR_1000B = 0x01, GECMR_100B = 0x40, GECMR_10B = 0x00,
+       GECMR_1000B = 0x01, GECMR_100B = 0x04, GECMR_10B = 0x00,
 };
 
 /* EDRRR*/