On Mon, 22 Feb 2010, Andrey Borzenkov wrote: > The problem is this dependency strikes back in other places as well. > E.g. I want to find out drivers for my USB keyboard to be loaded in > initrd. Natural way is to walk up device tree collecting them - which > leaves me with uhci (or ohci). Now I must manually do not forget to put > in ehci, although strictly speaking I do not need it (in initrd) at all. > > Kernel based solution would really be nice ... There _is_ a kernel-based solution. Build ehci-hcd into the kernel instead of building it as a module. Then it will always come before uhci-hcd -- even if uhci-hcd is also built into the kernel. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html