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

Adrian Chadd adrian at FreeBSD.org
Fri Apr 5 00:22:54 UTC 2013


Author: adrian
Date: Fri Apr  5 00:22:53 2013
New Revision: 249119
URL: http://svnweb.freebsd.org/changeset/base/249119

Log:
  AR9330/AR9331 also needs to ACK the APB interrupt register, same as
  AR724x.
  
  This fixes 'stuck interrupt' problems I was having when writing the
  uart interrupt code.

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

Modified: head/sys/mips/atheros/apb.c
==============================================================================
--- head/sys/mips/atheros/apb.c	Fri Apr  5 00:22:17 2013	(r249118)
+++ head/sys/mips/atheros/apb.c	Fri Apr  5 00:22:53 2013	(r249119)
@@ -357,6 +357,8 @@ apb_filter(void *arg)
 			case AR71XX_SOC_AR7240:
 			case AR71XX_SOC_AR7241:
 			case AR71XX_SOC_AR7242:
+			case AR71XX_SOC_AR9330:
+			case AR71XX_SOC_AR9331:
 				/* Ack/clear the irq on status register for AR724x */
 				ATH_WRITE_REG(AR71XX_MISC_INTR_STATUS,
 				    reg & ~(1 << irq));


More information about the svn-src-head mailing list