[PATCH] pci_dev to device_node fix
Jake Moilanen
moilanen at austin.ibm.com
Tue Mar 9 05:01:05 EST 2004
On Fri, 2004-03-05 at 17:37, Benjamin Herrenschmidt wrote:
> > The problem is, what do you set it to. A PHB doesn't have a devfn. You
> > can't set it to -1, because there are sections of the code that will
> > mask the devfn w/ 0xff and cause the same problem if there is a bridge
> > is at devfn 0xff on a particular bus. The only clean way is to add an
> > extra field in to note that this device_node is a PHB. That way it can
> > ignore the devfn.
>
> And how do you deal with device nodes that aren't PCI ?
Non-pci device_nodes shouldn't be the children of a PHB device_node in
the device tree.
Thanks,
Jake
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list