Re: [patch 2.5.31] transparent PCI-to-PCI bridges

Linus Torvalds
2002-08-31T16:37:49Z

On 31 Aug 2002, Alan Cox wrote:
>
> Related question while we are on the subject of bridges. I'm trying to
> work out a clean way to initialize a new subtree of devices given a
> bridge that suddenely has devices behind it.
>
> This occurs in three cases I know about now
> - Easidock cardbus->PCI extender
> - IBM Thinkpad hot docking bridge
> - Magma PCI extended split bridge

pci_do_scan_bus() should do almost everything for you. Pat Mochel had some
code that made the cardbus driver basically do just this on cardbus
insertion, you might ask him.

Linus