diff options
author | Sergey Ryazanov <ryazanov.s.a@gmail.com> | 2014-10-28 19:18:49 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-11-24 01:45:29 -0500 |
commit | 164a974889c03cbc6559923b8c1da8762904c560 (patch) | |
tree | f4f4fc005139e2b8c0b271fd5e87bd128674c454 /drivers/net/wireless/ath/ath5k/Kconfig | |
parent | 0e5d3ab532dd6bd43406d91b1dacb391973f831f (diff) |
ath5k: update dependencies
- Use config symbol defined in the driver instead of arch specific one for
conditional compilation.
- Rename the ATHEROS_AR231X config symbol to ATH25.
- Fix include (ar231x_platform.h -> ath25_platform.h).
- Some of AR231x SoCs (e.g. AR2315) have PCI bus support, so remove !PCI
dependency, which block AHB support build.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Acked-by: John W. Linville <linville@tuxdriver.com>
Cc: Jiri Slaby <jirislaby@gmail.com>
Cc: Nick Kossifidis <mickflemm@gmail.com>
Cc: "Luis R. Rodriguez" <mcgrof@do-not-panic.com>
Cc: linux-wireless@vger.kernel.org
Cc: ath5k-devel@lists.ath5k.org
Cc: Linux MIPS <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/8248/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/Kconfig')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/Kconfig | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/ath5k/Kconfig b/drivers/net/wireless/ath/ath5k/Kconfig index c9f81a388f15..2399a3921762 100644 --- a/drivers/net/wireless/ath/ath5k/Kconfig +++ b/drivers/net/wireless/ath/ath5k/Kconfig | |||
@@ -1,13 +1,13 @@ | |||
1 | config ATH5K | 1 | config ATH5K |
2 | tristate "Atheros 5xxx wireless cards support" | 2 | tristate "Atheros 5xxx wireless cards support" |
3 | depends on (PCI || ATHEROS_AR231X) && MAC80211 | 3 | depends on (PCI || ATH25) && MAC80211 |
4 | select ATH_COMMON | 4 | select ATH_COMMON |
5 | select MAC80211_LEDS | 5 | select MAC80211_LEDS |
6 | select LEDS_CLASS | 6 | select LEDS_CLASS |
7 | select NEW_LEDS | 7 | select NEW_LEDS |
8 | select AVERAGE | 8 | select AVERAGE |
9 | select ATH5K_AHB if (ATHEROS_AR231X && !PCI) | 9 | select ATH5K_AHB if ATH25 |
10 | select ATH5K_PCI if (!ATHEROS_AR231X && PCI) | 10 | select ATH5K_PCI if !ATH25 |
11 | ---help--- | 11 | ---help--- |
12 | This module adds support for wireless adapters based on | 12 | This module adds support for wireless adapters based on |
13 | Atheros 5xxx chipset. | 13 | Atheros 5xxx chipset. |
@@ -54,14 +54,14 @@ config ATH5K_TRACER | |||
54 | 54 | ||
55 | config ATH5K_AHB | 55 | config ATH5K_AHB |
56 | bool "Atheros 5xxx AHB bus support" | 56 | bool "Atheros 5xxx AHB bus support" |
57 | depends on (ATHEROS_AR231X && !PCI) | 57 | depends on ATH25 |
58 | ---help--- | 58 | ---help--- |
59 | This adds support for WiSoC type chipsets of the 5xxx Atheros | 59 | This adds support for WiSoC type chipsets of the 5xxx Atheros |
60 | family. | 60 | family. |
61 | 61 | ||
62 | config ATH5K_PCI | 62 | config ATH5K_PCI |
63 | bool "Atheros 5xxx PCI bus support" | 63 | bool "Atheros 5xxx PCI bus support" |
64 | depends on (!ATHEROS_AR231X && PCI) | 64 | depends on (!ATH25 && PCI) |
65 | ---help--- | 65 | ---help--- |
66 | This adds support for PCI type chipsets of the 5xxx Atheros | 66 | This adds support for PCI type chipsets of the 5xxx Atheros |
67 | family. | 67 | family. |