mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add the USB EHCI flags required for the post-AR71xx devices.
Tested: * DB120, AR9344
This commit is contained in:
parent
ba680558a0
commit
823be7b7a7
1 changed files with 3 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue