fix EHCI driver

SVN-Revision: 12518
master
Gabor Juhos 16 years ago
parent dd3eea99fa
commit f9afbda3d6
  1. 2
      target/linux/ar71xx/files/drivers/usb/host/ehci-ar71xx.c

@ -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…
Cancel
Save