Skip to contentSkip to conversation

staging: wimax: delete from the tree.

PATCH New Greg Kroah-Hartman 1 participant 1 message Mar 18, 2021 Staging

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

PATCH 1/1 staging: wimax: delete from the tree.

As stated in f54ec58fee83 ("wimax: move out to staging"), the wimax code is dead with no known users. It has stayed in staging for 5 months, with no one willing to take up the codebase for maintance and support, so let's just remove it entirely for now.

If someone comes along and wants to revive it, a simple revert of this patch is a good place to start.

Cc Jakub Kicinski <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Johannes Berg <[email protected]>
Cc Randy Dunlap <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc "Gustavo A. R. Silva" <[email protected]>
Cc Wang Hai <[email protected]>
Cc Lee Jones <[email protected]>
Cc Colin Ian King <[email protected]>
Cc Anirudh Rayabharam <[email protected]>
Cc Kumar Kartikeya Dwivedi <[email protected]>
Cc Hemansh Agnihotri <[email protected]>
Cc Xin Tan <[email protected]>
Cc Xiyu Yang <[email protected]>
Cc Shannon Nelson <[email protected]>
---
 drivers/staging/Kconfig                       |    2 -
 drivers/staging/Makefile                      |    1 -
 .../staging/wimax/Documentation/i2400m.rst    |  283 ---
 drivers/staging/wimax/Documentation/index.rst |   19 -
 drivers/staging/wimax/Documentation/wimax.rst |   89 -
 drivers/staging/wimax/Kconfig                 |   47 -
 drivers/staging/wimax/Makefile                |   15 -
 drivers/staging/wimax/TODO                    |   18 -
 drivers/staging/wimax/debug-levels.h          |   29 -
 drivers/staging/wimax/debugfs.c               |   38 -
 drivers/staging/wimax/i2400m/Kconfig          |   37 -
 drivers/staging/wimax/i2400m/Makefile         |   23 -
 drivers/staging/wimax/i2400m/control.c        | 1434 --------------
 drivers/staging/wimax/i2400m/debug-levels.h   |   32 -
 drivers/staging/wimax/i2400m/debugfs.c        |  253 ---
 drivers/staging/wimax/i2400m/driver.c         | 1003 ----------
 drivers/staging/wimax/i2400m/fw.c             | 1666 -----------------
 drivers/staging/wimax/i2400m/i2400m-usb.h     |  275 ---
 drivers/staging/wimax/i2400m/i2400m.h         |  970 ----------
 .../staging/wimax/i2400m/linux-wimax-i2400m.h |  572 ------
 drivers/staging/wimax/i2400m/netdev.c         |  603 ------
 drivers/staging/wimax/i2400m/op-rfkill.c      |  196 --
 drivers/staging/wimax/i2400m/rx.c             | 1394 --------------
 drivers/staging/wimax/i2400m/sysfs.c          |   65 -
 drivers/staging/wimax/i2400m/tx.c             | 1015 ----------
 .../staging/wimax/i2400m/usb-debug-levels.h   |   28 -
 drivers/staging/wimax/i2400m/usb-fw.c         |  365 ----
 drivers/staging/wimax/i2400m/usb-notif.c      |  258 ---
 drivers/staging/wimax/i2400m/usb-rx.c         |  462 -----
 drivers/staging/wimax/i2400m/usb-tx.c         |  273 ---
 drivers/staging/wimax/i2400m/usb.c            |  765 --------
 drivers/staging/wimax/id-table.c              |  130 --
 drivers/staging/wimax/linux-wimax-debug.h     |  491 -----
 drivers/staging/wimax/linux-wimax.h           |  239 ---
 drivers/staging/wimax/net-wimax.h             |  503 -----
 drivers/staging/wimax/op-msg.c                |  391 ----
 drivers/staging/wimax/op-reset.c              |  108 --
 drivers/staging/wimax/op-rfkill.c             |  432 -----
 drivers/staging/wimax/op-state-get.c          |   52 -
 drivers/staging/wimax/stack.c                 |  604 ------
 drivers/staging/wimax/wimax-internal.h        |   85 -
 41 files changed, 15265 deletions(-)
 delete mode 100644 drivers/staging/wimax/Documentation/i2400m.rst
 delete mode 100644 drivers/staging/wimax/Documentation/index.rst
 delete mode 100644 drivers/staging/wimax/Documentation/wimax.rst
 delete mode 100644 drivers/staging/wimax/Kconfig
 delete mode 100644 drivers/staging/wimax/Makefile
 delete mode 100644 drivers/staging/wimax/TODO
 delete mode 100644 drivers/staging/wimax/debug-levels.h
 delete mode 100644 drivers/staging/wimax/debugfs.c
 delete mode 100644 drivers/staging/wimax/i2400m/Kconfig
 delete mode 100644 drivers/staging/wimax/i2400m/Makefile
 delete mode 100644 drivers/staging/wimax/i2400m/control.c
 delete mode 100644 drivers/staging/wimax/i2400m/debug-levels.h
 delete mode 100644 drivers/staging/wimax/i2400m/debugfs.c
 delete mode 100644 drivers/staging/wimax/i2400m/driver.c
 delete mode 100644 drivers/staging/wimax/i2400m/fw.c
 delete mode 100644 drivers/staging/wimax/i2400m/i2400m-usb.h
 delete mode 100644 drivers/staging/wimax/i2400m/i2400m.h
 delete mode 100644 drivers/staging/wimax/i2400m/linux-wimax-i2400m.h
 delete mode 100644 drivers/staging/wimax/i2400m/netdev.c
 delete mode 100644 drivers/staging/wimax/i2400m/op-rfkill.c
 delete mode 100644 drivers/staging/wimax/i2400m/rx.c
 delete mode 100644 drivers/staging/wimax/i2400m/sysfs.c
 delete mode 100644 drivers/staging/wimax/i2400m/tx.c
 delete mode 100644 drivers/staging/wimax/i2400m/usb-debug-levels.h
 delete mode 100644 drivers/staging/wimax/i2400m/usb-fw.c
 delete mode 100644 drivers/staging/wimax/i2400m/usb-notif.c
 delete mode 100644 drivers/staging/wimax/i2400m/usb-rx.c
 delete mode 100644 drivers/staging/wimax/i2400m/usb-tx.c
 delete mode 100644 drivers/staging/wimax/i2400m/usb.c
 delete mode 100644 drivers/staging/wimax/id-table.c
 delete mode 100644 drivers/staging/wimax/linux-wimax-debug.h
 delete mode 100644 drivers/staging/wimax/linux-wimax.h
 delete mode 100644 drivers/staging/wimax/net-wimax.h
 delete mode 100644 drivers/staging/wimax/op-msg.c
 delete mode 100644 drivers/staging/wimax/op-reset.c
 delete mode 100644 drivers/staging/wimax/op-rfkill.c
 delete mode 100644 drivers/staging/wimax/op-state-get.c
 delete mode 100644 drivers/staging/wimax/stack.c
 delete mode 100644 drivers/staging/wimax/wimax-internal.h
drivers/staging/Kconfig +0 -2
index efddc50c81f9..7b57b755bfa3 100644
@@ -106,8 +106,6 @@ source "drivers/staging/kpc2000/Kconfig"
 
 source "drivers/staging/qlge/Kconfig"
 
-source "drivers/staging/wimax/Kconfig"
-
 source "drivers/staging/wfx/Kconfig"
 
 source "drivers/staging/hikey9xx/Kconfig"
drivers/staging/Makefile +0 -1
index e2e95a20081a..4350423f65aa 100644
@@ -43,6 +43,5 @@ obj-$(CONFIG_XIL_AXIS_FIFO)	+= axis-fifo/
 obj-$(CONFIG_FIELDBUS_DEV)     += fieldbus/
 obj-$(CONFIG_KPC2000)		+= kpc2000/
 obj-$(CONFIG_QLGE)		+= qlge/
-obj-$(CONFIG_WIMAX)		+= wimax/
 obj-$(CONFIG_WFX)		+= wfx/
 obj-y				+= hikey9xx/
drivers/staging/wimax/Documentation/i2400m.rst deleted +0 -283

283 lines not on this page · raw message

drivers/staging/wimax/Documentation/index.rst deleted +0 -19
deleted file mode 100644
index fdf7c1f99ff5..000000000000
@@ -1,19 +0,0 @@
-.. SPDX-License-Identifier: GPL-2.0
-
-===============
-WiMAX subsystem
-===============
-
-.. toctree::
-   :maxdepth: 2
-
-   wimax
-
-   i2400m
-
-.. only::  subproject and html
-
-   Indices
-   =======
-
-   * :ref:`genindex`
drivers/staging/wimax/Documentation/wimax.rst deleted +0 -89

