On Wed, 2014-06-18 at 19:26 +0100, Grant Likely wrote: > I don't think this is the right way to handle this. Unless it is a > fixup to a buggy devicetree provided by firmware, I don't want to see > any code modifying the devicetree to describe stuff that is able to be > directly enumerated. Really the pci code should handle the lack of a > device_node gracefully. If it cannot then it should be fixed.
Right, I've long said that we need to get rid of that "pci_dn" structure we've been carrying around forever on ppc64. Any auxiliary data structures we keep around associated with a PCI device should be pointed to by the pci_dev itself, possibly using firmware_data or similar. Cheers, Ben. _______________________________________________ Linuxppc-dev mailing list [email protected] https://lists.ozlabs.org/listinfo/linuxppc-dev
