commit | 2e35afaefe64946caaecfacaf7fb568e46185e88 | [log] [tgz] |
---|---|---|
author | Alex Williamson <alex.williamson@redhat.com> | Thu Aug 08 14:09:37 2013 -0600 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Wed Aug 14 14:55:26 2013 -0600 |
tree | b8aaf1bb815978199cf9d03897dc1a83d84208d7 | |
parent | 5c32b35b004f5ef70dcf62bbc42b8bed1e50b471 [diff] |
PCI: pciehp: Add reset_slot() method PCIe hotplug has a bus per slot, so we can just use a normal secondary bus reset. However, if a slot supports surprise removal, a bus reset can be seen as a presence detection change triggering a hot-remove followed by a hot-add. Disable presence detection from triggering an interrupt or being polled around the bus reset. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>