diff options
author | adrian <adrian@FreeBSD.org> | 2013-04-05 00:22:53 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-04-05 00:22:53 +0000 |
commit | eed0ddb40ec886ec3cf62641ed35f796240252c9 (patch) | |
tree | fda7eca7517609eccfbfb76889eb1658f81d3a54 /sys | |
parent | 2c677dafec0c92cf5f3a89fee74a022d226e4980 (diff) | |
download | FreeBSD-src-eed0ddb40ec886ec3cf62641ed35f796240252c9.zip FreeBSD-src-eed0ddb40ec886ec3cf62641ed35f796240252c9.tar.gz |
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.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/mips/atheros/apb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/mips/atheros/apb.c b/sys/mips/atheros/apb.c index 085a7ec..ef44e0a 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)); |