mediatek: unify Kconfig with other vendors
authorKalle Valo <kvalo@codeaurora.org>
Wed, 18 Nov 2015 08:23:52 +0000 (10:23 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 18 Nov 2015 12:28:31 +0000 (14:28 +0200)
Part of reorganising wireless drivers directory and Kconfig.

Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/Kconfig
drivers/net/wireless/Makefile
drivers/net/wireless/mediatek/Kconfig

index c58e244b5079509866cf169cdbd611a425bbda20..2225e06611facadeb65e347e1edf22a16401dfcc 100644 (file)
@@ -24,6 +24,7 @@ source "drivers/net/wireless/cisco/Kconfig"
 source "drivers/net/wireless/intel/Kconfig"
 source "drivers/net/wireless/intersil/Kconfig"
 source "drivers/net/wireless/marvell/Kconfig"
+source "drivers/net/wireless/mediatek/Kconfig"
 source "drivers/net/wireless/ralink/Kconfig"
 source "drivers/net/wireless/realtek/Kconfig"
 source "drivers/net/wireless/rsi/Kconfig"
@@ -98,7 +99,6 @@ config MAC80211_HWSIM
          called mac80211_hwsim.  If unsure, say N.
 
 source "drivers/net/wireless/ath/Kconfig"
-source "drivers/net/wireless/mediatek/Kconfig"
 source "drivers/net/wireless/ti/Kconfig"
 
 endif # WLAN
index 8ac72fd44d17cb6a760ddf4d80ca43e182d4fce7..0fa9090728469a5756cdba69a20afe3d6993c6f0 100644 (file)
@@ -9,6 +9,7 @@ obj-$(CONFIG_WLAN_VENDOR_CISCO) += cisco/
 obj-$(CONFIG_WLAN_VENDOR_INTEL) += intel/
 obj-$(CONFIG_WLAN_VENDOR_INTERSIL) += intersil/
 obj-$(CONFIG_WLAN_VENDOR_MARVELL) += marvell/
+obj-$(CONFIG_WLAN_VENDOR_MEDIATEK) += mediatek/
 obj-$(CONFIG_WLAN_VENDOR_RALINK) += ralink/
 obj-$(CONFIG_WLAN_VENDOR_REALTEK) += realtek/
 obj-$(CONFIG_WLAN_VENDOR_RSI) += rsi/
@@ -21,8 +22,6 @@ obj-$(CONFIG_PCMCIA_WL3501)   += wl3501_cs.o
 
 obj-$(CONFIG_USB_NET_RNDIS_WLAN)       += rndis_wlan.o
 
-obj-$(CONFIG_WL_MEDIATEK)      += mediatek/
-
 obj-$(CONFIG_ATH_CARDS)                += ath/
 
 obj-$(CONFIG_MAC80211_HWSIM)   += mac80211_hwsim.o
index cba300c6b5da5af3ec71a30d05ccb2c481dc97a2..28843fed750a2f6a8bb03368092ca10b698e0dfe 100644 (file)
@@ -1,10 +1,14 @@
-menuconfig WL_MEDIATEK
-       bool "Mediatek Wireless LAN support"
+config WLAN_VENDOR_MEDIATEK
+       bool "MediaTek devices"
+       default y
        ---help---
-         Enable community drivers for MediaTek WiFi devices.
-         Those drivers make use of the Linux mac80211 stack.
+         If you have a wireless card belonging to this class, say Y.
 
+         Note that the answer to this question doesn't directly affect the
+         kernel: saying N will just cause the configurator to skip all
+         the questions about  cards. If you say Y, you will be asked for
+         your specific card in the following questions.
 
-if WL_MEDIATEK
+if WLAN_VENDOR_MEDIATEK
 source "drivers/net/wireless/mediatek/mt7601u/Kconfig"
-endif # WL_MEDIATEK
+endif # WLAN_VENDOR_MEDIATEK