diff options
author | Eliad Peller <eliad@wizery.com> | 2014-01-09 13:12:54 +0200 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-02-13 13:45:11 +0200 |
commit | f3c221f6ea17f4fea250ac17c7f27ecb71e62465 (patch) | |
tree | 1ca1af4508bcc14d79ad807dfba5a4016347cab9 /drivers/net/wireless/iwlwifi/mvm/debugfs-vif.c | |
parent | 63f7535d6eb80a465d353c414d14560367c34fb2 (diff) | |
download | lwn-f3c221f6ea17f4fea250ac17c7f27ecb71e62465.tar.gz lwn-f3c221f6ea17f4fea250ac17c7f27ecb71e62465.zip |
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 <eliadx.peller@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/debugfs-vif.c')
0 files changed, 0 insertions, 0 deletions