On Tuesday 26 May 2015 10:59:24 Will Deacon wrote: > > > Secondly, the hack to put pci_sys_data as the first member of gen_pci is ugly > > > at best > > > > On balance, it removes the problem of using hw_pci interface which has its own > > ugliness (Arnd's mail on this http://www.spinics.net/lists/linux-pci/msg40703.html) > > To me, that sounds like we should be disposing of the hw_pci interface > altogether and moving arch/arm/ over to the new architecture-independent > interface. I'd like to do that for all drivers in drivers/pci/host, but leave the ones for the legacy platforms in arch/arm alone, in particular the ones that use nr_controllers != 1. We should be able to remove pci_common_init_dev() and directly probe all devices that are using that, while we keep pci_common_init() around for the legacy case that also does not have a parent device. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html