rt2x00: move under ralink vendor directory
authorKalle Valo <kvalo@codeaurora.org>
Wed, 18 Nov 2015 08:18:44 +0000 (10:18 +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>
51 files changed:
MAINTAINERS
drivers/net/wireless/Kconfig
drivers/net/wireless/Makefile
drivers/net/wireless/ralink/Kconfig [new file with mode: 0644]
drivers/net/wireless/ralink/Makefile [new file with mode: 0644]
drivers/net/wireless/ralink/rt2x00/Kconfig [moved from drivers/net/wireless/rt2x00/Kconfig with 100% similarity]
drivers/net/wireless/ralink/rt2x00/Makefile [moved from drivers/net/wireless/rt2x00/Makefile with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2400pci.c [moved from drivers/net/wireless/rt2x00/rt2400pci.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2400pci.h [moved from drivers/net/wireless/rt2x00/rt2400pci.h with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2500pci.c [moved from drivers/net/wireless/rt2x00/rt2500pci.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2500pci.h [moved from drivers/net/wireless/rt2x00/rt2500pci.h with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2500usb.c [moved from drivers/net/wireless/rt2x00/rt2500usb.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2500usb.h [moved from drivers/net/wireless/rt2x00/rt2500usb.h with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2800.h [moved from drivers/net/wireless/rt2x00/rt2800.h with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2800lib.c [moved from drivers/net/wireless/rt2x00/rt2800lib.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2800lib.h [moved from drivers/net/wireless/rt2x00/rt2800lib.h with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2800mmio.c [moved from drivers/net/wireless/rt2x00/rt2800mmio.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2800mmio.h [moved from drivers/net/wireless/rt2x00/rt2800mmio.h with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2800pci.c [moved from drivers/net/wireless/rt2x00/rt2800pci.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2800pci.h [moved from drivers/net/wireless/rt2x00/rt2800pci.h with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2800soc.c [moved from drivers/net/wireless/rt2x00/rt2800soc.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2800usb.c [moved from drivers/net/wireless/rt2x00/rt2800usb.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2800usb.h [moved from drivers/net/wireless/rt2x00/rt2800usb.h with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00.h [moved from drivers/net/wireless/rt2x00/rt2x00.h with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00config.c [moved from drivers/net/wireless/rt2x00/rt2x00config.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c [moved from drivers/net/wireless/rt2x00/rt2x00crypto.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00debug.c [moved from drivers/net/wireless/rt2x00/rt2x00debug.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00debug.h [moved from drivers/net/wireless/rt2x00/rt2x00debug.h with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00dev.c [moved from drivers/net/wireless/rt2x00/rt2x00dev.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00dump.h [moved from drivers/net/wireless/rt2x00/rt2x00dump.h with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00firmware.c [moved from drivers/net/wireless/rt2x00/rt2x00firmware.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00leds.c [moved from drivers/net/wireless/rt2x00/rt2x00leds.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00leds.h [moved from drivers/net/wireless/rt2x00/rt2x00leds.h with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00lib.h [moved from drivers/net/wireless/rt2x00/rt2x00lib.h with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00link.c [moved from drivers/net/wireless/rt2x00/rt2x00link.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00mac.c [moved from drivers/net/wireless/rt2x00/rt2x00mac.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00mmio.c [moved from drivers/net/wireless/rt2x00/rt2x00mmio.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00mmio.h [moved from drivers/net/wireless/rt2x00/rt2x00mmio.h with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00pci.c [moved from drivers/net/wireless/rt2x00/rt2x00pci.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00pci.h [moved from drivers/net/wireless/rt2x00/rt2x00pci.h with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00queue.c [moved from drivers/net/wireless/rt2x00/rt2x00queue.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00queue.h [moved from drivers/net/wireless/rt2x00/rt2x00queue.h with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00reg.h [moved from drivers/net/wireless/rt2x00/rt2x00reg.h with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00soc.c [moved from drivers/net/wireless/rt2x00/rt2x00soc.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00soc.h [moved from drivers/net/wireless/rt2x00/rt2x00soc.h with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00usb.c [moved from drivers/net/wireless/rt2x00/rt2x00usb.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt2x00usb.h [moved from drivers/net/wireless/rt2x00/rt2x00usb.h with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt61pci.c [moved from drivers/net/wireless/rt2x00/rt61pci.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt61pci.h [moved from drivers/net/wireless/rt2x00/rt61pci.h with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt73usb.c [moved from drivers/net/wireless/rt2x00/rt73usb.c with 100% similarity]
drivers/net/wireless/ralink/rt2x00/rt73usb.h [moved from drivers/net/wireless/rt2x00/rt73usb.h with 100% similarity]

index a9f7f96..38c049d 100644 (file)
@@ -8801,7 +8801,7 @@ M:        Stanislaw Gruszka <sgruszka@redhat.com>
 M:     Helmut Schaa <helmut.schaa@googlemail.com>
 L:     linux-wireless@vger.kernel.org
 S:     Maintained
-F:     drivers/net/wireless/rt2x00/
+F:     drivers/net/wireless/ralink/rt2x00/
 
 RAMDISK RAM BLOCK DEVICE DRIVER
 M:     Jens Axboe <axboe@kernel.dk>
index 5186084..c58e244 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/ralink/Kconfig"
 source "drivers/net/wireless/realtek/Kconfig"
 source "drivers/net/wireless/rsi/Kconfig"
 source "drivers/net/wireless/st/Kconfig"
@@ -97,7 +98,6 @@ config MAC80211_HWSIM
          called mac80211_hwsim.  If unsure, say N.
 
 source "drivers/net/wireless/ath/Kconfig"
-source "drivers/net/wireless/rt2x00/Kconfig"
 source "drivers/net/wireless/mediatek/Kconfig"
 source "drivers/net/wireless/ti/Kconfig"
 
index d38b6cc..8ac72fd 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_RALINK) += ralink/
 obj-$(CONFIG_WLAN_VENDOR_REALTEK) += realtek/
 obj-$(CONFIG_WLAN_VENDOR_RSI) += rsi/
 obj-$(CONFIG_WLAN_VENDOR_ST) += st/
@@ -20,8 +21,6 @@ obj-$(CONFIG_PCMCIA_WL3501)   += wl3501_cs.o
 
 obj-$(CONFIG_USB_NET_RNDIS_WLAN)       += rndis_wlan.o
 
-obj-$(CONFIG_RT2X00)   += rt2x00/
-
 obj-$(CONFIG_WL_MEDIATEK)      += mediatek/
 
 obj-$(CONFIG_ATH_CARDS)                += ath/
diff --git a/drivers/net/wireless/ralink/Kconfig b/drivers/net/wireless/ralink/Kconfig
new file mode 100644 (file)
index 0000000..41dbf31
--- /dev/null
@@ -0,0 +1,16 @@
+config WLAN_VENDOR_RALINK
+       bool "Ralink 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_RALINK
+
+source "drivers/net/wireless/ralink/rt2x00/Kconfig"
+
+endif # WLAN_VENDOR_RALINK
diff --git a/drivers/net/wireless/ralink/Makefile b/drivers/net/wireless/ralink/Makefile
new file mode 100644 (file)
index 0000000..f84c0a2
--- /dev/null
@@ -0,0 +1 @@
+obj-$(CONFIG_RT2X00)   += rt2x00/