On Fri, 2005-05-13 at 12:28 -0500, Linas Vepstas wrote: > > Could you just use pci_device_to_OF_node(), then dn->phb? This way, > > you could avoid the loop. > > Yes, except that not all dn's have phb's. The goal here is to walk up > the tree, until a phb is found. All PCI dn's should have a PHB. Ben.