diff options
author | Amey Narkhede <[email protected]> | 2021-08-17 23:34:55 +0530 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2021-08-17 17:44:38 -0500 |
commit | 4ec36dfeb155b72da8d28ab006a46f2f8b981eac (patch) | |
tree | 056c32ec273ed95e3bf7764740263fa77223d54b /lib/test_overflow.c | |
parent | e20afa06244eb5d7fa850f9fe2a78ae17ba96f81 (diff) |
PCI: Remove reset_fn field from pci_dev
"reset_fn" indicates whether the device supports any reset mechanism.
Remove the use of reset_fn in favor of the reset_methods array that tracks
supported reset mechanisms of a device and their ordering.
The octeon driver incorrectly used reset_fn to detect whether the device
supports FLR or not. Use pcie_reset_flr() to probe whether it supports FLR.
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: Alex Williamson <[email protected]>
Reviewed-by: Raphael Norwitz <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions