From 0580abc5785aff0b60d9c19f9f719948dde8b974 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Fri, 5 Apr 2013 00:22:53 +0000 Subject: [PATCH] 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. --- sys/mips/atheros/apb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/mips/atheros/apb.c b/sys/mips/atheros/apb.c index 085a7ecbfb5..ef44e0ad47f 100644 --- a/sys/mips/atheros/apb.c +++ b/sys/mips/atheros/apb.c @@ -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));