Skip to contentSkip to conversation

net: sh_eth: fix the parameter for the ETHER of SH7757

PATCH Applied Yoshihiro Shimoda 2 participants 2 messages Jul 6, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/net/sh_eth.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/net/sh_eth.c +2 -0
index c08d9e1..93b347a 100644
@@ -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