On Tue, Feb 18, 2014 at 07:25:35PM +0100, Arnd Bergmann wrote: > Apple have also used the same trick on their G5 Macs, presumably > to simplify things for OS9 and OS-X, but even at the time making > it harder for Linux. I actually think some x86's have done the same thing, however the firmware hides all that from the OS and the OS just sees a normal PCI environment. So if we can't hide the mess in firmware, the next best place is in drivers? > Do we even need stable domain numbers? If we do, aliases sound fine. > A more complex method would be to sort them by MMIO window address > or perhaps by phandle. PCI ordering has been a bane in the past on x86, so I think stable domain numbers is certainly desirable. Particularly since the domain number may be influenced by module load order :( Alises followed by sorting by phandle sounds great to me. Jason -- 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