diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-07-11 15:19:43 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-07-11 15:19:43 +0000 |
commit | 58232503a9e4428717ecf84e72c1ff8ce07bdf11 (patch) | |
tree | a0fa6e93a270a0a73579a846cc6e3d3595f7ec81 /package/mac80211/patches | |
parent | 6a46e157207606df0146722696d49c82ed76f41e (diff) | |
download | upstream-58232503a9e4428717ecf84e72c1ff8ce07bdf11.tar.gz upstream-58232503a9e4428717ecf84e72c1ff8ce07bdf11.tar.bz2 upstream-58232503a9e4428717ecf84e72c1ff8ce07bdf11.zip |
ath9k: remove support for hardware which was never sold. reduces binary size by ~30k
SVN-Revision: 22134
Diffstat (limited to 'package/mac80211/patches')
-rw-r--r-- | package/mac80211/patches/530-ath9k_remove_old_hw_support.patch | 5044 |
1 files changed, 5044 insertions, 0 deletions
diff --git a/package/mac80211/patches/530-ath9k_remove_old_hw_support.patch b/package/mac80211/patches/530-ath9k_remove_old_hw_support.patch new file mode 100644 index 0000000000..0635b16c6a --- /dev/null +++ b/package/mac80211/patches/530-ath9k_remove_old_hw_support.patch @@ -0,0 +1,5044 @@ +--- a/drivers/net/wireless/ath/ath9k/ar9002_hw.c ++++ b/drivers/net/wireless/ath/ath9k/ar9002_hw.c +@@ -85,21 +85,6 @@ static void ar9002_hw_init_mode_regs(str + ar9287PciePhy_clkreq_always_on_L1_9287_1_1, + ARRAY_SIZE(ar9287PciePhy_clkreq_always_on_L1_9287_1_1), + 2); +- } else if (AR_SREV_9287_10_OR_LATER(ah)) { +- INIT_INI_ARRAY(&ah->iniModes, ar9287Modes_9287_1_0, +- ARRAY_SIZE(ar9287Modes_9287_1_0), 6); +- INIT_INI_ARRAY(&ah->iniCommon, ar9287Common_9287_1_0, +- ARRAY_SIZE(ar9287Common_9287_1_0), 2); +- +- if (ah->config.pcie_clock_req) +- INIT_INI_ARRAY(&ah->iniPcieSerdes, +- ar9287PciePhy_clkreq_off_L1_9287_1_0, +- ARRAY_SIZE(ar9287PciePhy_clkreq_off_L1_9287_1_0), 2); +- else +- INIT_INI_ARRAY(&ah->iniPcieSerdes, +- ar9287PciePhy_clkreq_always_on_L1_9287_1_0, +- ARRAY_SIZE(ar9287PciePhy_clkreq_always_on_L1_9287_1_0), +- 2); + } else if (AR_SREV_9285_12_OR_LATER(ah)) { + + +@@ -118,21 +103,6 @@ static void ar9002_hw_init_mode_regs(str + ARRAY_SIZE(ar9285PciePhy_clkreq_always_on_L1_9285_1_2), + 2); + } +- } else if (AR_SREV_9285_10_OR_LATER(ah)) { +- INIT_INI_ARRAY(&ah->iniModes, ar9285Modes_9285, +- ARRAY_SIZE(ar9285Modes_9285), 6); +- INIT_INI_ARRAY(&ah->iniCommon, ar9285Common_9285, +- ARRAY_SIZE(ar9285Common_9285), 2); +- +- if (ah->config.pcie_clock_req) { +- INIT_INI_ARRAY(&ah->iniPcieSerdes, +- ar9285PciePhy_clkreq_off_L1_9285, +- ARRAY_SIZE(ar9285PciePhy_clkreq_off_L1_9285), 2); +- } else { +- INIT_INI_ARRAY(&ah->iniPcieSerdes, +- ar9285PciePhy_clkreq_always_on_L1_9285, +- ARRAY_SIZE(ar9285PciePhy_clkreq_always_on_L1_9285), 2); +- } + } else if (AR_SREV_9280_20_OR_LATER(ah)) { + INIT_INI_ARRAY(&ah->iniModes, ar9280Modes_9280_2, + ARRAY_SIZE(ar9280Modes_9280_2), 6); +@@ -151,11 +121,6 @@ static void ar9002_hw_init_mode_regs(str + INIT_INI_ARRAY(&ah->iniModesAdditional, + ar9280Modes_fast_clock_9280_2, + ARRAY_SIZE(ar9280Modes_fast_clock_9280_2), 3); +- } else if (AR_SREV_9280_10_OR_LATER(ah)) { +- INIT_INI_ARRAY(&ah->iniModes, ar9280Modes_9280, +- ARRAY_SIZE(ar9280Modes_9280), 6); +- INIT_INI_ARRAY(&ah->iniCommon, ar9280Common_9280, +- ARRAY_SIZE(ar9280Common_9280), 2); + } else if (AR_SREV_9160_10_OR_LATER(ah)) { + INIT_INI_ARRAY(&ah->iniModes, |