mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-28 00:49:43 +02:00
[ar71xx] fix EHCI driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12518 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2147e59d2e
commit
a14fb1a485
@ -72,12 +72,10 @@ int usb_ehci_ar71xx_probe(const struct hc_driver *driver,
|
|||||||
|
|
||||||
ar71xx_start_ehci(pdev);
|
ar71xx_start_ehci(pdev);
|
||||||
|
|
||||||
#if 0
|
|
||||||
ehci = hcd_to_ehci(hcd);
|
ehci = hcd_to_ehci(hcd);
|
||||||
ehci->caps = hcd->regs;
|
ehci->caps = hcd->regs;
|
||||||
ehci->regs = hcd->regs + HC_LENGTH(readl(&ehci->caps->hc_capbase));
|
ehci->regs = hcd->regs + HC_LENGTH(readl(&ehci->caps->hc_capbase));
|
||||||
ehci->hcs_params = readl(&ehci->caps->hcs_params);
|
ehci->hcs_params = readl(&ehci->caps->hcs_params);
|
||||||
#endif
|
|
||||||
|
|
||||||
ret = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED);
|
ret = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED);
|
||||||
if (ret)
|
if (ret)
|
||||||
|
Loading…
Reference in New Issue
Block a user