]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit040986d8261fddadffb5c27c8a9297382c8540fb
tree01547552912774f2008af5b020fbeed20078719f
parent45023027bdf2b9b08dd0beef3b8941368f39b86c
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