89 lines not on this page · raw message

drivers/staging/wimax/Kconfig deleted +0 -47

47 lines not on this page · raw message

drivers/staging/wimax/Makefile deleted +0 -15
deleted file mode 100644
index 0e3f988656aa..000000000000
@@ -1,15 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-
-obj-$(CONFIG_WIMAX)		+= wimax.o
-
-wimax-y :=		\
-	id-table.o	\
-	op-msg.o	\
-	op-reset.o	\
-	op-rfkill.o	\
-	op-state-get.o	\
-	stack.o
-
-wimax-$(CONFIG_DEBUG_FS) += debugfs.o
-
-obj-$(CONFIG_WIMAX_I2400M)	+= i2400m/
drivers/staging/wimax/TODO deleted +0 -18
deleted file mode 100644
index 26e4cb9e9599..000000000000
@@ -1,18 +0,0 @@
-There are no known users of this driver as of October 2020, and it will
-be removed unless someone turns out to still need it in future releases.
-
-According to https://en.wikipedia.org/wiki/List_of_WiMAX_networks, there
-have been many public wimax networks, but it appears that many of these
-have migrated to LTE or discontinued their service altogether.  As most
-PCs and phones lack WiMAX hardware support, the remaining networks tend
-to use standalone routers. These almost certainly run Linux, but not a
-modern kernel or the mainline wimax driver stack.
-
-NetworkManager appears to have dropped userspace support in 2015
-https://bugzilla.gnome.org/show_bug.cgi?id=747846, the www.linuxwimax.org
-site had already shut down earlier.
-
-WiMax is apparently still being deployed on airport campus networks
-("AeroMACS"), but in a frequency band that was not supported by the old
-Intel 2400m (used in Sandy Bridge laptops and earlier), which is the
-only driver using the kernel's wimax stack.
drivers/staging/wimax/debug-levels.h deleted +0 -29
deleted file mode 100644
index b854802d1d00..000000000000
@@ -1,29 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * Linux WiMAX Stack
- * Debug levels control file for the wimax module
- *
- * Copyright (C) 2007-2008 Intel Corporation <[email protected]>
- * Inaky Perez-Gonzalez <[email protected]>
- */
-#ifndef __debug_levels__h__
-#define __debug_levels__h__
-
-/* Maximum compile and run time debug level for all submodules */
-#define D_MODULENAME wimax
-#define D_MASTER CONFIG_WIMAX_DEBUG_LEVEL
-
-#include "linux-wimax-debug.h"
-
-/* List of all the enabled modules */
-enum d_module {
-	D_SUBMODULE_DECLARE(debugfs),
-	D_SUBMODULE_DECLARE(id_table),
-	D_SUBMODULE_DECLARE(op_msg),
-	D_SUBMODULE_DECLARE(op_reset),
-	D_SUBMODULE_DECLARE(op_rfkill),
-	D_SUBMODULE_DECLARE(op_state_get),
-	D_SUBMODULE_DECLARE(stack),
-};
-
-#endif /* #ifndef __debug_levels__h__ */
drivers/staging/wimax/debugfs.c deleted +0 -38
deleted file mode 100644
index e11bff61ffcf..000000000000
@@ -1,38 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * Linux WiMAX
- * Debugfs support
- *
- * Copyright (C) 2005-2006 Intel Corporation <[email protected]>
- * Inaky Perez-Gonzalez <[email protected]>
- */
-#include <linux/debugfs.h>
-#include "linux-wimax.h"
-#include "wimax-internal.h"
-
-#define D_SUBMODULE debugfs
-#include "debug-levels.h"
-
-void wimax_debugfs_add(struct wimax_dev *wimax_dev)
-{
-	struct net_device *net_dev = wimax_dev->net_dev;
-	struct dentry *dentry;
-	char buf[128];
-
-	snprintf(buf, sizeof(buf), "wimax:%s", net_dev->name);
-	dentry = debugfs_create_dir(buf, NULL);
-	wimax_dev->debugfs_dentry = dentry;
-
-	d_level_register_debugfs("wimax_dl_", debugfs, dentry);
-	d_level_register_debugfs("wimax_dl_", id_table, dentry);
-	d_level_register_debugfs("wimax_dl_", op_msg, dentry);
-	d_level_register_debugfs("wimax_dl_", op_reset, dentry);
-	d_level_register_debugfs("wimax_dl_", op_rfkill, dentry);
-	d_level_register_debugfs("wimax_dl_", op_state_get, dentry);
-	d_level_register_debugfs("wimax_dl_", stack, dentry);
-}
-
-void wimax_debugfs_rm(struct wimax_dev *wimax_dev)
-{
-	debugfs_remove_recursive(wimax_dev->debugfs_dentry);
-}
drivers/staging/wimax/i2400m/Kconfig deleted +0 -37
deleted file mode 100644
index 843b905a26a3..000000000000
@@ -1,37 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-
-config WIMAX_I2400M
-	tristate
-	depends on WIMAX
-	select FW_LOADER
-
-comment "Enable USB support to see WiMAX USB drivers"
-	depends on USB = n
-
-config WIMAX_I2400M_USB
-	tristate "Intel Wireless WiMAX Connection 2400 over USB (including 5x50)"
-	depends on WIMAX && USB
-	select WIMAX_I2400M
-	help
-	  Select if you have a device based on the Intel WiMAX
-	  Connection 2400 over USB (like any of the Intel Wireless
-	  WiMAX/WiFi Link 5x50 series).
-
-	  If unsure, it is safe to select M (module).
-
-config WIMAX_I2400M_DEBUG_LEVEL
-	int "WiMAX i2400m debug level"
-	depends on WIMAX_I2400M
-	default 8
-	help
-
-	  Select the maximum debug verbosity level to be compiled into
-	  the WiMAX i2400m driver code.
-
-	  By default, this is disabled at runtime and can be
-	  selectively enabled at runtime for different parts of the
-	  code using the sysfs debug-levels file.
-
-	  If set at zero, this will compile out all the debug code.
-
-	  It is recommended that it is left at 8.
drivers/staging/wimax/i2400m/Makefile deleted +0 -23
deleted file mode 100644
index b1db1eff0648..000000000000
@@ -1,23 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-
-obj-$(CONFIG_WIMAX_I2400M) += i2400m.o
-obj-$(CONFIG_WIMAX_I2400M_USB) += i2400m-usb.o
-
-i2400m-y :=		\
-	control.o	\
-	driver.o	\
-	fw.o		\
-	op-rfkill.o	\
-	sysfs.o		\
-	netdev.o	\
-	tx.o		\
-	rx.o
-
-i2400m-$(CONFIG_DEBUG_FS) += debugfs.o
-
-i2400m-usb-y :=			\
-	usb-fw.o		\
-	usb-notif.o		\
-	usb-tx.o		\
-	usb-rx.o		\
-	usb.o
drivers/staging/wimax/i2400m/control.c deleted +0 -1434

