2009-08-07 04:15:20

by Sujith

[permalink] [raw]
Subject: [PATCH 11/12] ath9k: Change DEBUG level for certain interrupts

Occurrence of AR_ISR_RXORN, AR_INTR_SYNC_RADM_CPL_TIMEOUT
and AR_INTR_SYNC_LOCAL_TIMEOUT should be visible.

Signed-off-by: Sujith <[email protected]>
---
drivers/net/wireless/ath/ath9k/hw.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index 6514dc7..0e83e98 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -3182,7 +3182,7 @@ bool ath9k_hw_getisr(struct ath_hw *ah, enum ath9k_int *masked)
}

if (isr & AR_ISR_RXORN) {
- DPRINTF(ah->ah_sc, ATH_DBG_INTERRUPT,
+ DPRINTF(ah->ah_sc, ATH_DBG_ANY,
"receive FIFO overrun interrupt\n");
}

@@ -3218,14 +3218,14 @@ bool ath9k_hw_getisr(struct ath_hw *ah, enum ath9k_int *masked)
*masked |= ATH9K_INT_FATAL;
}
if (sync_cause & AR_INTR_SYNC_RADM_CPL_TIMEOUT) {
- DPRINTF(ah->ah_sc, ATH_DBG_INTERRUPT,
+ DPRINTF(ah->ah_sc, ATH_DBG_ANY,
"AR_INTR_SYNC_RADM_CPL_TIMEOUT\n");
REG_WRITE(ah, AR_RC, AR_RC_HOSTIF);
REG_WRITE(ah, AR_RC, 0);
*masked |= ATH9K_INT_FATAL;
}
if (sync_cause & AR_INTR_SYNC_LOCAL_TIMEOUT) {
- DPRINTF(ah->ah_sc, ATH_DBG_INTERRUPT,
+ DPRINTF(ah->ah_sc, ATH_DBG_ANY,
"AR_INTR_SYNC_LOCAL_TIMEOUT\n");
}

--
1.6.4