diff options
author | Amey Narkhede <[email protected]> | 2021-08-17 23:34:54 +0530 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2021-08-17 17:44:34 -0500 |
commit | e20afa06244eb5d7fa850f9fe2a78ae17ba96f81 (patch) | |
tree | 59696d3cb3c85dfb967e401ebc3e538a576256c3 /lib/test_overflow.c | |
parent | 56f107d7813f116484019617043393a7753ffcbf (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Signed-off-by: Amey Narkhede <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Raphael Norwitz <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions