]> 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)
commitf2b0bee642d39b40234e77b3183336fd560c2751
treeda74395e710977c6767e469745005be77533d6a9
parentb6b6ddaac5399c903828ac2624ed24e1275e44c9
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