Commit ccdddf500f2b1b8e88ac8e3d4dfc15cce9f73886

Authored by Breno Leitao
Committed by David S. Miller
1 parent 4e9c4fd3e7

cxgb3: Fixing EEH handlers

After commit 4b77b0a2ba27d64f58f16d8d4d48d8319dda36ff ("PCI: Clear
saved_state after the state has been restored"), 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@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/net/cxgb3/cxgb3_main.c
... ... @@ -2860,6 +2860,7 @@
2860 2860 }
2861 2861 pci_set_master(adapter->pdev);
2862 2862 pci_restore_state(adapter->pdev);
  2863 + pci_save_state(adapter->pdev);
2863 2864  
2864 2865 /* Free sge resources */
2865 2866 t3_free_sge_resources(adapter);