[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B22D033.40105@chelsio.com>
Date: Fri, 11 Dec 2009 15:05:23 -0800
From: Divy Le Ray <divy@...lsio.com>
To: leitao@...ux.vnet.ibm.com
CC: netdev@...r.kernel.org
Subject: Re: [PATCH] cxgb3: Fixing EEH handlers
leitao@...ux.vnet.ibm.com wrote:
>
> After commit 4b77b0a2ba27d64f58f16d8d4d48d8319dda36ff, the EEH
> is not working proplery on cxgb3.
>
> This patch fixes it, always saving the PCI state after a recovery,
> in order to allow further reoveries.
>
> Signed-off-by: Breno Leitao <leitao@...ux.vnet.ibm.com>
>
Acked-by: Divy Le Ray <divy@...lsio.com>
> ---
> drivers/net/cxgb3/cxgb3_main.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/cxgb3/cxgb3_main.c
> b/drivers/net/cxgb3/cxgb3_main.c
> index cef3f88..89bec9c 100644
> --- a/drivers/net/cxgb3/cxgb3_main.c
> +++ b/drivers/net/cxgb3/cxgb3_main.c
> @@ -2860,6 +2860,7 @@ static int t3_reenable_adapter(struct adapter
> *adapter)
> }
> pci_set_master(adapter->pdev);
> pci_restore_state(adapter->pdev);
> + pci_save_state(adapter->pdev);
>
> /* Free sge resources */
> t3_free_sge_resources(adapter);
> --
> 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