Skip to contentSkip to conversation

PATCH Fix 100Mbs ethernet operation on sh7763 based boards

U-Boot Applied Simon Munton 3 participants 3 messages Feb 2, 2009 – Feb 6, 2009 Network drivers

lore
Share & tools
lore
#0 lore raw

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

drivers/net/sh_eth.h renamed from drivers/net/sh_eth.h.orig +1 -1
@@ -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*/
Applied
#2 lore raw
In reply to Simon Munton

Hi Simon,

Quoted 17 lines · Simon Munton

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

drivers/net/sh_eth.h renamed from drivers/net/sh_eth.h.orig +1 -1
@@ -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*/
Quoted 1 line

______

Applied to net repo.

thanks,
Ben