From 823be7b7a70f2cd84eae111f86836d4201573486 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Sun, 2 Mar 2014 02:49:20 +0000 Subject: [PATCH] Add the USB EHCI flags required for the post-AR71xx devices. Tested: * DB120, AR9344 --- sys/mips/atheros/ar71xx_ehci.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/mips/atheros/ar71xx_ehci.c b/sys/mips/atheros/ar71xx_ehci.c index cc92d8a646e..73f445c8a36 100644 --- a/sys/mips/atheros/ar71xx_ehci.c +++ b/sys/mips/atheros/ar71xx_ehci.c @@ -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);