Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Mar 2015 06:05:01 +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: r279476 - head/sys/mips/atheros
Message-ID:  <201503010605.t21651wX047352@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Sun Mar  1 06:05:01 2015
New Revision: 279476
URL: https://svnweb.freebsd.org/changeset/base/279476

Log:
  Add QCA955x support to the EHCI setup path.
  
  Tested:
  
  * QCA AP135 development board, USB rootfs.

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  1 05:18:02 2015	(r279475)
+++ head/sys/mips/atheros/ar71xx_ehci.c	Sun Mar  1 06:05:01 2015	(r279476)
@@ -162,6 +162,8 @@ ar71xx_ehci_attach(device_t self)
 		case AR71XX_SOC_AR9341:
 		case AR71XX_SOC_AR9342:
 		case AR71XX_SOC_AR9344:
+		case AR71XX_SOC_QCA9556:
+		case AR71XX_SOC_QCA9558:
 			sc->sc_flags |= EHCI_SCFLG_TT | EHCI_SCFLG_NORESTERM;
 			break;
 		default:
@@ -258,4 +260,6 @@ static driver_t ehci_driver = {
 static devclass_t ehci_devclass;
 
 DRIVER_MODULE(ehci, nexus, ehci_driver, ehci_devclass, 0, 0);
+DRIVER_MODULE(ehci, apb, ehci_driver, ehci_devclass, 0, 0);
+
 MODULE_DEPEND(ehci, usb, 1, 1, 1);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503010605.t21651wX047352>