linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Gerhard Jaeger <g.jaeger@sysgo.com>
To: linuxppc-embedded@ozlabs.org, linux-kernel@vger.kernel.org
Subject: [PATCH][PPC32] Fix PFC1_EPS and PFC1_EPS_SHIFT definitions for IBM440GX
Date: Tue, 28 Sep 2004 09:38:55 +0200	[thread overview]
Message-ID: <200409280938.55734.g.jaeger@sysgo.com> (raw)

Hi Matt,

while writing some BSP code for a 440GX custom board, I noticed, that
the DCRN_SDR_PFC1_EPS and DCRN_SDR_PFC1_EPS_SHIFT definitions are wrong and
therefore the functions ibm440gx_get_eth_grp() and ibm440gx_set_eth_grp() 
won't 
work correctly.
This patch will fix this, please apply.

TIA,
  Gerhard

PPC440GX: Fix DCRN_SDR_PFC1_EPS and DCRN_SDR_PFC1_EPS_SHIFT definitions

Signed-off-by: Gerhard Jaeger <gjaeger@sysgo.com>

--- linux-2.6.9-rc2/include/asm-ppc/ibm44x.h.orig       2004-09-22 
16:41:30.000000000 +0200
+++ linux-2.6.9-rc2/include/asm-ppc/ibm44x.h    2004-09-28 09:08:11.000000000 
+0200
@@ -94,8 +94,8 @@
 #define DCRN_SDR_CONFIG_DATA   0xf
 #define DCRN_SDR_PFC0          0x4100
 #define DCRN_SDR_PFC1          0x4101
-#define DCRN_SDR_PFC1_EPS      0x1c000000
-#define DCRN_SDR_PFC1_EPS_SHIFT        26
+#define DCRN_SDR_PFC1_EPS      0x1c00000
+#define DCRN_SDR_PFC1_EPS_SHIFT        22
 #define DCRN_SDR_PFC1_RMII     0x02000000
 #define DCRN_SDR_MFR           0x4300
 #define DCRN_SDR_MFR_TAH0      0x80000000      /* TAHOE0 Enable */
	
-- 
Gerhard Jaeger <gjaeger@sysgo.com>            
SYSGO AG                      Embedded and Real-Time Software
www.sysgo.com | www.elinos.com | www.osek.de | www.imerva.com

                 reply	other threads:[~2004-09-28  8:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200409280938.55734.g.jaeger@sysgo.com \
    --to=g.jaeger@sysgo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-embedded@ozlabs.org \
    /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;
as well as URLs for NNTP newsgroup(s).