diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2010-06-12 00:33:39 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-14 15:39:29 -0400 |
commit | 7337725609d5b9ef053011d32727cbe7e8b33563 (patch) | |
tree | 69b61ead8d15f3e0029ab32fec93f6171527bfee /drivers/net | |
parent | 4efc76bdbf9bfd2b8624c4dd52b9d8ffed176b31 (diff) |
ath9k_hw: move clock definitions from hw.c to hw.h
These will be used by the ANI code next.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 5 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 2adc7e78cebf..5f46861fd100 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c | |||
@@ -23,11 +23,6 @@ | |||
23 | #include "rc.h" | 23 | #include "rc.h" |
24 | #include "ar9003_mac.h" | 24 | #include "ar9003_mac.h" |
25 | 25 | ||
26 | #define ATH9K_CLOCK_RATE_CCK 22 | ||
27 | #define ATH9K_CLOCK_RATE_5GHZ_OFDM 40 | ||
28 | #define ATH9K_CLOCK_RATE_2GHZ_OFDM 44 | ||
29 | #define ATH9K_CLOCK_FAST_RATE_5GHZ_OFDM 44 | ||
30 | |||
31 | static bool ath9k_hw_set_reset_reg(struct ath_hw *ah, u32 type); | 26 | static bool ath9k_hw_set_reset_reg(struct ath_hw *ah, u32 type); |
32 | 27 | ||
33 | MODULE_AUTHOR("Atheros Communications"); | 28 | MODULE_AUTHOR("Atheros Communications"); |
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index 88bf2fca3736..3a28cdc19484 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h | |||
@@ -938,4 +938,9 @@ void ar9003_hw_attach_ops(struct ath_hw *ah); | |||
938 | #define ATH_PCIE_CAP_LINK_L0S 1 | 938 | #define ATH_PCIE_CAP_LINK_L0S 1 |
939 | #define ATH_PCIE_CAP_LINK_L1 2 | 939 | #define ATH_PCIE_CAP_LINK_L1 2 |
940 | 940 | ||
941 | #define ATH9K_CLOCK_RATE_CCK 22 | ||
942 | #define ATH9K_CLOCK_RATE_5GHZ_OFDM 40 | ||
943 | #define ATH9K_CLOCK_RATE_2GHZ_OFDM 44 | ||
944 | #define ATH9K_CLOCK_FAST_RATE_5GHZ_OFDM 44 | ||
945 | |||
941 | #endif | 946 | #endif |