Re: [ath5k-devel] [PATCH] ath5k/ath9k: Fix 64 bits TSF reads

2010-04-17 Thread Benoit PAPILLAULT
Pavel Roskin a écrit : On Fri, 2010-04-16 at 00:07 +0200, Benoit Papillault wrote: It follows the logic mentionned by Derek, with only 2 register reads needed at each additional steps instead of 3 (the minimum number of register reads is still 3). I would prefer an approach

Re: [ath5k-devel] [PATCH] ath5k/ath9k: Fix 64 bits TSF reads

2010-04-17 Thread Pavel Roskin
Quoting Benoit PAPILLAULT benoit.papilla...@free.fr: You are considering rollover here, but the TSF can make big jumps as well (in case of IBSS merges). This later case can only be handled by the above code, to my knowledge. I am seeking consistency first and optimization next, not the