On Thu, Jul 24, 2008 at 5:35 PM, Nick Kossifidis <mickflemm@xxxxxxxxx> wrote: >>> - ath5k_hw_reg_write(ah, 0x0002a002, AR5K_PHY(11)); >>> + ath5k_hw_reg_write(ah, 0x0002a002, 0x982c); >> >> You are replacing macros with numbers in several places. Maybe you >> could introduce another macro? Or is it the case when you had >> interpretation of the registers, but now realize that it was wrong? >> > > Helps me with rev. engineering, i'll hopefully introduce a macro for > these registers soon... Probably stating the obvious, but ath9k demystifies some of these registers perhaps? I'm not sure how much the phy register location changes each revision, but the bit pattern looks like 0x982c could easily be AR_PHY_ADC_CTL... -- Bob Copeland %% www.bobcopeland.com -- 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