[U-Boot-Users] RFC: PCI table based cfg change?

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);

In message Pine.LNX.4.44.0511301247030.10776-100000@gate.crashing.org you wrote:
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.
I guess this is in your git repo, too?
Dropped this patch - please shout if this was wrong.
Best regards,
Wolfgang Denk

On Mar 12, 2006, at 11:54 AM, Wolfgang Denk wrote:
In message <Pine.LNX. 4.44.0511301247030.10776-100000@gate.crashing.org> you wrote:
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.
I guess this is in your git repo, too?
Dropped this patch - please shout if this was wrong.
Yep its in the pci branch of the git repo.
- k
participants (3)
-
Kumar Gala
-
Kumar Gala
-
Wolfgang Denk