On Fri, 2015-02-20 at 12:20 +0000, Julien Grall wrote: > Overall, I would prefer to have a separate file and structure for > handling PCI host. Also, I think we could re-use the Linux code for this > purpose.
(caveat; I've not looked at the code yet) I had expected that PCI host controllers would be discovered via the existing device model stuff and compatible string matching, e.g. DT_DEVICE_START(some_pcihost, "SOME PCI HOST CONTROLLER", DEVICE_PCIBUS) which would reference a set of compatible strings and a probe function, the probe function would then call some pci bus registration function to hook that bus into the system. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel