ath9k: Gather and report IRQ sync_cause errors.
authorBen Greear <greearb@candelatech.com>
Thu, 12 Apr 2012 17:04:00 +0000 (10:04 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Apr 2012 18:16:58 +0000 (14:16 -0400)
commit462e58f2b6f2f3ca113b44794f2c35ee8e792b93
treef4c4bfb31bb82ff192caeb870b46ff10e8decc11
parent24a0731e70fb007c989ae81dd72bc4fe99e27818
ath9k: Gather and report IRQ sync_cause errors.

Report all defined sync_cause errors in debugfs
to aid with debugging.

Use a macro to print out the interrupts file contents
to decrease code duplication.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9002_mac.c
drivers/net/wireless/ath/ath9k/ar9003_mac.c
drivers/net/wireless/ath/ath9k/debug.c
drivers/net/wireless/ath/ath9k/debug.h
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h