summaryrefslogtreecommitdiffstats
path: root/drivers/pci.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-03-12 21:31:38 +0100
committerWolfgang Denk <wd@pollux.denx.de>2006-03-12 21:31:38 +0100
commit7b230f61db319d87d51449d4620d520822813fbb (patch)
tree4ab1907f8a19b51240ee9853bfe8acaad05c041c /drivers/pci.c
parenta3f0169880a44ac06de5177e7926d7c732368663 (diff)
parentdffb70f3305daa16625ec9d5b02a2c0d23ff84b3 (diff)
downloadblackbird-obmc-uboot-7b230f61db319d87d51449d4620d520822813fbb.tar.gz
blackbird-obmc-uboot-7b230f61db319d87d51449d4620d520822813fbb.zip
Merge with git://git.kernel.org/pub/scm/boot/u-boot/u-boot.git#pci
Diffstat (limited to 'drivers/pci.c')
-rw-r--r--drivers/pci.c1
1 files changed, 1 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud