From: Kumar Gala Date: Wed, 11 Jan 2006 19:27:19 +0000 (-0600) Subject: Report back PCI bus when doing table based device config X-Git-Tag: LABEL_2006_05_19_1133~16^2^2~12^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3411d1176102249f0e85dfc01820940e2faa7d13;p=u-boot Report back PCI bus when doing table based device config Patch by Kumar Gala 11 Jan 2006 --- diff --git a/CHANGELOG b/CHANGELOG index 60d29aca79..761f3a46fb 100644 --- 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 diff --git a/drivers/pci.c b/drivers/pci.c index 5360030661..3c24b99c37 100644 --- a/drivers/pci.c +++ b/drivers/pci.c @@ -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);