net: sh_eth: fix the parameter for the ETHER of SH7757
Subsystems (3)
PATCH 2/2 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 <[email protected]>
--- drivers/net/sh_eth.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/net/sh_eth.c +2 -0
@@ -139,6 +139,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
Signature · 1 line
1.7.1
From: Yoshihiro Shimoda <[email protected]>
Date: Wed, 06 Jul 2011 15:33:57 +0900
Quoted 4 lines
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 <[email protected]>
Applied.