summaryrefslogtreecommitdiffstats
path: root/drivers/net/sh_eth.c
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2011-07-05 22:33:57 +0200
committerDavid S. Miller <davem@davemloft.net>2011-07-06 08:41:17 +0200
commit2e98e7974de208de0dab9e9969bd47576d07ff10 (patch)
treec8fddb709c0e79cc899d189db84cd313925baa75 /drivers/net/sh_eth.c
parentnet: sh_eth: fix cannot work half-duplex mode (diff)
downloadlinux-2e98e7974de208de0dab9e9969bd47576d07ff10.tar.xz
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/sh_eth.c')
-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