]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: Add debugfs interface to dump diagnostic registers from firmware
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Fri, 2 Sep 2011 07:40:06 +0000 (10:40 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 2 Sep 2011 07:44:21 +0000 (10:44 +0300)
commitd6bd71d589a17a9fa6f231260dd8293801d6fc22
treec90db056f20a8475336ac4fcf1c7d1d081f503bc
parentfbec764cc32ebb8f95a0af43929cad5bc65b81a7
ath6kl: Add debugfs interface to dump diagnostic registers from firmware

To dump a particular register:

    echo <reg_addr> > <debugfs_root>/ieee80211/phyX/ath6kl/reg_addr

To dump the entire register set:

    echo 0 > <debugfs_root>/ieee80211/phyX/ath6kl/reg_addr

Register values will be available at:

    cat <debugfs_root>/ieee80211/phyX/ath6kl/reg_dump

kvalo: commit log cleanup, renamed few functions, removed a warning
message

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/core.h
drivers/net/wireless/ath/ath6kl/debug.c