summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/b43/debugfs.h
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2008-06-18 22:35:49 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2008-06-26 20:49:18 (GMT)
commit8bd463f4f913db12a1b7374f84304631289a1e0b (patch)
tree4153e7dd42d6e2aeb9cbe4ff59eb5f7bf0572de6 /drivers/net/wireless/b43/debugfs.h
parent5a9f7b047e81a73a1ce3e42ef87c28a61fd4df24 (diff)
downloadlinux-8bd463f4f913db12a1b7374f84304631289a1e0b.tar.xz
b43: Add debugfs files for MMIO register access
This adds debugfs files for reading and writing arbitrary wireless core registers. This is useful for debugging. Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/debugfs.h')
-rw-r--r--drivers/net/wireless/b43/debugfs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/debugfs.h b/drivers/net/wireless/b43/debugfs.h
index c75cff4..d684869 100644
--- a/drivers/net/wireless/b43/debugfs.h
+++ b/drivers/net/wireless/b43/debugfs.h
@@ -36,6 +36,10 @@ struct b43_dfsentry {
struct b43_wldev *dev;
struct dentry *subdir;
+ struct b43_dfs_file file_mmio16read;
+ struct b43_dfs_file file_mmio16write;
+ struct b43_dfs_file file_mmio32read;
+ struct b43_dfs_file file_mmio32write;
struct b43_dfs_file file_tsf;
struct b43_dfs_file file_ucode_regs;
struct b43_dfs_file file_shm;
@@ -46,6 +50,11 @@ struct b43_dfsentry {
struct b43_txstatus_log txstatlog;
+ /* The cached address for the next mmio16read file read */
+ u16 mmio16read_next;
+ /* The cached address for the next mmio32read file read */
+ u16 mmio32read_next;
+
/* Enabled/Disabled list for the dynamic debugging features. */
u32 dyn_debug[__B43_NR_DYNDBG];
/* Dentries for the dynamic debugging entries. */