]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: move raycs, wl3501 and rndis_wlan to legacy directory
authorKalle Valo <kvalo@kernel.org>
Mon, 27 Feb 2023 12:17:32 +0000 (14:17 +0200)
committerKalle Valo <kvalo@kernel.org>
Mon, 13 Mar 2023 13:42:14 +0000 (15:42 +0200)
To clean up drivers/net/wireless move the old drivers drivers left in the
directory to a new "legacy" directory. I did consider adding
CONFIG_WLAN_VENDOR_LEGACY like other vendors have but then dropped the idea as
these are really old drivers and hopefully we get to remove them soon.

There should be no changes in compilation or in Kconfig options, merely moving files.

Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230227121732.8967-3-kvalo@kernel.org
drivers/net/wireless/Kconfig
drivers/net/wireless/Makefile
drivers/net/wireless/legacy/Kconfig [new file with mode: 0644]
drivers/net/wireless/legacy/Makefile [new file with mode: 0644]
drivers/net/wireless/legacy/ray_cs.c [moved from drivers/net/wireless/ray_cs.c with 100% similarity]
drivers/net/wireless/legacy/ray_cs.h [moved from drivers/net/wireless/ray_cs.h with 100% similarity]
drivers/net/wireless/legacy/rayctl.h [moved from drivers/net/wireless/rayctl.h with 100% similarity]
drivers/net/wireless/legacy/rndis_wlan.c [moved from drivers/net/wireless/rndis_wlan.c with 100% similarity]
drivers/net/wireless/legacy/wl3501.h [moved from drivers/net/wireless/wl3501.h with 100% similarity]
drivers/net/wireless/legacy/wl3501_cs.c [moved from drivers/net/wireless/wl3501_cs.c with 100% similarity]

index 42b40cc96b21bbe0d0950af7eb1dd11cb45969bb..7555af5195ec3f55ff83edbcdfe8f58072133295 100644 (file)
@@ -38,60 +38,7 @@ source "drivers/net/wireless/ti/Kconfig"
 source "drivers/net/wireless/zydas/Kconfig"
 source "drivers/net/wireless/quantenna/Kconfig"
 
-config PCMCIA_RAYCS
-       tristate "Aviator/Raytheon 2.4GHz wireless support"
-       depends on PCMCIA
-       select WIRELESS_EXT
-       select WEXT_SPY
-       select WEXT_PRIV
-       help
-         Say Y here if you intend to attach an Aviator/Raytheon PCMCIA
-         (PC-card) wireless Ethernet networking card to your computer.
-         Please read the file
-         <file:Documentation/networking/device_drivers/wifi/ray_cs.rst> for
-         details.
-
-         To compile this driver as a module, choose M here: the module will be
-         called ray_cs.  If unsure, say N.
-
-config PCMCIA_WL3501
-       tristate "Planet WL3501 PCMCIA cards"
-       depends on CFG80211 && PCMCIA
-       select WIRELESS_EXT
-       select WEXT_SPY
-       help
-         A driver for WL3501 PCMCIA 802.11 wireless cards made by Planet.
-         It has basic support for Linux wireless extensions and initial
-         micro support for ethtool.
-
-config USB_NET_RNDIS_WLAN
-       tristate "Wireless RNDIS USB support"
-       depends on USB
-       depends on CFG80211
-       select USB_NET_DRIVERS
-       select USB_USBNET
-       select USB_NET_CDCETHER
-       select USB_NET_RNDIS_HOST
-       help
-         This is a driver for wireless RNDIS devices.
-         These are USB based adapters found in devices such as:
-
-         Buffalo WLI-U2-KG125S
-         U.S. Robotics USR5421
-         Belkin F5D7051
-         Linksys WUSB54GSv2
-         Linksys WUSB54GSC
-         Asus WL169gE
-         Eminent EM4045
-         BT Voyager 1055
-         Linksys WUSB54GSv1
-         U.S. Robotics USR5420
-         BUFFALO WLI-USB-G54
-
-         All of these devices are based on Broadcom 4320 chip which is the
-         only wireless RNDIS chip known to date.
-
-         If you choose to build a module, it'll be called rndis_wlan.
+source "drivers/net/wireless/legacy/Kconfig"
 
 source "drivers/net/wireless/virtual/Kconfig"
 
