[U-Boot-Users] [PATCH] Report back PCI bus when doing table based device config
Kumar Gala
galak at gate.crashing.org
Thu Dec 15 00:56:22 CET 2005
Report back PCI bus when doing table based device config
Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
CHANGELOG:
* Report back PCI bus when doing table based device config
Patch by Kumar Gala 14 Dec 2005
---
commit 837f814f04849814fd95710796e8e107b01c9121
tree d8f0e663f827d5fb4deb9b5e20841cd9ddcc2807
parent d7b4ec6d89455f45e3c0e6d48daaba4d917c26a7
author Kumar Gala <galak at kernel.crashing.org> Wed, 14 Dec 2005 17:59:49 -0600
committer Kumar Gala <galak at kernel.crashing.org> Wed, 14 Dec 2005 17:59:49 -0600
drivers/pci.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/pci.c b/drivers/pci.c
index 5360030..3c24b99 100644
--- a/drivers/pci.c
+++ b/drivers/pci.c
@@ -459,6 +459,7 @@ int pci_hose_scan_bus(struct pci_control
PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev));
if (cfg) {
cfg->config_device(hose, dev, cfg);
+ sub_bus = max(sub_bus, hose->current_busno);
#ifdef CONFIG_PCI_PNP
} else {
int n = pciauto_config_device(hose, dev);
More information about the U-Boot
mailing list