1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

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.
This commit is contained in:
Adrian Chadd 2013-04-05 00:22:53 +00:00
parent 9db1d995c5
commit 0580abc578
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249119

View File

@ -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));