aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/search.c')
-rw-r--r--drivers/pci/search.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pci/search.c b/drivers/pci/search.c
index 33e0f033a48e..4c6044ad7368 100644
--- a/drivers/pci/search.c
+++ b/drivers/pci/search.c
@@ -60,6 +60,10 @@ int pci_for_each_dma_alias(struct pci_dev *pdev,
60 60
61 tmp = bus->self; 61 tmp = bus->self;
62 62
63 /* stop at bridge where translation unit is associated */
64 if (tmp->dev_flags & PCI_DEV_FLAGS_BRIDGE_XLATE_ROOT)
65 return ret;
66
63 /* 67 /*
64 * PCIe-to-PCI/X bridges alias transactions from downstream 68 * PCIe-to-PCI/X bridges alias transactions from downstream
65 * devices using the subordinate bus number (PCI Express to 69 * devices using the subordinate bus number (PCI Express to