Author: adrian
Date: Wed Feb 20 11:24:11 2013
New Revision: 247030
URL: http://svnweb.freebsd.org/changeset/base/247030

Log:
  If any of the TX queues have underrun reporting enabled, enable
  HAL_INT_TXURN in the interrupt mask register.
  
  This should now allow for TXURN interrupts to be posted.

Modified:
  head/sys/dev/ath/ath_hal/ar5416/ar5416_interrupts.c

Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_interrupts.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416_interrupts.c Wed Feb 20 11:22:44 
2013        (r247029)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_interrupts.c Wed Feb 20 11:24:11 
2013        (r247030)
@@ -307,6 +307,8 @@ ar5416SetInterrupts(struct ath_hal *ah, 
                        mask |= AR_IMR_TXDESC;
                if (ahp->ah_txEolInterruptMask)
                        mask |= AR_IMR_TXEOL;
+               if (ahp->ah_txUrnInterruptMask)
+                       mask |= AR_IMR_TXURN;
        }
        if (ints & (HAL_INT_BMISC)) {
                mask |= AR_IMR_BCNMISC;
_______________________________________________
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