summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAmey Narkhede <ameynarkhede03@gmail.com>2021-08-17 21:04:54 +0300
committerBjorn Helgaas <bhelgaas@google.com>2021-08-18 01:44:34 +0300
commite20afa06244eb5d7fa850f9fe2a78ae17ba96f81 (patch)
tree59696d3cb3c85dfb967e401ebc3e538a576256c3 /tools
parent56f107d7813f116484019617043393a7753ffcbf (diff)
downloadlinux-e20afa06244eb5d7fa850f9fe2a78ae17ba96f81.tar.xz
PCI: Add array to track reset method ordering
Add reset_methods[] in struct pci_dev to keep track of reset mechanisms supported by the device and their ordering. Refactor probing and reset functions to take advantage of calling convention of reset functions. Co-developed-by: Alex Williamson <alex.williamson@redhat.com> Link: https://lore.kernel.org/r/20210817180500.1253-4-ameynarkhede03@gmail.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Amey Narkhede <ameynarkhede03@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions