public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] net: sh_eth: fix the parameter for the ETHER of SH7757
@ 2011-07-06  6:33 Yoshihiro Shimoda
  2011-07-06  6:43 ` [PATCH 2/2] net: sh_eth: fix the parameter for the ETHER of David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Yoshihiro Shimoda @ 2011-07-06  6:33 UTC (permalink / raw)
  To: davem; +Cc: netdev, SH-Linux

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

diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c
index c08d9e1..93b347a 100644
--- a/drivers/net/sh_eth.c
+++ b/drivers/net/sh_eth.c
@@ -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
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-06  6:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-06  6:33 [PATCH 2/2] net: sh_eth: fix the parameter for the ETHER of SH7757 Yoshihiro Shimoda
2011-07-06  6:43 ` [PATCH 2/2] net: sh_eth: fix the parameter for the ETHER of David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox