On 12/10/2007 10:27 AM, Bruno Randolf wrote: > 'registers' prints the name and value of some registers. this should be adapted > to what we actually need later and is supposed to replace the hwdump facility i > removed in my earlier debugging changes. > > 'tsf' prints the current HW TSF. writing "reset" into the file will reset the > TSF. > > 'beacon' shows beacon relevant registers. it is good for watching the beacon > timers with something like "watch -n0 cat /dbg/ath5k/phy0/beacon". writing > "enable" into the file will try to enable beacons by setting the flag > AR5K_BEACON_ENABLE, "disable" will disable that bit. > > 'reset' can be used to trigger a HW reset, by writing "reset" into it. > > Changes-licensed-under: GPL > > Signed-off-by: Bruno Randolf <bruno@xxxxxxxxxxxxx> > Acked-by: Luis R. Rodriguez <mgrof@xxxxxxxxxxxxxxxxxx> Acked-by: Jiri Slaby <jirislaby@xxxxxxxxx> > --- > drivers/net/wireless/ath5k/debug.c | 269 ++++++++++++++++++++++++++++++++++++ > drivers/net/wireless/ath5k/debug.h | 4 + > 2 files changed, 273 insertions(+), 0 deletions(-) - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html