]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
Report back PCI bus when doing table based device config
authorKumar Gala <galak@kernel.crashing.org>
Wed, 11 Jan 2006 19:27:19 +0000 (13:27 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 11 Jan 2006 19:27:19 +0000 (13:27 -0600)
Patch by Kumar Gala 11 Jan 2006

CHANGELOG
drivers/pci.c

index 60d29aca79d72bca42096b6682c5b7c0c0e52249..761f3a46fbfc7ba01c6edf2e3eeef9632fca3a5f 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,9 @@
 Changes since U-Boot 1.1.4:
 ======================================================================
 
+* Report back PCI bus when doing table based device config
+  Patch by Kumar Gala 11 Jan 2006
+
 * Added support for PCI prefetchable region and BARs
   If a host controller sets up a region as prefetchable and
   a device's BAR denotes it as prefetchable, allocate the
index 5360030661814c7cfb2f75273b172991fbb808f5..3c24b99c3767fc89d7ceff71d84021e63ea1ed1e 100644 (file)
@@ -459,6 +459,7 @@ int pci_hose_scan_bus(struct pci_controller *hose, int bus)
                                              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);