diff options
author | David Vrabel <david.vrabel@csr.com> | 2008-11-26 08:36:59 -0500 |
---|---|---|
committer | David Vrabel <david.vrabel@csr.com> | 2008-11-26 08:36:59 -0500 |
commit | dcc7461eef7341e84e2f7274f904ce01a43b2506 (patch) | |
tree | 25afd640b7ed7fc1efc29fd0075f0d399af93e84 /include/linux/uwb.h | |
parent | e4b49580f70380a4216ff8220c8f48a95e21c238 (diff) |
wusb: add debug files for ASL, PZL and DI to the whci-hcd driver
Add asl, pzl and di debugfs files to uwb/uwbN/wusbhc for WHCI host
controller. These dump the current ASL, PZL and DI buffer.
Signed-off-by: David Vrabel <david.vrabel@csr.com>
Diffstat (limited to 'include/linux/uwb.h')
-rw-r--r-- | include/linux/uwb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/uwb.h b/include/linux/uwb.h index 1719709d60ca..d7ed5201ade6 100644 --- a/include/linux/uwb.h +++ b/include/linux/uwb.h | |||
@@ -394,6 +394,8 @@ struct uwb_rc { | |||
394 | * @channel: channel being used by the PAL; 0 if the PAL isn't using | 394 | * @channel: channel being used by the PAL; 0 if the PAL isn't using |
395 | * the radio; -1 if the PAL wishes to use the radio but | 395 | * the radio; -1 if the PAL wishes to use the radio but |
396 | * cannot. | 396 | * cannot. |
397 | * @debugfs_dir: a debugfs directory which the PAL can use for its own | ||
398 | * debugfs files. | ||
397 | * | 399 | * |
398 | * A Protocol Adaptation Layer (PAL) is a user of the WiMedia UWB | 400 | * A Protocol Adaptation Layer (PAL) is a user of the WiMedia UWB |
399 | * radio platform (e.g., WUSB, WLP or Bluetooth UWB AMP). | 401 | * radio platform (e.g., WUSB, WLP or Bluetooth UWB AMP). |
@@ -418,6 +420,7 @@ struct uwb_pal { | |||
418 | void (*new_rsv)(struct uwb_pal *pal, struct uwb_rsv *rsv); | 420 | void (*new_rsv)(struct uwb_pal *pal, struct uwb_rsv *rsv); |
419 | 421 | ||
420 | int channel; | 422 | int channel; |
423 | struct dentry *debugfs_dir; | ||
421 | }; | 424 | }; |
422 | 425 | ||
423 | void uwb_pal_init(struct uwb_pal *pal); | 426 | void uwb_pal_init(struct uwb_pal *pal); |