Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 2013 00:22:54 +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: r249119 - head/sys/mips/atheros
Message-ID:  <201304050022.r350Msq5059979@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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));



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