public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Simon Munton <simon@nidoran.m5data.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] PATCH Fix 100Mbs ethernet operation on sh7763 based boards
Date: Mon, 2 Feb 2009 09:44:08 +0000	[thread overview]
Message-ID: <200902020944.09155.simon@nidoran.m5data.com> (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

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

             reply	other threads:[~2009-02-02  9:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-02  9:44 Simon Munton [this message]
2009-02-02 16:50 ` [U-Boot] PATCH Fix 100Mbs ethernet operation on sh7763 based boards Nobuhiro Iwamatsu
2009-02-06  7:54 ` Ben Warren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200902020944.09155.simon@nidoran.m5data.com \
    --to=simon@nidoran.m5data.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox