From: Yoshihiro Shimoda Date: Tue, 5 Jul 2011 20:33:57 +0000 (+0000) Subject: net: sh_eth: fix the parameter for the ETHER of SH7757 X-Git-Tag: v3.0-rc7~41^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e98e7974de208de0dab9e9969bd47576d07ff10;p=profile%2Fivi%2Fkernel-x86-ivi.git net: sh_eth: fix the parameter for the ETHER of SH7757 If the driver didn't set this parameter on the ETHER, the CPU will encounter the "data address error" exception. Signed-off-by: Yoshihiro Shimoda Signed-off-by: David S. Miller --- diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c index 35bbc2718c1..1f3f7b4dd63 100644 --- a/drivers/net/sh_eth.c +++ b/drivers/net/sh_eth.c @@ -140,6 +140,8 @@ static struct sh_eth_cpu_data sh_eth_my_cpu_data = { .tpauser = 1, .hw_swap = 1, .no_ade = 1, + .rpadir = 1, + .rpadir_value = 2 << 16, }; #define SH_GIGA_ETH_BASE 0xfee00000