diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-09-17 16:02:56 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-09-17 16:02:56 +0000 |
commit | fe5a932a01c475afa718c83a17187a7e420f4057 (patch) | |
tree | e78735e10fd19a35d9a6966e23fcc6cf20eaff9c /package/mac80211/patches/583-ath9k_remove_eep_reg_1.patch | |
parent | e8135790c4e82c08cf18a9802ce2552588c2f51a (diff) |
ath9k: add some cleanup patches and rework tx power handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28253 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/583-ath9k_remove_eep_reg_1.patch')
-rw-r--r-- | package/mac80211/patches/583-ath9k_remove_eep_reg_1.patch | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/package/mac80211/patches/583-ath9k_remove_eep_reg_1.patch b/package/mac80211/patches/583-ath9k_remove_eep_reg_1.patch new file mode 100644 index 000000000..feaa30d93 --- /dev/null +++ b/package/mac80211/patches/583-ath9k_remove_eep_reg_1.patch @@ -0,0 +1,54 @@ +--- a/drivers/net/wireless/ath/ath9k/eeprom_def.c ++++ b/drivers/net/wireless/ath/ath9k/eeprom_def.c +@@ -415,8 +415,6 @@ static u32 ath9k_hw_def_get_eeprom(struc + return get_unaligned_be16(pBase->macAddr + 4); + case EEP_REG_0: + return pBase->regDmn[0]; +- case EEP_REG_1: +- return pBase->regDmn[1]; + case EEP_OP_CAP: + return pBase->deviceCap; + case EEP_OP_MODE: +--- a/drivers/net/wireless/ath/ath9k/eeprom_4k.c ++++ b/drivers/net/wireless/ath/ath9k/eeprom_4k.c +@@ -322,8 +322,6 @@ static u32 ath9k_hw_4k_get_eeprom(struct + return get_unaligned_be16(pBase->macAddr + 4); + case EEP_REG_0: + return pBase->regDmn[0]; +- case EEP_REG_1: +- return pBase->regDmn[1]; + case EEP_OP_CAP: + return pBase->deviceCap; + case EEP_OP_MODE: +--- a/drivers/net/wireless/ath/ath9k/eeprom_9287.c ++++ b/drivers/net/wireless/ath/ath9k/eeprom_9287.c +@@ -308,8 +308,6 @@ static u32 ath9k_hw_ar9287_get_eeprom(st + return get_unaligned_be16(pBase->macAddr + 4); + case EEP_REG_0: + return pBase->regDmn[0]; +- case EEP_REG_1: +- return pBase->regDmn[1]; + case EEP_OP_CAP: + return pBase->deviceCap; + case EEP_OP_MODE: +--- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c ++++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c +@@ -3014,8 +3014,6 @@ static u32 ath9k_hw_ar9300_get_eeprom(st + return get_unaligned_be16(eep->macAddr + 4); + case EEP_REG_0: + return le16_to_cpu(pBase->regDmn[0]); +- case EEP_REG_1: +- return le16_to_cpu(pBase->regDmn[1]); + case EEP_OP_CAP: + return pBase->deviceCap; + case EEP_OP_MODE: +--- a/drivers/net/wireless/ath/ath9k/eeprom.h ++++ b/drivers/net/wireless/ath/ath9k/eeprom.h +@@ -225,7 +225,6 @@ enum eeprom_param { + EEP_MAC_MID, + EEP_MAC_LSW, + EEP_REG_0, +- EEP_REG_1, + EEP_OP_CAP, + EEP_OP_MODE, + EEP_RF_SILENT, |