From: Falk-Moritz Schaefer Date: Wed, 14 Jul 2010 07:59:34 +0200 Subject: [ath9k-devel] ath9k_htc: how to read registers? In-Reply-To: <000301cb2265$59d7fe80$0d87fb80$@schaefer@tu-dortmund.de> References: <000301cb2265$59d7fe80$0d87fb80$@schaefer@tu-dortmund.de> Message-ID: <000001cb2319$bf590d30$3e0b2790$@schaefer@tu-dortmund.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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