diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-09-23 23:07:00 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-07 16:39:41 -0400 |
commit | 7322fd19295fa7f7d954a19a5f0b77687d441846 (patch) | |
tree | b01daf52514d90ea2941a148059afd97696b614e /drivers/net/wireless/ath/ath9k/calib.c | |
parent | 475a6e4d3907d6af412d081a9eab3b1e8a24afd1 (diff) |
ath9k: move hw code to its own module
hw code for Atheros 802.11n hardware is commmon between
different chipsets. This moves this code into a separate
module, the next expected user of this code will be
the ath9k_htc module.
The ath9k/ dir is now selected by ATH9K_HW, an option which
gets selected by either ath9k or ath9k_htc, but remains
invisible for user menuconfig configuration. If either
ath9k or ath9k_htc will be compiled into the kernel
ath9k_hw will also be compiled in.
Cc: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/calib.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/calib.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/calib.c b/drivers/net/wireless/ath/ath9k/calib.c index d347ea79e778..f46bd05df443 100644 --- a/drivers/net/wireless/ath/ath9k/calib.c +++ b/drivers/net/wireless/ath/ath9k/calib.c | |||
@@ -594,6 +594,7 @@ bool ath9k_hw_reset_calvalid(struct ath_hw *ah) | |||
594 | 594 | ||
595 | return false; | 595 | return false; |
596 | } | 596 | } |
597 | EXPORT_SYMBOL(ath9k_hw_reset_calvalid); | ||
597 | 598 | ||
598 | void ath9k_hw_start_nfcal(struct ath_hw *ah) | 599 | void ath9k_hw_start_nfcal(struct ath_hw *ah) |
599 | { | 600 | { |
@@ -746,6 +747,7 @@ s16 ath9k_hw_getchan_noise(struct ath_hw *ah, struct ath9k_channel *chan) | |||
746 | 747 | ||
747 | return nf; | 748 | return nf; |
748 | } | 749 | } |
750 | EXPORT_SYMBOL(ath9k_hw_getchan_noise); | ||
749 | 751 | ||
750 | static void ath9k_olc_temp_compensation_9287(struct ath_hw *ah) | 752 | static void ath9k_olc_temp_compensation_9287(struct ath_hw *ah) |
751 | { | 753 | { |
@@ -1066,6 +1068,7 @@ bool ath9k_hw_calibrate(struct ath_hw *ah, struct ath9k_channel *chan, | |||
1066 | 1068 | ||
1067 | return iscaldone; | 1069 | return iscaldone; |
1068 | } | 1070 | } |
1071 | EXPORT_SYMBOL(ath9k_hw_calibrate); | ||
1069 | 1072 | ||
1070 | static bool ar9285_clc(struct ath_hw *ah, struct ath9k_channel *chan) | 1073 | static bool ar9285_clc(struct ath_hw *ah, struct ath9k_channel *chan) |
1071 | { | 1074 | { |