On Wed, Jan 05, 2011 at 09:41:53PM -0500, Kevin O'Connor wrote:
Did you have any thoughts on how to build the PCI device path for the
I suppose we could keep an "int parentbus" and fill it with info
on the parent info of every PCI bus. Then the build_pci_path()
function could reconstruct the path of buses back to the root.
Sounds like good and simple solution.
As I understand it there could be three types of PCI
buses we could
run into - the root bus 0, a pci-to-pci bridge, or a non bus 0 root
I guess the root bus will have -1 in its parentbus entry. It doesn't
matter what its actual number is.