ath9k: Add a debugfs file to show interrupt statistics

Location: ath9k/<phy>/interrupt

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Sujith
2008-12-07 21:42:44 +05:30
committed by John W. Linville
parent 3706de6f58
commit 817e11de2d
3 changed files with 159 additions and 0 deletions

View File

@@ -598,6 +598,8 @@ static irqreturn_t ath_isr(int irq, void *dev)
}
} while (0);
ath_debug_stat_interrupt(sc, status);
if (sched) {
/* turn off every interrupt except SWBA */
ath9k_hw_set_interrupts(ah, (sc->sc_imask & ATH9K_INT_SWBA));