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

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
--- ./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*/

On Mon, 2 Feb 2009 09:44:08 +0000 Simon Munton simon@nidoran.m5data.com wrote:
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
Acked-by: Nobuhiro Iwamatsu iwamatsu@nigauri.org

Hi Simon,
Simon Munton wrote:
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
--- ./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*/ ______
Applied to net repo.
thanks, Ben
participants (3)
-
Ben Warren
-
Nobuhiro Iwamatsu
-
Simon Munton