]> err.no Git - linux-2.6/blobdiff - drivers/usb/host/ohci-ppc-soc.c
USB: minor ehci xITD simplifications
[linux-2.6] / drivers / usb / host / ohci-ppc-soc.c
index 1a2e1777ca61c54595992a06c36556eaa67d47ac..523c30125577d39a8c24287ce30ae2b2532929e2 100644 (file)
@@ -73,6 +73,11 @@ static int usb_hcd_ppc_soc_probe(const struct hc_driver *driver,
 
        ohci = hcd_to_ohci(hcd);
        ohci->flags |= OHCI_QUIRK_BE_MMIO | OHCI_QUIRK_BE_DESC;
+
+#ifdef CONFIG_PPC_MPC52xx
+       /* MPC52xx doesn't need frame_no shift */
+       ohci->flags |= OHCI_QUIRK_FRAME_NO;
+#endif
        ohci_hcd_init(ohci);
 
        retval = usb_add_hcd(hcd, irq, IRQF_DISABLED);
@@ -208,3 +213,4 @@ static struct platform_driver ohci_hcd_ppc_soc_driver = {
        },
 };
 
+MODULE_ALIAS("platform:ppc-soc-ohci");