pci <-> device node mapping

Anton Blanchard anton at samba.org
Tue Jun 17 15:42:21 EST 2003


Hi,

I put together a PCI domain patch for 2.5 which removed some of the
complexity in our pci code. Im now wondering if there is any reason for
us to map from pci dev -> OF node -> phb:

#define PCI_GET_PHB_PTR(dev)    (((struct device_node *)(dev)->sysdata)->phb)

>From memory the main reason for this was for EEH, but we no longer
need it for this.

Anton

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list