PCI: Notify driver before and after device reset
authorKeith Busch <keith.busch@intel.com>
Fri, 2 May 2014 16:40:42 +0000 (10:40 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 27 May 2014 17:11:00 +0000 (11:11 -0600)
commit3ebe7f9f7e4a4fd1f6461ecd01ff2961317a483a
tree01547552912774f2008af5b020fbeed20078719f
parent761ce53330a4f02c58768631027d1c1dd0d538f7
PCI: Notify driver before and after device reset

Notify a PCI device driver when its device's access is about to be disabled
for an impending reset attempt, then after the attempt completes and device
access is restored.  The notification is via the pci_error_handlers
interface.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c
include/linux/pci.h