From owner-svn-src-head@FreeBSD.ORG Sun Mar 2 02:49:21 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4F6174D8; Sun, 2 Mar 2014 02:49:21 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3BCD21127; Sun, 2 Mar 2014 02:49:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s222nLcc004837; Sun, 2 Mar 2014 02:49:21 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s222nLdg004836; Sun, 2 Mar 2014 02:49:21 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201403020249.s222nLdg004836@svn.freebsd.org> From: Adrian Chadd Date: Sun, 2 Mar 2014 02:49:21 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262677 - head/sys/mips/atheros X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2014 02:49:21 -0000 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);