From 3411d1176102249f0e85dfc01820940e2faa7d13 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Wed, 11 Jan 2006 13:27:19 -0600 Subject: Report back PCI bus when doing table based device config Patch by Kumar Gala 11 Jan 2006 --- drivers/pci.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/pci.c') diff --git a/drivers/pci.c b/drivers/pci.c index 53600306618..3c24b99c376 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); -- cgit v1.2.3