[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090209172216.GA11312@ovro.caltech.edu>
Date: Mon, 9 Feb 2009 09:22:17 -0800
From: Ira Snyder <iws@...o.caltech.edu>
To: Jarek Poplawski <jarkao2@...il.com>
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
David Miller <davem@...emloft.net>,
Dai Haruki <dai.haruki@...escale.com>,
Andy Fleming <afleming@...escale.com>
Subject: Re: [BUG BISECTED] boot hangs while bringing up gianfar ethernet
On Sat, Feb 07, 2009 at 11:55:56PM +0100, Jarek Poplawski wrote:
>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists