[prev in list] [next in list] [prev in thread] [next in thread]
List: u-boot
Subject: [U-Boot-Users] RFC: PCI table based cfg change?
From: galak () gate ! crashing ! org (Kumar Gala)
Date: 2005-11-30 18:50:53
Message-ID: Pine.LNX.4.44.0511301247030.10776-100000 () gate ! crashing ! org
[Download RAW message or body]
I was hoping to get some feedback on the following patch. It is intended
to deal with the case if we are configuring a PCI bridge via the
pci_config_table, we need some way of reporting back the fact that the bus
number has changed.
- kumar
--- a/drivers/pci.c
+++ b/drivers/pci.c
@@ -459,6 +459,7 @@ int pci_hose_scan_bus(struct pci_control
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);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic