Commit 1cab2d92 authored by Gerhard Jaeger's avatar Gerhard Jaeger Committed by Linus Torvalds

[PATCH] ppc32: fix PFC1_EPS and PFC1_EPS_SHIFT for IBM440GX

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.
Signed-off-by: default avatarMatt Porter <mporter@kernel.crashing.org>
Signed-off-by: default avatarGerhard Jaeger <gjaeger@sysgo.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 09a1468a
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment