There are 2 different things: - sub-menu for "Atheros Wireless cards" family - module ath.ko with common Atheros code Until now, they both used to depend on the same Kconfig variable ATH_COMMON. Thus, being "Atheros card" and "depending on ath.ko" was the same. To allow module to belong to the "Atheros Wireless cards" family but not use ath.ko, 2 conditions above need to be separated. So, this patch introduce new Kconfig variable ATH_CARDS for belonging to the "Atheros Wireless Cards" family; while ATH_COMMON becomes hidden variable to express dependency on common Atheros code in ath.ko. Modules that depend on this common code now express it by setting ATH_COMMON. Right now, ath6kl do not depend on common code and thus do not set ATH_COMMON. Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
34 lines
1,023 B
Text
34 lines
1,023 B
Text
config ATH_COMMON
|
|
tristate
|
|
|
|
menuconfig ATH_CARDS
|
|
tristate "Atheros Wireless Cards"
|
|
depends on CFG80211 && (!UML || BROKEN)
|
|
---help---
|
|
This will enable the support for the Atheros wireless drivers.
|
|
ath5k, ath9k, ath9k_htc and ar9170 drivers share some common code, this option
|
|
enables the common ath.ko module which shares common helpers.
|
|
|
|
For more information and documentation on this module you can visit:
|
|
|
|
http://wireless.kernel.org/en/users/Drivers/ath
|
|
|
|
For information on all Atheros wireless drivers visit:
|
|
|
|
http://wireless.kernel.org/en/users/Drivers/Atheros
|
|
|
|
if ATH_CARDS
|
|
|
|
config ATH_DEBUG
|
|
bool "Atheros wireless debugging"
|
|
---help---
|
|
Say Y, if you want to debug atheros wireless drivers.
|
|
Right now only ath9k makes use of this.
|
|
|
|
source "drivers/net/wireless/ath/ath5k/Kconfig"
|
|
source "drivers/net/wireless/ath/ath9k/Kconfig"
|
|
source "drivers/net/wireless/ath/carl9170/Kconfig"
|
|
source "drivers/net/wireless/ath/ath6kl/Kconfig"
|
|
source "drivers/net/wireless/ath/ar5523/Kconfig"
|
|
|
|
endif
|