* [ath9k-devel] ath9k_htc: how to read registers?
@ 2010-07-13 8:28 Falk-Moritz Schaefer
2010-07-14 5:59 ` Falk-Moritz Schaefer
0 siblings, 1 reply; 3+ messages in thread
From: Falk-Moritz Schaefer @ 2010-07-13 8:28 UTC (permalink / raw)
To: ath9k-devel
Hi all,
I have a TL-WN721N USB device with AR9271 chipset. I would like to read
registers. There is the "ath9k_regread" function in "htc_drv_init.c", but
how to use it?
I am especially interested in the AR_RCCNT register.
BR
Falk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100713/c4d06dec/attachment.htm
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ath9k-devel] ath9k_htc: how to read registers?
2010-07-13 8:28 [ath9k-devel] ath9k_htc: how to read registers? Falk-Moritz Schaefer
@ 2010-07-14 5:59 ` Falk-Moritz Schaefer
2010-07-14 6:25 ` Sujith
0 siblings, 1 reply; 3+ messages in thread
From: Falk-Moritz Schaefer @ 2010-07-14 5:59 UTC (permalink / raw)
To: ath9k-devel
The REG_READ macro works fine, but I used it in Rx/Tx routines. This seems
to be a bad point of time, because it results in a crash.
Btw: is there any way to determine if a REG_READ is possible or not?
Von: ath9k-devel-bounces at venema.h4ckr.net
[mailto:ath9k-devel-bounces at venema.h4ckr.net] Im Auftrag von Falk-Moritz
Schaefer
Gesendet: Dienstag, 13. Juli 2010 10:28
An: ath9k-devel at venema.h4ckr.net
Betreff: [ath9k-devel] ath9k_htc: how to read registers?
Hi all,
I have a TL-WN721N USB device with AR9271 chipset. I would like to read
registers. There is the "ath9k_regread" function in "htc_drv_init.c", but
how to use it?
I am especially interested in the AR_RCCNT register.
BR
Falk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100714/32608c49/attachment.htm
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ath9k-devel] ath9k_htc: how to read registers?
2010-07-14 5:59 ` Falk-Moritz Schaefer
@ 2010-07-14 6:25 ` Sujith
0 siblings, 0 replies; 3+ messages in thread
From: Sujith @ 2010-07-14 6:25 UTC (permalink / raw)
To: ath9k-devel
Falk-Moritz Schaefer wrote:
> The REG_READ macro works fine, but I used it in Rx/Tx routines. This seems to be a bad point of time, because it results in a crash.
>
> Btw: is there any way to determine if a REG_READ is possible or not?
>
> Von: ath9k-devel-bounces at venema.h4ckr.net [mailto:ath9k-devel-bounces at venema.h4ckr.net] Im Auftrag von Falk-Moritz Schaefer
> Gesendet: Dienstag, 13. Juli 2010 10:28
> An: ath9k-devel at venema.h4ckr.net
> Betreff: [ath9k-devel] ath9k_htc: how to read registers?
>
> Hi all,
>
> I have a TL-WN721N USB device with AR9271 chipset. I would like to read registers. There is the ?ath9k_regread? function in ?htc_drv_init.c?, but how to use
> it?
>
> I am especially interested in the AR_RCCNT register.
Take a look at debug.c, read_file_regval().
You can port the "debug" debugfs file implementation from ath9k
to ath9k_htc.
Sujith
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-07-14 6:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-13 8:28 [ath9k-devel] ath9k_htc: how to read registers? Falk-Moritz Schaefer
2010-07-14 5:59 ` Falk-Moritz Schaefer
2010-07-14 6:25 ` Sujith
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.