Hi guys, I'm curious as to the difference between ohci-ppc-of.c and ohci-ppc-soc.c in drivers/usb/host - the way I am looking at this, ohci-ppc-soc.c is completely redundant now as no arch/powerpc platform should be using this method of registering a platform device, and therefore it's a legacy from arch/ppc that should go away like CONFIG_PPC_MERGE did?
Can anyone confirm this? I also noticed a very strange Kconfig dependency when checking through this stuff with Grant (so I could see what to remove if I got rid of ohci-ppc-soc.c, the config for USB_OHCI_HCD_PPC_SOC would disappear; config USB_OHCI_HCD_PCI bool "OHCI support for PCI-bus USB controllers" depends on USB_OHCI_HCD && PCI && (STB03xxx || PPC_MPC52xx || USB_OHCI_HCD_PPC_OF) default y select USB_OHCI_LITTLE_ENDIAN ---help--- Enables support for PCI-bus plug-in USB controller cards. If unsure, say Y. I am really curious as to why OHCI for PCI bus depends on STB03xxx or MPC52xx? Couldn't these be removed? I am guessing USB_OHCI_HCD_PPC_OF is specifically required here because it sets up the support from the device tree if it's present (although aren't PCI devices detected and utilized some other way? Is this a concession to having internal AND PCI controllers of the same type?) but I do not understand the dependency on those two chips, specifically, in this day and age. I'll roll up a patch along with a couple other things tomorrow or the weekend based on what I hear here.. -- Matt Sealey <[EMAIL PROTECTED]> Genesi, Manager, Developer Relations _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev