summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2023-08-31 17:09:28 +0200
committerMatt DeVillier <matt.devillier@amd.corp-partner.google.com>2023-10-20 14:24:57 +0000
commit0b0113f2436b448cd172d2ae9cfcc07628020173 (patch)
tree627b1a81d647e9084763dd18eaca22022bd4568c /src/device
parentce84a347bfa16f393e75e4cc63eded636ca69af8 (diff)
device/device.h: Rename pci_domain_scan_bus
On all targets the domain works as a host bridge. Xeon-sp code intends to feature multiple host bridges below a domain, hence rename the function to pci_host_bridge_scan_bus. Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: I4e65fdbaf0b42c5f4f62297a60d818d299d76f73 Reviewed-on: https://review.coreboot.org/c/coreboot/+/78326 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Reviewed-by: Yidi Lin <yidilin@google.com>
Diffstat (limited to 'src/device')
-rw-r--r--src/device/pci_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/pci_device.c b/src/device/pci_device.c
index 60339e3ade..21b43529d7 100644
--- a/src/device/pci_device.c
+++ b/src/device/pci_device.c
@@ -1662,7 +1662,7 @@ void pci_scan_bridge(struct device *dev)
*
* @param dev Pointer to the domain.
*/
-void pci_domain_scan_bus(struct device *dev)
+void pci_host_bridge_scan_bus(struct device *dev)
{
struct bus *link = dev->link_list;
pci_scan_bus(link, PCI_DEVFN(0, 0), 0xff);