Skip to content

Commit

Permalink
net: sh_eth: fix the parameter for the ETHER of SH7757
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yoshihiro Shimoda authored and David S. Miller committed Jul 6, 2011
1 parent 91a5615 commit 2e98e79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/sh_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e98e79

Please sign in to comment.