svn commit: r279476 - head/sys/mips/atheros

Adrian Chadd adrian at FreeBSD.org
Sun Mar 1 06:05:02 UTC 2015


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);


More information about the svn-src-all mailing list