#2635 assigned enhancement

Promote pci_scan() to public shared PCI method

Reported by: Joel Sherrill Owned by: Needs Funding
Priority: normal Milestone: Indefinite
Component: bsps Version: 5
Severity: normal Keywords:
Cc: Blocked By:


The new libbsp/shared/pci/pci_find_device.c is based upon the pcifinddevice.c from PowerPC and MIPS BSPs. There were multiple copies of the same code across multiple BSPs. This ticket is the clean up required to remove the last user of a copy and then have only one copy.

It renamed BSP_pciScan() to pci_scan() and made it a static routine. This method should be made public in the shared implementation, uses of BSP_pciScan() modified to use pci_scan(), and the impacted BSPs' Makefile.am modified to use the shared pci_find_device.c.

BSP_pciScan() is used by some component(s) used by each of the following BSPs:


This impacts the following BSPs.

$ grep -rl BSP_pciScan .

Change History (1)

comment:1 Changed on Feb 15, 2017 at 2:20:42 PM by Sebastian Huber

Milestone: 4.12Indefinite
Owner: set to Needs Funding
Status: newassigned
Note: See TracTickets for help on using tickets.