1,434 lines not on this page · raw message

drivers/staging/wimax/i2400m/debug-levels.h deleted +0 -32
deleted file mode 100644
index a317e9fbb734..000000000000
@@ -1,32 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * Intel Wireless WiMAX Connection 2400m
- * Debug levels control file for the i2400m module
- *
- * Copyright (C) 2007-2008 Intel Corporation <[email protected]>
- * Inaky Perez-Gonzalez <[email protected]>
- */
-#ifndef __debug_levels__h__
-#define __debug_levels__h__
-
-/* Maximum compile and run time debug level for all submodules */
-#define D_MODULENAME i2400m
-#define D_MASTER CONFIG_WIMAX_I2400M_DEBUG_LEVEL
-
-#include "../linux-wimax-debug.h"
-
-/* List of all the enabled modules */
-enum d_module {
-	D_SUBMODULE_DECLARE(control),
-	D_SUBMODULE_DECLARE(driver),
-	D_SUBMODULE_DECLARE(debugfs),
-	D_SUBMODULE_DECLARE(fw),
-	D_SUBMODULE_DECLARE(netdev),
-	D_SUBMODULE_DECLARE(rfkill),
-	D_SUBMODULE_DECLARE(rx),
-	D_SUBMODULE_DECLARE(sysfs),
-	D_SUBMODULE_DECLARE(tx),
-};
-
-
-#endif /* #ifndef __debug_levels__h__ */
drivers/staging/wimax/i2400m/debugfs.c deleted +0 -253

