]> git.karo-electronics.de Git - linux-beck.git/commitdiff
zd1201: move under zydas vendor directory
authorKalle Valo <kvalo@codeaurora.org>
Wed, 18 Nov 2015 05:39:37 +0000 (07:39 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 18 Nov 2015 12:28:30 +0000 (14:28 +0200)
Part of reorganising wireless drivers directory and Kconfig.

Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
MAINTAINERS
drivers/net/wireless/Kconfig
drivers/net/wireless/Makefile
drivers/net/wireless/zydas/Kconfig [new file with mode: 0644]
drivers/net/wireless/zydas/Makefile [new file with mode: 0644]
drivers/net/wireless/zydas/zd1201.c [moved from drivers/net/wireless/zd1201.c with 100% similarity]
drivers/net/wireless/zydas/zd1201.h [moved from drivers/net/wireless/zd1201.h with 100% similarity]

index e622877aaab4a99ec9b34ad6a4017f666dab3ea4..ec098370ef3d5cd18bd3af28f3969de286e8fab4 100644 (file)
@@ -11252,7 +11252,7 @@ USB ZD1201 DRIVER
 L:     linux-wireless@vger.kernel.org
 W:     http://linux-lc100020.sourceforge.net
 S:     Orphan
-F:     drivers/net/wireless/zd1201.*
+F:     drivers/net/wireless/zydas/zd1201.*
 
 USB ZR364XX DRIVER
 M:     Antoine Jacquet <royale@zerezo.com>
index 315982a5ee73a8a2f5e58a0b005e629ab0adf127..35155e2dc8bf064be01d206ba62318dcccf11283 100644 (file)
@@ -24,6 +24,7 @@ source "drivers/net/wireless/cisco/Kconfig"
 source "drivers/net/wireless/intel/Kconfig"
 source "drivers/net/wireless/marvell/Kconfig"
 source "drivers/net/wireless/st/Kconfig"
+source "drivers/net/wireless/zydas/Kconfig"
 
 config PCMCIA_RAYCS
        tristate "Aviator/Raytheon 2.4GHz wireless support"
@@ -70,25 +71,6 @@ config PRISM54
 
          When built as module you get the module prism54
 
-config USB_ZD1201
-       tristate "USB ZD1201 based Wireless device support"
-       depends on CFG80211 && USB
-       select WIRELESS_EXT
-       select WEXT_PRIV
-       select FW_LOADER
-       ---help---
-         Say Y if you want to use wireless LAN adapters based on the ZyDAS
-         ZD1201 chip.
-
-         This driver makes the adapter appear as a normal Ethernet interface,
-         typically on wlan0.
-
-         The zd1201 device requires external firmware to be loaded.
-         This can be found at http://linux-lc100020.sourceforge.net/
-
-         To compile this driver as a module, choose M here: the
-         module will be called zd1201.
-
 config USB_NET_RNDIS_WLAN
        tristate "Wireless RNDIS USB support"
        depends on USB
index 9498753f596b9c10c0f2c4af55933a399538454c..4ee6d6d087438e5eb933cf34403cffc66d9b0132 100644 (file)
@@ -9,6 +9,7 @@ obj-$(CONFIG_WLAN_VENDOR_CISCO) += cisco/
 obj-$(CONFIG_WLAN_VENDOR_INTEL) += intel/
 obj-$(CONFIG_WLAN_VENDOR_MARVELL) += marvell/
 obj-$(CONFIG_WLAN_VENDOR_ST) += st/
+obj-$(CONFIG_WLAN_VENDOR_ZYDAS) += zydas/
 
 obj-$(CONFIG_HERMES)           += orinoco/
 
@@ -24,8 +25,6 @@ obj-$(CONFIG_PCMCIA_WL3501)   += wl3501_cs.o
 
 obj-$(CONFIG_USB_NET_RNDIS_WLAN)       += rndis_wlan.o
 
-obj-$(CONFIG_USB_ZD1201)       += zd1201.o
-
 obj-$(CONFIG_RT2X00)   += rt2x00/
 
 obj-$(CONFIG_WL_MEDIATEK)      += mediatek/
diff --git a/drivers/net/wireless/zydas/Kconfig b/drivers/net/wireless/zydas/Kconfig
new file mode 100644 (file)
index 0000000..6140dfa
--- /dev/null
@@ -0,0 +1,33 @@
+config WLAN_VENDOR_ZYDAS
+       bool "ZyDAS devices"
+       default y
+       ---help---
+         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 WLAN_VENDOR_ZYDAS
+
+config USB_ZD1201
+       tristate "USB ZD1201 based Wireless device support"
+       depends on CFG80211 && USB
+       select WIRELESS_EXT
+       select WEXT_PRIV
+       select FW_LOADER
+       ---help---
+         Say Y if you want to use wireless LAN adapters based on the ZyDAS
+         ZD1201 chip.
+
+         This driver makes the adapter appear as a normal Ethernet interface,
+         typically on wlan0.
+
+         The zd1201 device requires external firmware to be loaded.
+         This can be found at http://linux-lc100020.sourceforge.net/
+
+         To compile this driver as a module, choose M here: the
+         module will be called zd1201.
+
+endif # WLAN_VENDOR_ZYDAS
diff --git a/drivers/net/wireless/zydas/Makefile b/drivers/net/wireless/zydas/Makefile
new file mode 100644 (file)
index 0000000..37179ef
--- /dev/null
@@ -0,0 +1 @@
+obj-$(CONFIG_USB_ZD1201)       += zd1201.o