fm10k: use common reset flow when handling io errors from PCI stack
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 7 Jun 2016 23:08:54 +0000 (16:08 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 20 Jul 2016 22:22:13 +0000 (15:22 -0700)
commit820c91aa9c39e1923fbe4a6593b3d2dfd7ad593f
treeda74395e710977c6767e469745005be77533d6a9
parentdc4b76c0fe1753940b15413ae5fb9829552824ec
fm10k: use common reset flow when handling io errors from PCI stack

Now that we have extracted the necessary steps for a split
suspend/resume flow, re-use these functions instead of using the current
open coded flow. This ensures that we don't miss any steps. It also
ensures that we have the correct driver states set.

Since we'll be handling all of the reset flow ourselves, we no longer
need to request a reset in the io_slot_reset() function.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_pci.c