From owner-svn-src-all@FreeBSD.ORG  Fri Apr  5 02:01:06 2013
Return-Path: <owner-svn-src-all@FreeBSD.ORG>
Delivered-To: svn-src-all@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 4BE65D82;
 Fri,  5 Apr 2013 02:01:06 +0000 (UTC)
 (envelope-from adrian@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 3F314A23;
 Fri,  5 Apr 2013 02:01:06 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r35216Dc089712;
 Fri, 5 Apr 2013 02:01:06 GMT (envelope-from adrian@svn.freebsd.org)
Received: (from adrian@localhost)
 by svn.freebsd.org (8.14.6/8.14.5/Submit) id r35216tm089711;
 Fri, 5 Apr 2013 02:01:06 GMT (envelope-from adrian@svn.freebsd.org)
Message-Id: <201304050201.r35216tm089711@svn.freebsd.org>
From: Adrian Chadd <adrian@FreeBSD.org>
Date: Fri, 5 Apr 2013 02:01:06 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-head@freebsd.org
Subject: svn commit: r249125 - 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-all@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "SVN commit messages for the entire src tree \(except for &quot;
 user&quot; and &quot; projects&quot; \)" <svn-src-all.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-all>,
 <mailto:svn-src-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-all>
List-Post: <mailto:svn-src-all@freebsd.org>
List-Help: <mailto:svn-src-all-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-all>,
 <mailto:svn-src-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Apr 2013 02:01:06 -0000

Author: adrian
Date: Fri Apr  5 02:01:05 2013
New Revision: 249125
URL: http://svnweb.freebsd.org/changeset/base/249125

Log:
  Fix AR933x USB support - this needs the same controller initialisation
  as the AR7242.
  
  Tested:
  
  * Atheros AP121, AR9331
  * ZyDas wifi device, and 64MB (yes, ew) USB flash storage

Modified:
  head/sys/mips/atheros/ar71xx_ehci.c

Modified: head/sys/mips/atheros/ar71xx_ehci.c
==============================================================================
--- head/sys/mips/atheros/ar71xx_ehci.c	Fri Apr  5 01:38:13 2013	(r249124)
+++ head/sys/mips/atheros/ar71xx_ehci.c	Fri Apr  5 02:01:05 2013	(r249125)
@@ -157,6 +157,8 @@ ar71xx_ehci_attach(device_t self)
 		case AR71XX_SOC_AR7242:
 		case AR71XX_SOC_AR9130:
 		case AR71XX_SOC_AR9132:
+		case AR71XX_SOC_AR9330:
+		case AR71XX_SOC_AR9331:
 			sc->sc_flags |= EHCI_SCFLG_TT | EHCI_SCFLG_NORESTERM;
 			break;
 		default: