Patchwork [net-next,v2,2/2] sh_eth: Enable Rx descriptor word 0 shift for r8a7790

login
register
mail settings
Submitter Simon Horman
Date Aug. 30, 2013, 3:41 a.m.
Message ID <1377834068-6978-3-git-send-email-horms+renesas@verge.net.au>
Download mbox | patch
Permalink /patch/271077/
State Accepted
Delegated to: David Miller
Headers show

Comments

Simon Horman - Aug. 30, 2013, 3:41 a.m.
From: Kouei Abe <kouei.abe.cp@renesas.com>

This corrects an oversight when r8a7790 support was added to sh_eth.

Signed-off-by: Kouei Abe <kouei.abe.cp@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

---
v2
* No change

 drivers/net/ethernet/renesas/sh_eth.c | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c
index 3c0a24a..7aebbe0 100644
--- a/drivers/net/ethernet/renesas/sh_eth.c
+++ b/drivers/net/ethernet/renesas/sh_eth.c
@@ -416,6 +416,7 @@  static struct sh_eth_cpu_data r8a7790_data = {
 	.tpauser	= 1,
 	.hw_swap	= 1,
 	.rmiimode	= 1,
+	.shift_rd0	= 1,
 };
 
 static void sh_eth_set_rate_sh7724(struct net_device *ndev)