[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <C27F8246C663564A84BB7AB34397724218065B984E@IRVEXCHCCR01.corp.ad.broadcom.com>
Date: Mon, 30 Nov 2009 01:40:58 -0800
From: "Michael Chan" <mchan@...adcom.com>
To: "'leitao@...ux.vnet.ibm.com'" <leitao@...ux.vnet.ibm.com>
cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH] bnx2: EEH is failing with timeout
leitao@...ux.vnet.ibm.com wrote:
> bnx2 is failing when a PCI error is detected. The error is the
> following:
>
> bnx2: Chip not in correct endian mode
> bnx2: fw sync timeout, reset code = 404001d
>
> This error was caused because the way pci_restore_state() is working
> after commit 4b77b0a2ba27d64f58f16d8d4d48d8319dda36ff.
>
> Signed-off-by: Breno Leitao<leitao@...ux.vnet.ibm.com>
Thanks Breno.
Acked by: Michael Chan <mchan@...adcom.com>
> ---
> drivers/net/bnx2.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
> index 08cddb6..7fa4048 100644
> --- a/drivers/net/bnx2.c
> +++ b/drivers/net/bnx2.c
> @@ -8264,6 +8264,7 @@ static pci_ers_result_t
> bnx2_io_slot_reset(struct pci_dev *pdev)
> }
> pci_set_master(pdev);
> pci_restore_state(pdev);
> + pci_save_state(pdev);
>
> if (netif_running(dev)) {
> bnx2_set_power_state(bp, PCI_D0);
> --
> 1.6.0.2
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists