Question about EHCI and UHCI/OHCI driver load

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I see that ehci-hcd.c has a warning in when either the UHCI or OHCI
driver is loaded before the EHCI driver:

        set_bit(USB_EHCI_LOADED, &usb_hcds_loaded);
        if (test_bit(USB_UHCI_LOADED, &usb_hcds_loaded) ||
                        test_bit(USB_OHCI_LOADED, &usb_hcds_loaded))
                printk(KERN_WARNING "Warning! ehci_hcd should always be loaded"
                                " before uhci_hcd and ohci_hcd, not after\n");

What actually prevents the UHCI or OHCI driver from being loaded before
the EHCI driver?  Is it left up to userspace?

Since PCI devices can be initialized in parallel, even if the EHCI
driver is loaded first, that doesn't guarantee that the PCI probe for
the EHCI controller actually finishes before the UHCI/OHCI PCI probe,
right?

Sarah Sharp
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux