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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to