summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/b43/debugfs.h
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2008-06-19 19:33:51 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-06-26 16:49:18 -0400
commit6bbc321a96d4d3533eb136b981baba6c8248d635 (patch)
tree6458968538ebe0c1cf3f65adab9fd9b0ea4e3439 /drivers/net/wireless/b43/debugfs.h
parent8bd463f4f913db12a1b7374f84304631289a1e0b (diff)
downloadlwn-6bbc321a96d4d3533eb136b981baba6c8248d635.tar.gz
lwn-6bbc321a96d4d3533eb136b981baba6c8248d635.zip
b43: Add debugfs files for random SHM access
This adds debugfs files for random SHM access. This is needed in order to implement firmware and driver debugging scripts in userspace. 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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/debugfs.h b/drivers/net/wireless/b43/debugfs.h
index d6848696cee0..f06f7bc1edce 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_shm16read;
+ struct b43_dfs_file file_shm16write;
+ struct b43_dfs_file file_shm32read;
+ struct b43_dfs_file file_shm32write;
struct b43_dfs_file file_mmio16read;
struct b43_dfs_file file_mmio16write;
struct b43_dfs_file file_mmio32read;
@@ -55,6 +59,13 @@ struct b43_dfsentry {
/* The cached address for the next mmio32read file read */
u16 mmio32read_next;
+ /* The cached address for the next shm16read file read */
+ u32 shm16read_routing_next;
+ u32 shm16read_addr_next;
+ /* The cached address for the next shm32read file read */
+ u32 shm32read_routing_next;
+ u32 shm32read_addr_next;
+
/* Enabled/Disabled list for the dynamic debugging features. */
u32 dyn_debug[__B43_NR_DYNDBG];
/* Dentries for the dynamic debugging entries. */