Date: Sun, 2 Mar 2014 02:49:21 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262677 - head/sys/mips/atheros Message-ID: <201403020249.s222nLdg004836@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Sun Mar 2 02:49:20 2014 New Revision: 262677 URL: http://svnweb.freebsd.org/changeset/base/262677 Log: Add the USB EHCI flags required for the post-AR71xx devices. Tested: * DB120, AR9344 Modified: head/sys/mips/atheros/ar71xx_ehci.c Modified: head/sys/mips/atheros/ar71xx_ehci.c ============================================================================== --- head/sys/mips/atheros/ar71xx_ehci.c Sun Mar 2 02:41:33 2014 (r262676) +++ head/sys/mips/atheros/ar71xx_ehci.c Sun Mar 2 02:49:20 2014 (r262677) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403020249.s222nLdg004836>