Thread (9 messages) 9 messages, 4 authors, 2009-02-10

Re: [BUG BISECTED] boot hangs while bringing up gianfar ethernet

From: Ira Snyder <hidden>
Date: 2009-02-09 17:22:43
Also in: lkml

On Sat, Feb 07, 2009 at 11:55:56PM +0100, Jarek Poplawski wrote:
quoted hunk ↗ jump to hunk
Hi,

Could you try this patch?

Thanks,
Jarek P.
---

 drivers/net/gianfar.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c
index acae2d8..1335d89 100644
--- a/drivers/net/gianfar.c
+++ b/drivers/net/gianfar.c
@@ -1629,6 +1629,8 @@ static void gfar_schedule_cleanup(struct net_device *dev)
 	if (netif_rx_schedule_prep(&priv->napi)) {
 		gfar_write(&priv->regs->imask, IMASK_RTX_DISABLED);
 		__netif_rx_schedule(&priv->napi);
+	} else {
+		gfar_write(&priv->regs->ievent, IEVENT_RTX_MASK);
 	}
 
 	spin_unlock(&priv->rxlock);
It works fine for me, the board now boots up normally.

Thanks for the patch,
Ira
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help