Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 2015 02:08:44 +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: r279511 - head/sys/mips/atheros
Message-ID:  <201503020208.t2228iNr019461@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Mon Mar  2 02:08:43 2015
New Revision: 279511
URL: https://svnweb.freebsd.org/changeset/base/279511

Log:
  [QCA955x] make the USB EHCI interrupts shareable.
  
  There's two EHCI controllers in the QCA955x SoCs - they have different
  interrupts available via various demux registers, but they both tie to
  IP3.
  
  So for now, allow them to be sharable so they can hang off of IP3.

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

Modified: head/sys/mips/atheros/ar71xx_ehci.c
==============================================================================
--- head/sys/mips/atheros/ar71xx_ehci.c	Mon Mar  2 01:53:47 2015	(r279510)
+++ head/sys/mips/atheros/ar71xx_ehci.c	Mon Mar  2 02:08:43 2015	(r279511)
@@ -119,7 +119,7 @@ ar71xx_ehci_attach(device_t self)
 
 	rid = 0;
 	sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid,
-	    RF_ACTIVE);
+	    RF_ACTIVE | RF_SHAREABLE);
 	if (sc->sc_irq_res == NULL) {
 		device_printf(self, "Could not allocate irq\n");
 		goto error;



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