Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ath9k: fix few register offsets for AR9330

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

authored by

Gabor Juhos and committed by
John W. Linville
dfc3a7b6 c4cf2c58

+2 -2
+2 -2
drivers/net/wireless/ath/ath9k/ar9003_phy.h
··· 625 625 #define AR_PHY_65NM_CH2_RXTX1 0x16900 626 626 #define AR_PHY_65NM_CH2_RXTX2 0x16904 627 627 628 - #define AR_CH0_TOP2 (AR_SREV_9485(ah) ? 0x00016284 : 0x0001628c) 628 + #define AR_CH0_TOP2 (AR_SREV_9300(ah) ? 0x1628c : 0x16284) 629 629 #define AR_CH0_TOP2_XPABIASLVL 0xf000 630 630 #define AR_CH0_TOP2_XPABIASLVL_S 12 631 631 632 - #define AR_CH0_XTAL (AR_SREV_9485(ah) ? 0x16290 : 0x16294) 632 + #define AR_CH0_XTAL (AR_SREV_9300(ah) ? 0x16294 : 0x16290) 633 633 #define AR_CH0_XTAL_CAPINDAC 0x7f000000 634 634 #define AR_CH0_XTAL_CAPINDAC_S 24 635 635 #define AR_CH0_XTAL_CAPOUTDAC 0x00fe0000