]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit03ed8c4d05197ce636d50063035ca99f4bd6b274
treeda74395e710977c6767e469745005be77533d6a9
parent041e625ad655e7fb63d1bf4beb3fdc86f9c085ea
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