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>
This commit is contained in:

committed by
John W. Linville

父節點
8bd463f4f9
當前提交
6bbc321a96
@@ -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. */
|
||||
|
Reference in New Issue
Block a user