]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/pci/pci.c
PCI: Add pci_probe_reset_slot() and pci_probe_reset_bus()
authorAlex Williamson <alex.williamson@redhat.com>
Wed, 14 Aug 2013 20:06:05 +0000 (14:06 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 15 Aug 2013 17:38:45 +0000 (11:38 -0600)
commit9a3d2b9beefd5b07c1d8f70ded01b88f203ee304
tree51aba33f4963d835195368743e31d116e3493199
parent1b95ce8fc9c12fdb60047f2f9950f29e76e7c66d
PCI: Add pci_probe_reset_slot() and pci_probe_reset_bus()

Users of pci_reset_bus() and pci_reset_slot() need a way to probe
whether the bus or slot supports reset.  Add trivial helper functions
and export them as vfio-pci will make use of these.

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