253 lines not on this page · raw message

drivers/staging/wimax/i2400m/driver.c deleted +0 -1003

669 lines not on this page · raw message

drivers/staging/wimax/i2400m/fw.c deleted +0 -1666

1,666 lines not on this page · raw message

drivers/staging/wimax/i2400m/i2400m-usb.h deleted +0 -275

275 lines not on this page · raw message

drivers/staging/wimax/i2400m/i2400m.h deleted +0 -970

970 lines not on this page · raw message

drivers/staging/wimax/i2400m/linux-wimax-i2400m.h deleted +0 -572

572 lines not on this page · raw message

drivers/staging/wimax/i2400m/netdev.c deleted +0 -603

603 lines not on this page · raw message

drivers/staging/wimax/i2400m/op-rfkill.c deleted +0 -196

196 lines not on this page · raw message

drivers/staging/wimax/i2400m/rx.c deleted +0 -1394

1,394 lines not on this page · raw message

drivers/staging/wimax/i2400m/sysfs.c deleted +0 -65

65 lines not on this page · raw message

drivers/staging/wimax/i2400m/tx.c deleted +0 -1015

1,015 lines not on this page · raw message

drivers/staging/wimax/i2400m/usb-debug-levels.h deleted +0 -28
deleted file mode 100644
index 8fd0111560f6..000000000000

Lines of this file are not shown. View the raw message.

drivers/staging/wimax/i2400m/usb-fw.c deleted +0 -365

365 lines not on this page · raw message

drivers/staging/wimax/i2400m/usb-notif.c deleted +0 -258

258 lines not on this page · raw message

drivers/staging/wimax/i2400m/usb-rx.c deleted +0 -462

462 lines not on this page · raw message

drivers/staging/wimax/i2400m/usb-tx.c deleted +0 -273

273 lines not on this page · raw message

drivers/staging/wimax/i2400m/usb.c deleted +0 -765

765 lines not on this page · raw message

drivers/staging/wimax/id-table.c deleted +0 -130

130 lines not on this page · raw message

drivers/staging/wimax/linux-wimax-debug.h deleted +0 -491

491 lines not on this page · raw message

drivers/staging/wimax/linux-wimax.h deleted +0 -239

239 lines not on this page · raw message

drivers/staging/wimax/net-wimax.h deleted +0 -503

503 lines not on this page · raw message

drivers/staging/wimax/op-msg.c deleted +0 -391

391 lines not on this page · raw message

drivers/staging/wimax/op-reset.c deleted +0 -108

108 lines not on this page · raw message

drivers/staging/wimax/op-rfkill.c deleted +0 -432

432 lines not on this page · raw message

drivers/staging/wimax/op-state-get.c deleted +0 -52

52 lines not on this page · raw message

drivers/staging/wimax/stack.c deleted +0 -604

604 lines not on this page · raw message

drivers/staging/wimax/wimax-internal.h deleted +0 -85

85 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.30.2

Part of the diff is not shown here. View the raw message.