summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2011-07-05 20:33:57 +0000
committerDavid S. Miller <davem@davemloft.net>2011-07-05 23:41:17 -0700
commit2e98e7974de208de0dab9e9969bd47576d07ff10 (patch)
treec8fddb709c0e79cc899d189db84cd313925baa75 /drivers/net
parent91a5615203355bb34e0b9e68e94f27f24719a74c (diff)
downloadblackbird-op-linux-2e98e7974de208de0dab9e9969bd47576d07ff10.tar.gz
blackbird-op-linux-2e98e7974de208de0dab9e9969bd47576d07ff10.zip
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 <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/sh_eth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c
index 35bbc2718c13..1f3f7b4dd638 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
OpenPOWER on IntegriCloud