index 1b697cfe0a132f569463334a7a53ea31ba13c59c..4d7374d567d18c708e6396ed8870af7543a6c3d4 100644 (file)
@@ -23,10 +23,5 @@ obj-$(CONFIG_WLAN_VENDOR_ST) += st/
 obj-$(CONFIG_WLAN_VENDOR_TI) += ti/
 obj-$(CONFIG_WLAN_VENDOR_ZYDAS) += zydas/
 
-# 16-bit wireless PCMCIA client drivers
-obj-$(CONFIG_PCMCIA_RAYCS)     += ray_cs.o
-obj-$(CONFIG_PCMCIA_WL3501)    += wl3501_cs.o
-
-obj-$(CONFIG_USB_NET_RNDIS_WLAN)       += rndis_wlan.o
-
+obj-$(CONFIG_WLAN) += legacy/
 obj-$(CONFIG_WLAN) += virtual/
diff --git a/drivers/net/wireless/legacy/Kconfig b/drivers/net/wireless/legacy/Kconfig
new file mode 100644 (file)
index 0000000..3a52759
--- /dev/null
@@ -0,0 +1,55 @@
+config PCMCIA_RAYCS
+       tristate "Aviator/Raytheon 2.4GHz wireless support"
+       depends on PCMCIA
+       select WIRELESS_EXT
+       select WEXT_SPY
+       select WEXT_PRIV
+       help
+         Say Y here if you intend to attach an Aviator/Raytheon PCMCIA
+         (PC-card) wireless Ethernet networking card to your computer.
+         Please read the file
+         <file:Documentation/networking/device_drivers/wifi/ray_cs.rst> for
+         details.
+
+         To compile this driver as a module, choose M here: the module will be
+         called ray_cs.  If unsure, say N.
+
+config PCMCIA_WL3501
+       tristate "Planet WL3501 PCMCIA cards"
+       depends on CFG80211 && PCMCIA
+       select WIRELESS_EXT
+       select WEXT_SPY
+       help
+         A driver for WL3501 PCMCIA 802.11 wireless cards made by Planet.
+         It has basic support for Linux wireless extensions and initial
+         micro support for ethtool.
+
+config USB_NET_RNDIS_WLAN
+       tristate "Wireless RNDIS USB support"
+       depends on USB
+       depends on CFG80211
+       select USB_NET_DRIVERS
+       select USB_USBNET
+       select USB_NET_CDCETHER
+       select USB_NET_RNDIS_HOST
+       help
+         This is a driver for wireless RNDIS devices.
+         These are USB based adapters found in devices such as:
+
+         Buffalo WLI-U2-KG125S
+         U.S. Robotics USR5421
+         Belkin F5D7051
+         Linksys WUSB54GSv2
+         Linksys WUSB54GSC
+         Asus WL169gE
+         Eminent EM4045
+         BT Voyager 1055
+         Linksys WUSB54GSv1
+         U.S. Robotics USR5420
+         BUFFALO WLI-USB-G54
+
+         All of these devices are based on Broadcom 4320 chip which is the
+         only wireless RNDIS chip known to date.
+
+         If you choose to build a module, it'll be called rndis_wlan.
+
diff --git a/drivers/net/wireless/legacy/Makefile b/drivers/net/wireless/legacy/Makefile
new file mode 100644 (file)
index 0000000..36878f0
--- /dev/null
@@ -0,0 +1,6 @@
+# 16-bit wireless PCMCIA client drivers
+obj-$(CONFIG_PCMCIA_RAYCS)     += ray_cs.o
+obj-$(CONFIG_PCMCIA_WL3501)    += wl3501_cs.o
+
+obj-$(CONFIG_USB_NET_RNDIS_WLAN)       += rndis_wlan.o
+