ath6kl: Add debugfs support to write a chip register
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Mon, 5 Sep 2011 08:19:46 +0000 (11:19 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 5 Sep 2011 08:21:49 +0000 (11:21 +0300)
commit252c068b9fba57493940af344b6d92ee3c278941
tree331b31cf01bc97e5ce3cf45fc9673242c1d9e31c
parentf9ea0753a18448a5e92369317b6ac061fe1275bf
ath6kl: Add debugfs support to write a chip register

To write a value to register:
echo <register_offset>=<register_value> > <degfs_root>/ieee80211/phyX/ath6kl/reg_write

kvalo: rename file to reg_write to follow the style of other debugfs files

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