svn commit: r225431 - head/sys/dev/ath/ath_hal/ar5416

Adrian Chadd adrian at FreeBSD.org
Wed Sep 7 03:00:59 UTC 2011


Author: adrian
Date: Wed Sep  7 03:00:58 2011
New Revision: 225431
URL: http://svn.freebsd.org/changeset/base/225431

Log:
  Add a definition for ASYNC_CAUSE_CLR. It's not used yet, but the
  reference driver does clear the async interrupts after each service.
  I'll tinker with this in a future commit.
  
  Obtained from:	Atheros
  Approved by:	re (kib)

Modified:
  head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h

Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h	Wed Sep  7 00:48:58 2011	(r225430)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h	Wed Sep  7 03:00:58 2011	(r225431)
@@ -40,6 +40,7 @@
 #define	AR_INTR_ASYNC_MASK	0x4030	/* asynchronous interrupt mask */
 #define	AR_INTR_SYNC_MASK	0x4034	/* synchronous interrupt mask */
 #define	AR_INTR_ASYNC_CAUSE	0x4038	/* check pending interrupts */
+#define	AR_INTR_ASYNC_CAUSE_CLR	0x4038	/* clear pending interrupts */
 #define	AR_INTR_ASYNC_ENABLE	0x403c	/* enable interrupts */
 #define	AR5416_PCIE_SERDES	0x4040
 #define	AR5416_PCIE_SERDES2	0x4044


More information about the svn-src-head mailing list