Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pci: rework the main function for inserting an OS device by PCI busid
We always used hwloc_pcidisc_find_busid_parent() to find a non-IO ancestor when hwloc_pcidisc_find_by_busid() failed to find the exact PCI ancestor. Merge those inside a new hwloc_pci_find_parent_by_busid() and remove the now unused hwloc_pcidisc_find_busid_parent(). Also remove the 'disc' prefix-suffix since this function works outside of the main PCI discovery. This breaks the plugin ABI but HWLOC_COMPONENT_ABI was already bumped to 6 for 2.1. Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
- Loading branch information
Showing
8 changed files
with
22 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters