diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/device/device.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h index 4e9c594bc0..a33702a234 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -293,6 +293,10 @@ DEVTREE_CONST struct device *pcidev_path_on_root(pci_devfn_t devfn); DEVTREE_CONST struct device *pcidev_path_on_bus(unsigned int bus, pci_devfn_t devfn); DEVTREE_CONST struct device *pcidev_on_root(uint8_t dev, uint8_t fn); DEVTREE_CONST struct bus *pci_root_bus(void); +/* Find PCI device with given D#:F# sitting behind the given PCI-to-PCI bridge device. */ +DEVTREE_CONST struct device *pcidev_path_behind_pci2pci_bridge( + const struct device *bridge, + pci_devfn_t devfn); /* To be deprecated, avoid using. * |