Report back PCI bus when doing table based device config

Patch by Kumar Gala 11 Jan 2006
This commit is contained in:
Kumar Gala 2006-01-11 13:27:19 -06:00
parent a179012e37
commit 3411d11761
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,9 @@
Changes since U-Boot 1.1.4: 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 * Added support for PCI prefetchable region and BARs
If a host controller sets up a region as prefetchable and If a host controller sets up a region as prefetchable and
a device's BAR denotes it as prefetchable, allocate the a device's BAR denotes it as prefetchable, allocate the

View 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)); PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev));
if (cfg) { if (cfg) {
cfg->config_device(hose, dev, cfg); cfg->config_device(hose, dev, cfg);
sub_bus = max(sub_bus, hose->current_busno);
#ifdef CONFIG_PCI_PNP #ifdef CONFIG_PCI_PNP
} else { } else {
int n = pciauto_config_device(hose, dev); int n = pciauto_config_device(hose, dev);