From 3045fedc4a07512a37e38c574d05c8b63ba48a0f Mon Sep 17 00:00:00 2001 From: Mohammed Shafi Shajakhan Date: Fri, 30 Sep 2011 12:17:28 +0530 Subject: [PATCH] --- yaml --- r: 266639 b: refs/heads/master c: 28d8c1df03502918bcafed38a0ccdca090b3a38b h: refs/heads/master i: 266637: f531e60b98081eef7b6df7aea48a95756f646d5b 266635: 19ed62d14c4ec0b85521d530a2dbf6ebdae10cc4 266631: 0a3fe7a736291af1396b67b8be404b7ba78a0901 266623: ec94e2ffc6606919a2e439ee7f36d1cb8105f884 v: v3 --- [refs] | 2 +- trunk/drivers/net/wireless/ath/ath9k/eeprom.h | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index e131478e5ff5..18e241f8a9c3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 44b815c6b063ddadacc062a28a3e3facc8486f31 +refs/heads/master: 28d8c1df03502918bcafed38a0ccdca090b3a38b diff --git a/trunk/drivers/net/wireless/ath/ath9k/eeprom.h b/trunk/drivers/net/wireless/ath/ath9k/eeprom.h index a3c7d0c247a3..5d92f96980e6 100644 --- a/trunk/drivers/net/wireless/ath/ath9k/eeprom.h +++ b/trunk/drivers/net/wireless/ath/ath9k/eeprom.h @@ -104,16 +104,11 @@ #define OLC_FOR_AR9287_10_LATER (AR_SREV_9287_11_OR_LATER(ah) && \ ah->eep_ops->get_eeprom(ah, EEP_OL_PWRCTRL)) -#define AR_EEPROM_RFSILENT_GPIO_SEL 0x001c -#define AR_EEPROM_RFSILENT_GPIO_SEL_S 2 -#define AR_EEPROM_RFSILENT_POLARITY 0x0002 -#define AR_EEPROM_RFSILENT_POLARITY_S 1 - #define EEP_RFSILENT_ENABLED 0x0001 #define EEP_RFSILENT_ENABLED_S 0 #define EEP_RFSILENT_POLARITY 0x0002 #define EEP_RFSILENT_POLARITY_S 1 -#define EEP_RFSILENT_GPIO_SEL 0x001c +#define EEP_RFSILENT_GPIO_SEL (AR_SREV_9480(ah) ? 0x00fc : 0x001c) #define EEP_RFSILENT_GPIO_SEL_S 2 #define AR5416_OPFLAGS_11A 0x01