Add the USB EHCI flags required for the post-AR71xx devices.

Tested:

* DB120, AR9344
This commit is contained in:
Adrian Chadd 2014-03-02 02:49:20 +00:00
parent ba680558a0
commit 823be7b7a7

View file

@ -133,7 +133,6 @@ ar71xx_ehci_attach(device_t self)
sprintf(sc->sc_vendor, "Atheros");
err = bus_setup_intr(self, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE,
NULL, (driver_intr_t *)ehci_interrupt, sc, &sc->sc_intr_hdl);
if (err) {
@ -159,6 +158,9 @@ ar71xx_ehci_attach(device_t self)
case AR71XX_SOC_AR9132:
case AR71XX_SOC_AR9330:
case AR71XX_SOC_AR9331:
case AR71XX_SOC_AR9341:
case AR71XX_SOC_AR9342:
case AR71XX_SOC_AR9344:
sc->sc_flags |= EHCI_SCFLG_TT | EHCI_SCFLG_NORESTERM;
break;
default:
@ -172,7 +174,6 @@ ar71xx_ehci_attach(device_t self)
*/
sc->sc_offs = EHCI_CAPLENGTH(EREAD4(sc, EHCI_CAPLEN_HCIVERSION));
(void) ehci_reset(sc);
err = ehci_init(sc);