diff options
author | Michael Buesch <mb@bu3sch.de> | 2008-06-19 21:33:51 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-06-27 00:49:18 +0400 |
commit | 6bbc321a96d4d3533eb136b981baba6c8248d635 (patch) | |
tree | 6458968538ebe0c1cf3f65adab9fd9b0ea4e3439 /drivers/net/wireless/b43/debugfs.h | |
parent | 8bd463f4f913db12a1b7374f84304631289a1e0b (diff) | |
download | linux-6bbc321a96d4d3533eb136b981baba6c8248d635.tar.xz |
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.h | 11 |
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. */ |