From: Eliad Peller Date: Thu, 9 Jan 2014 11:12:54 +0000 (+0200) Subject: iwlwifi: mvm: add debugfs for prph reg read/write X-Git-Tag: v3.15-rc1~113^2~159^2^2~129^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3c221f6ea17f4fea250ac17c7f27ecb71e62465;p=pandora-kernel.git iwlwifi: mvm: add debugfs for prph reg read/write Allow reading/writing prph registers. The address is set in the first argument of the write operation. second argument is optional and can be used for writing. e.g. echo '0xA01234 0x99' > /sys/kernel/debug/ieee80211/phy0/iwlwifi/iwlmvm/prph_reg will write 0x99 into reg 0xA01234 cat /sys/kernel/debug/ieee80211/phy0/iwlwifi/iwlmvm/prph_reg will show its current value (probably 0x99) Signed-off-by: Eliad Peller Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed