فهرست منبع

Report back PCI bus when doing table based device config
Patch by Kumar Gala 11 Jan 2006

Kumar Gala 19 سال پیش
والد
کامیت
3411d11761
2فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 3 0
      CHANGELOG
  2. 1 0
      drivers/pci.c

+ 3 - 0
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

+ 1 - 0
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);