]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Add slot reset option to pci_dev_reset()
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 8 Aug 2013 20:09:43 +0000 (14:09 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 14 Aug 2013 20:57:17 +0000 (14:57 -0600)
commit09766af7cf0c99d26944f9a4007160b152c5903b
treea67398b75734e679d6377a6e7ba170030ef301b8
parent5971141c786fd290dcb3af05b1ecdf6741e192ec
PCI: Add slot reset option to pci_dev_reset()

If the hotplug controller provides a way to reset a slot, use that
before a direct parent bus reset.  Like the bus reset option, this is
only available when a single pci_dev occupies the slot.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c