USB: Move wusbcore and UWB to staging as it is obsolete
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Aug 2019 10:15:09 +0000 (12:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Aug 2019 05:52:01 +0000 (07:52 +0200)
The UWB and wusbcore code is long obsolete, so let us just move the code
out of the real part of the kernel and into the drivers/staging/
location with plans to remove it entirely in a few releases.

Link: https://lore.kernel.org/r/20190806101509.GA11280@kroah.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
91 files changed:
MAINTAINERS
drivers/Kconfig
drivers/Makefile
drivers/staging/Kconfig
drivers/staging/Makefile
drivers/staging/uwb/Kconfig [moved from drivers/uwb/Kconfig with 100% similarity]
drivers/staging/uwb/Makefile [moved from drivers/uwb/Makefile with 100% similarity]
drivers/staging/uwb/TODO [new file with mode: 0644]
drivers/staging/uwb/address.c [moved from drivers/uwb/address.c with 100% similarity]
drivers/staging/uwb/allocator.c [moved from drivers/uwb/allocator.c with 99% similarity]
drivers/staging/uwb/beacon.c [moved from drivers/uwb/beacon.c with 100% similarity]
drivers/staging/uwb/driver.c [moved from drivers/uwb/driver.c with 100% similarity]
drivers/staging/uwb/drp-avail.c [moved from drivers/uwb/drp-avail.c with 100% similarity]
drivers/staging/uwb/drp-ie.c [moved from drivers/uwb/drp-ie.c with 99% similarity]
drivers/staging/uwb/drp.c [moved from drivers/uwb/drp.c with 100% similarity]
drivers/staging/uwb/est.c [moved from drivers/uwb/est.c with 100% similarity]
drivers/staging/uwb/hwa-rc.c [moved from drivers/uwb/hwa-rc.c with 99% similarity]
drivers/staging/uwb/i1480/Makefile [moved from drivers/uwb/i1480/Makefile with 100% similarity]
drivers/staging/uwb/i1480/dfu/Makefile [moved from drivers/uwb/i1480/dfu/Makefile with 100% similarity]
drivers/staging/uwb/i1480/dfu/dfu.c [moved from drivers/uwb/i1480/dfu/dfu.c with 99% similarity]
drivers/staging/uwb/i1480/dfu/i1480-dfu.h [moved from drivers/uwb/i1480/dfu/i1480-dfu.h with 99% similarity]
drivers/staging/uwb/i1480/dfu/mac.c [moved from drivers/uwb/i1480/dfu/mac.c with 99% similarity]
drivers/staging/uwb/i1480/dfu/phy.c [moved from drivers/uwb/i1480/dfu/phy.c with 99% similarity]
drivers/staging/uwb/i1480/dfu/usb.c [moved from drivers/uwb/i1480/dfu/usb.c with 99% similarity]
drivers/staging/uwb/i1480/i1480-est.c [moved from drivers/uwb/i1480/i1480-est.c with 99% similarity]
drivers/staging/uwb/ie-rcv.c [moved from drivers/uwb/ie-rcv.c with 100% similarity]
drivers/staging/uwb/ie.c [moved from drivers/uwb/ie.c with 100% similarity]
drivers/staging/uwb/include/debug-cmd.h [moved from include/linux/uwb/debug-cmd.h with 100% similarity]
drivers/staging/uwb/include/spec.h [moved from include/linux/uwb/spec.h with 100% similarity]
drivers/staging/uwb/include/umc.h [moved from include/linux/uwb/umc.h with 100% similarity]
drivers/staging/uwb/include/whci.h [moved from include/linux/uwb/whci.h with 100% similarity]
drivers/staging/uwb/lc-dev.c [moved from drivers/uwb/lc-dev.c with 100% similarity]
drivers/staging/uwb/lc-rc.c [moved from drivers/uwb/lc-rc.c with 100% similarity]
drivers/staging/uwb/neh.c [moved from drivers/uwb/neh.c with 100% similarity]
drivers/staging/uwb/pal.c [moved from drivers/uwb/pal.c with 99% similarity]
drivers/staging/uwb/radio.c [moved from drivers/uwb/radio.c with 99% similarity]
drivers/staging/uwb/reset.c [moved from drivers/uwb/reset.c with 100% similarity]
drivers/staging/uwb/rsv.c [moved from drivers/uwb/rsv.c with 99% similarity]
drivers/staging/uwb/scan.c [moved from drivers/uwb/scan.c with 100% similarity]
drivers/staging/uwb/umc-bus.c [moved from drivers/uwb/umc-bus.c with 99% similarity]
drivers/staging/uwb/umc-dev.c [moved from drivers/uwb/umc-dev.c with 98% similarity]
drivers/staging/uwb/umc-drv.c [moved from drivers/uwb/umc-drv.c with 96% similarity]
drivers/staging/uwb/uwb-debug.c [moved from drivers/uwb/uwb-debug.c with 99% similarity]
drivers/staging/uwb/uwb-internal.h [moved from drivers/uwb/uwb-internal.h with 99% similarity]
drivers/staging/uwb/uwb.h [moved from include/linux/uwb.h with 99% similarity]
drivers/staging/uwb/uwbd.c [moved from drivers/uwb/uwbd.c with 100% similarity]
drivers/staging/uwb/whc-rc.c [moved from drivers/uwb/whc-rc.c with 99% similarity]
drivers/staging/uwb/whci.c [moved from drivers/uwb/whci.c with 99% similarity]
drivers/staging/wusbcore/Documentation/wusb-cbaf [moved from Documentation/usb/wusb-cbaf with 100% similarity]
drivers/staging/wusbcore/Documentation/wusb-design-overview.rst [moved from Documentation/usb/wusb-design-overview.rst with 100% similarity]
drivers/staging/wusbcore/Kconfig [moved from drivers/usb/wusbcore/Kconfig with 95% similarity]
drivers/staging/wusbcore/Makefile [moved from drivers/usb/wusbcore/Makefile with 96% similarity]
drivers/staging/wusbcore/TODO [new file with mode: 0644]
drivers/staging/wusbcore/cbaf.c [moved from drivers/usb/wusbcore/cbaf.c with 99% similarity]
drivers/staging/wusbcore/crypto.c [moved from drivers/usb/wusbcore/crypto.c with 99% similarity]
drivers/staging/wusbcore/dev-sysfs.c [moved from drivers/usb/wusbcore/dev-sysfs.c with 100% similarity]
drivers/staging/wusbcore/devconnect.c [moved from drivers/usb/wusbcore/devconnect.c with 100% similarity]
drivers/staging/wusbcore/host/Kconfig [new file with mode: 0644]
drivers/staging/wusbcore/host/Makefile [new file with mode: 0644]
drivers/staging/wusbcore/host/hwa-hc.c [moved from drivers/usb/host/hwa-hc.c with 99% similarity]
drivers/staging/wusbcore/host/whci/Makefile [moved from drivers/usb/host/whci/Makefile with 100% similarity]
drivers/staging/wusbcore/host/whci/asl.c [moved from drivers/usb/host/whci/asl.c with 99% similarity]
drivers/staging/wusbcore/host/whci/debug.c [moved from drivers/usb/host/whci/debug.c with 99% similarity]
drivers/staging/wusbcore/host/whci/hcd.c [moved from drivers/usb/host/whci/hcd.c with 99% similarity]
drivers/staging/wusbcore/host/whci/hw.c [moved from drivers/usb/host/whci/hw.c with 97% similarity]
drivers/staging/wusbcore/host/whci/init.c [moved from drivers/usb/host/whci/init.c with 98% similarity]
drivers/staging/wusbcore/host/whci/int.c [moved from drivers/usb/host/whci/int.c with 96% similarity]
drivers/staging/wusbcore/host/whci/pzl.c [moved from drivers/usb/host/whci/pzl.c with 99% similarity]
drivers/staging/wusbcore/host/whci/qset.c [moved from drivers/usb/host/whci/qset.c with 99% similarity]
drivers/staging/wusbcore/host/whci/whcd.h [moved from drivers/usb/host/whci/whcd.h with 98% similarity]
drivers/staging/wusbcore/host/whci/whci-hc.h [moved from drivers/usb/host/whci/whci-hc.h with 100% similarity]
drivers/staging/wusbcore/host/whci/wusb.c [moved from drivers/usb/host/whci/wusb.c with 98% similarity]
drivers/staging/wusbcore/include/association.h [moved from include/linux/usb/association.h with 100% similarity]
drivers/staging/wusbcore/include/wusb-wa.h [moved from include/linux/usb/wusb-wa.h with 100% similarity]
drivers/staging/wusbcore/include/wusb.h [moved from include/linux/usb/wusb.h with 99% similarity]
drivers/staging/wusbcore/mmc.c [moved from drivers/usb/wusbcore/mmc.c with 99% similarity]
drivers/staging/wusbcore/pal.c [moved from drivers/usb/wusbcore/pal.c with 100% similarity]
drivers/staging/wusbcore/reservation.c [moved from drivers/usb/wusbcore/reservation.c with 99% similarity]
drivers/staging/wusbcore/rh.c [moved from drivers/usb/wusbcore/rh.c with 100% similarity]
drivers/staging/wusbcore/security.c [moved from drivers/usb/wusbcore/security.c with 100% similarity]
drivers/staging/wusbcore/wa-hc.c [moved from drivers/usb/wusbcore/wa-hc.c with 100% similarity]
drivers/staging/wusbcore/wa-hc.h [moved from drivers/usb/wusbcore/wa-hc.h with 99% similarity]
drivers/staging/wusbcore/wa-nep.c [moved from drivers/usb/wusbcore/wa-nep.c with 100% similarity]
drivers/staging/wusbcore/wa-rpipe.c [moved from drivers/usb/wusbcore/wa-rpipe.c with 100% similarity]
drivers/staging/wusbcore/wa-xfer.c [moved from drivers/usb/wusbcore/wa-xfer.c with 100% similarity]
drivers/staging/wusbcore/wusbhc.c [moved from drivers/usb/wusbcore/wusbhc.c with 100% similarity]
drivers/staging/wusbcore/wusbhc.h [moved from drivers/usb/wusbcore/wusbhc.h with 99% similarity]
drivers/usb/Kconfig
drivers/usb/Makefile
drivers/usb/host/Kconfig
drivers/usb/host/Makefile

index 6426db5..f4463fb 100644 (file)
@@ -3800,14 +3800,9 @@ F:       scripts/sign-file.c
 F:     scripts/extract-cert.c
 
 CERTIFIED WIRELESS USB (WUSB) SUBSYSTEM:
-L:     linux-usb@vger.kernel.org
+L:     devel@driverdev.osuosl.org
 S:     Orphan
-F:     Documentation/usb/wusb-design-overview.rst
-F:     Documentation/usb/wusb-cbaf
-F:     drivers/usb/host/hwa-hc.c
-F:     drivers/usb/host/whci/
-F:     drivers/usb/wusbcore/
-F:     include/linux/usb/wusb*
+F:     drivers/staging/wbusbcore/
 
 CFAG12864B LCD DRIVER
 M:     Miguel Ojeda Sandonis <miguel.ojeda.sandonis@gmail.com>
@@ -16447,11 +16442,9 @@ F:     drivers/usb/common/ulpi.c
 F:     include/linux/ulpi/
 
 ULTRA-WIDEBAND (UWB) SUBSYSTEM:
-L:     linux-usb@vger.kernel.org
+L:     devel@driverdev.osuosl.org
 S:     Orphan
-F:     drivers/uwb/
-F:     include/linux/uwb.h
-F:     include/linux/uwb/
+F:     drivers/staging/uwb/
 
 UNICODE SUBSYSTEM:
 M:     Gabriel Krisman Bertazi <krisman@collabora.com>
index 61cf4ea..e8852c0 100644 (file)
@@ -108,8 +108,6 @@ source "drivers/hid/Kconfig"
 
 source "drivers/usb/Kconfig"
 
-source "drivers/uwb/Kconfig"
-
 source "drivers/mmc/Kconfig"
 
 source "drivers/memstick/Kconfig"
index 6d37564..cf046e9 100644 (file)
@@ -100,7 +100,6 @@ obj-$(CONFIG_ZORRO)         += zorro/
 obj-$(CONFIG_ATA_OVER_ETH)     += block/aoe/
 obj-$(CONFIG_PARIDE)           += block/paride/
 obj-$(CONFIG_TC)               += tc/
-obj-$(CONFIG_UWB)              += uwb/
 obj-$(CONFIG_USB_PHY)          += usb/
 obj-$(CONFIG_USB)              += usb/
 obj-$(CONFIG_USB_SUPPORT)      += usb/
index 7c96a01..cf419d9 100644 (file)
@@ -120,4 +120,7 @@ source "drivers/staging/kpc2000/Kconfig"
 
 source "drivers/staging/isdn/Kconfig"
 
+source "drivers/staging/wusbcore/Kconfig"
+source "drivers/staging/uwb/Kconfig"
+
 endif # STAGING
index fcaac96..38179bc 100644 (file)
@@ -50,3 +50,5 @@ obj-$(CONFIG_EROFS_FS)                += erofs/
 obj-$(CONFIG_FIELDBUS_DEV)     += fieldbus/
 obj-$(CONFIG_KPC2000)          += kpc2000/
 obj-$(CONFIG_ISDN_CAPI)                += isdn/
+obj-$(CONFIG_UWB)              += uwb/
+obj-$(CONFIG_USB_WUSB)         += wusbcore/
diff --git a/drivers/staging/uwb/TODO b/drivers/staging/uwb/TODO
new file mode 100644 (file)
index 0000000..abae570
--- /dev/null
@@ -0,0 +1,8 @@
+TODO: Remove in late 2019 unless there are users
+
+There seems to not be any real wireless USB devices anywhere in the wild
+anymore.  It turned out to be a failed technology :(
+
+This will be removed from the tree if no one objects.
+
+Greg Kroah-Hartman <gregkh@linuxfoundation.org>
similarity index 99%
rename from drivers/uwb/allocator.c
rename to drivers/staging/uwb/allocator.c
index 2e15901..1f429fb 100644 (file)
@@ -6,7 +6,7 @@
  */
 #include <linux/kernel.h>
 #include <linux/slab.h>
-#include <linux/uwb.h>
+#include "uwb.h"
 
 #include "uwb-internal.h"
 
similarity index 99%
rename from drivers/uwb/drp-ie.c
rename to drivers/staging/uwb/drp-ie.c
index 4b545b4..b2a862c 100644 (file)
@@ -8,8 +8,8 @@
 #include <linux/kernel.h>
 #include <linux/random.h>
 #include <linux/slab.h>
-#include <linux/uwb.h>
 
+#include "uwb.h"
 #include "uwb-internal.h"
 
 
similarity index 100%
rename from drivers/uwb/drp.c
rename to drivers/staging/uwb/drp.c
similarity index 100%
rename from drivers/uwb/est.c
rename to drivers/staging/uwb/est.c
similarity index 99%
rename from drivers/uwb/hwa-rc.c
rename to drivers/staging/uwb/hwa-rc.c
index cd03b7f..b6effad 100644 (file)
@@ -38,9 +38,9 @@
 #include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/usb.h>
-#include <linux/usb/wusb.h>
-#include <linux/usb/wusb-wa.h>
-#include <linux/uwb.h>
+#include "../wusbcore/include/wusb.h"
+#include "../wusbcore/include/wusb-wa.h"
+#include "uwb.h"
 
 #include "uwb-internal.h"
 
similarity index 99%
rename from drivers/uwb/i1480/dfu/dfu.c
rename to drivers/staging/uwb/i1480/dfu/dfu.c
index ec1af85..9d51ce8 100644 (file)
@@ -17,9 +17,9 @@
 #include <linux/delay.h>
 #include <linux/pci.h>
 #include <linux/device.h>
-#include <linux/uwb.h>
 #include <linux/random.h>
 #include <linux/export.h>
+#include "../../uwb.h"
 
 /*
  * i1480_rceb_check - Check RCEB for expected field values
similarity index 99%
rename from drivers/uwb/i1480/dfu/i1480-dfu.h
rename to drivers/staging/uwb/i1480/dfu/i1480-dfu.h
index 9dd567d..b21d058 100644 (file)
@@ -50,9 +50,9 @@
 #ifndef __i1480_DFU_H__
 #define __i1480_DFU_H__
 
-#include <linux/uwb/spec.h>
 #include <linux/types.h>
 #include <linux/completion.h>
+#include "../../include/spec.h"
 
 #define i1480_FW_UPLOAD_MODE_MASK (cpu_to_le32(0x00000018))
 
similarity index 99%
rename from drivers/uwb/i1480/dfu/mac.c
rename to drivers/staging/uwb/i1480/dfu/mac.c
index ddc224f..6e4d6c9 100644 (file)
@@ -15,7 +15,7 @@
 #include <linux/delay.h>
 #include <linux/firmware.h>
 #include <linux/slab.h>
-#include <linux/uwb.h>
+#include "../../uwb.h"
 #include "i1480-dfu.h"
 
 /*
similarity index 99%
rename from drivers/uwb/i1480/dfu/phy.c
rename to drivers/staging/uwb/i1480/dfu/phy.c
index 50da452..13512c7 100644 (file)
@@ -15,7 +15,7 @@
 #include <linux/delay.h>
 #include <linux/device.h>
 #include <linux/firmware.h>
-#include <linux/usb/wusb.h>
+#include "../../../wusbcore/include/wusb.h"
 #include "i1480-dfu.h"
 
 
similarity index 99%
rename from drivers/uwb/i1480/dfu/usb.c
rename to drivers/staging/uwb/i1480/dfu/usb.c
index 6129a8f..d41086b 100644 (file)
@@ -25,9 +25,9 @@
 #include <linux/interrupt.h>
 #include <linux/slab.h>
 #include <linux/delay.h>
-#include <linux/uwb.h>
-#include <linux/usb/wusb.h>
-#include <linux/usb/wusb-wa.h>
+#include "../../uwb.h"
+#include "../../../wusbcore/include/wusb.h"
+#include "../../../wusbcore/include/wusb-wa.h"
 #include "i1480-dfu.h"
 
 struct i1480_usb {
similarity index 99%
rename from drivers/uwb/i1480/i1480-est.c
rename to drivers/staging/uwb/i1480/i1480-est.c
index 1346c40..106e0a4 100644 (file)
@@ -12,7 +12,7 @@
 #include <linux/init.h>
 #include <linux/module.h>
 #include <linux/usb.h>
-#include <linux/uwb.h>
+#include "../uwb.h"
 #include "dfu/i1480-dfu.h"
 
 
similarity index 100%
rename from drivers/uwb/ie.c
rename to drivers/staging/uwb/ie.c
similarity index 100%
rename from drivers/uwb/neh.c
rename to drivers/staging/uwb/neh.c
similarity index 99%
rename from drivers/uwb/pal.c
rename to drivers/staging/uwb/pal.c
index 765fd42..a541e64 100644 (file)
@@ -6,9 +6,9 @@
  */
 #include <linux/kernel.h>
 #include <linux/debugfs.h>
-#include <linux/uwb.h>
 #include <linux/export.h>
 
+#include "uwb.h"
 #include "uwb-internal.h"
 
 /**
similarity index 99%
rename from drivers/uwb/radio.c
rename to drivers/staging/uwb/radio.c
index 240dd75..6afb75c 100644 (file)
@@ -5,9 +5,9 @@
  * Copyright (C) 2008 Cambridge Silicon Radio Ltd.
  */
 #include <linux/kernel.h>
-#include <linux/uwb.h>
 #include <linux/export.h>
 
+#include "uwb.h"
 #include "uwb-internal.h"
 
 
similarity index 99%
rename from drivers/uwb/rsv.c
rename to drivers/staging/uwb/rsv.c
index ec924de..f45a04f 100644 (file)
@@ -5,11 +5,11 @@
  * Copyright (C) 2008 Cambridge Silicon Radio Ltd.
  */
 #include <linux/kernel.h>
-#include <linux/uwb.h>
 #include <linux/slab.h>
 #include <linux/random.h>
 #include <linux/export.h>
 
+#include "uwb.h"
 #include "uwb-internal.h"
 
 static void uwb_rsv_timer(struct timer_list *t);
similarity index 99%
rename from drivers/uwb/umc-bus.c
rename to drivers/staging/uwb/umc-bus.c
index 0fdc380..8b931f6 100644 (file)
@@ -8,8 +8,8 @@
 #include <linux/sysfs.h>
 #include <linux/workqueue.h>
 #include <linux/module.h>
-#include <linux/uwb/umc.h>
 #include <linux/pci.h>
+#include "include/umc.h"
 
 static int umc_bus_pre_reset_helper(struct device *dev, void *data)
 {
similarity index 98%
rename from drivers/uwb/umc-dev.c
rename to drivers/staging/uwb/umc-dev.c
index c845ca4..0c71caa 100644 (file)
@@ -7,7 +7,7 @@
 #include <linux/kernel.h>
 #include <linux/export.h>
 #include <linux/slab.h>
-#include <linux/uwb/umc.h>
+#include "include/umc.h"
 
 static void umc_device_release(struct device *dev)
 {
similarity index 96%
rename from drivers/uwb/umc-drv.c
rename to drivers/staging/uwb/umc-drv.c
index b141d52..ed3bd22 100644 (file)
@@ -6,7 +6,7 @@
  */
 #include <linux/kernel.h>
 #include <linux/export.h>
-#include <linux/uwb/umc.h>
+#include "include/umc.h"
 
 int __umc_driver_register(struct umc_driver *umc_drv, struct module *module,
                          const char *mod_name)
similarity index 99%
rename from drivers/uwb/uwb-debug.c
rename to drivers/staging/uwb/uwb-debug.c
index 5457b6d..dd14df2 100644 (file)
@@ -19,8 +19,7 @@
 #include <linux/uaccess.h>
 #include <linux/seq_file.h>
 
-#include <linux/uwb/debug-cmd.h>
-
+#include "include/debug-cmd.h"
 #include "uwb-internal.h"
 
 /*
similarity index 99%
rename from drivers/uwb/uwb-internal.h
rename to drivers/staging/uwb/uwb-internal.h
index 00de0a5..4c2fdac 100644 (file)
@@ -17,8 +17,8 @@
 
 #include <linux/kernel.h>
 #include <linux/device.h>
-#include <linux/uwb.h>
 #include <linux/mutex.h>
+#include "uwb.h"
 
 struct uwb_beca_e;
 
similarity index 99%
rename from include/linux/uwb.h
rename to drivers/staging/uwb/uwb.h
index 6918a61..6a59706 100644 (file)
@@ -18,8 +18,8 @@
 #include <linux/timer.h>
 #include <linux/wait.h>
 #include <linux/workqueue.h>
-#include <linux/uwb/spec.h>
 #include <asm/page.h>
+#include "include/spec.h"
 
 struct uwb_dev;
 struct uwb_beca_e;
similarity index 99%
rename from drivers/uwb/whc-rc.c
rename to drivers/staging/uwb/whc-rc.c
index 22397f7..34020ed 100644 (file)
@@ -33,9 +33,9 @@
 #include <linux/interrupt.h>
 #include <linux/slab.h>
 #include <linux/workqueue.h>
-#include <linux/uwb.h>
-#include <linux/uwb/whci.h>
-#include <linux/uwb/umc.h>
+#include "uwb.h"
+#include "include/whci.h"
+#include "include/umc.h"
 
 #include "uwb-internal.h"
 
similarity index 99%
rename from drivers/uwb/whci.c
rename to drivers/staging/uwb/whci.c
index be8a8b8..a8832f6 100644 (file)
@@ -10,8 +10,8 @@
 #include <linux/pci.h>
 #include <linux/dma-mapping.h>
 #include <linux/slab.h>
-#include <linux/uwb/whci.h>
-#include <linux/uwb/umc.h>
+#include "include/whci.h"
+#include "include/umc.h"
 
 struct whci_card {
        struct pci_dev *pci;
similarity index 95%
rename from drivers/usb/wusbcore/Kconfig
rename to drivers/staging/wusbcore/Kconfig
index abc0f36..056c60b 100644 (file)
@@ -36,3 +36,4 @@ config USB_WUSB_CBAF_DEBUG
          to the system log. Select this if you are having a problem with
          CBA support and want to see more of what is going on.
 
+source "drivers/staging/wusbcore/host/Kconfig"
similarity index 96%
rename from drivers/usb/wusbcore/Makefile
rename to drivers/staging/wusbcore/Makefile
index d604ccd..b47b874 100644 (file)
@@ -24,3 +24,5 @@ wusb-wa-y :=          \
        wa-nep.o        \
        wa-rpipe.o      \
        wa-xfer.o
+
+obj-y  += host/
diff --git a/drivers/staging/wusbcore/TODO b/drivers/staging/wusbcore/TODO
new file mode 100644 (file)
index 0000000..abae570
--- /dev/null
@@ -0,0 +1,8 @@
+TODO: Remove in late 2019 unless there are users
+
+There seems to not be any real wireless USB devices anywhere in the wild
+anymore.  It turned out to be a failed technology :(
+
+This will be removed from the tree if no one objects.
+
+Greg Kroah-Hartman <gregkh@linuxfoundation.org>
similarity index 99%
rename from drivers/usb/wusbcore/cbaf.c
rename to drivers/staging/wusbcore/cbaf.c
index af77064..57062ea 100644 (file)
@@ -80,9 +80,9 @@
 #include <linux/random.h>
 #include <linux/slab.h>
 #include <linux/mutex.h>
-#include <linux/uwb.h>
-#include <linux/usb/wusb.h>
-#include <linux/usb/association.h>
+#include "../uwb/uwb.h"
+#include "include/wusb.h"
+#include "include/association.h"
 
 #define CBA_NAME_LEN 0x40 /* [WUSB-AM] table 4-7 */
 
similarity index 99%
rename from drivers/usb/wusbcore/crypto.c
rename to drivers/staging/wusbcore/crypto.c
index 9ee6648..d7d55ed 100644 (file)
 #include <linux/crypto.h>
 #include <linux/module.h>
 #include <linux/err.h>
-#include <linux/uwb.h>
 #include <linux/slab.h>
-#include <linux/usb/wusb.h>
 #include <linux/scatterlist.h>
+#include "../uwb/uwb.h"
+#include "include/wusb.h"
 
 static int debug_crypto_verify;
 
diff --git a/drivers/staging/wusbcore/host/Kconfig b/drivers/staging/wusbcore/host/Kconfig
new file mode 100644 (file)
index 0000000..9a73f93
--- /dev/null
@@ -0,0 +1,28 @@
+# SPDX-License-Identifier: GPL-2.0
+
+config USB_WHCI_HCD
+       tristate "Wireless USB Host Controller Interface (WHCI) driver"
+       depends on USB_PCI && USB && UWB
+       select USB_WUSB
+       select UWB_WHCI
+       help
+         A driver for PCI-based Wireless USB Host Controllers that are
+         compliant with the WHCI specification.
+
+         To compile this driver a module, choose M here: the module
+         will be called "whci-hcd".
+
+config USB_HWA_HCD
+       tristate "Host Wire Adapter (HWA) driver"
+       depends on USB && UWB
+       select USB_WUSB
+       select UWB_HWA
+       help
+         This driver enables you to connect Wireless USB devices to
+         your system using a Host Wire Adaptor USB dongle. This is an
+         UWB Radio Controller and WUSB Host Controller connected to
+         your machine via USB (specified in WUSB1.0).
+
+         To compile this driver a module, choose M here: the module
+         will be called "hwa-hc".
+
diff --git a/drivers/staging/wusbcore/host/Makefile b/drivers/staging/wusbcore/host/Makefile
new file mode 100644 (file)
index 0000000..d65ee8a
--- /dev/null
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
+obj-$(CONFIG_USB_WHCI_HCD)     += whci/
+obj-$(CONFIG_USB_HWA_HCD)      += hwa-hc.o
similarity index 99%
rename from drivers/usb/host/hwa-hc.c
rename to drivers/staging/wusbcore/host/hwa-hc.c
index 6968b9f..8d959e9 100644 (file)
@@ -45,8 +45,8 @@
 #include <linux/workqueue.h>
 #include <linux/wait.h>
 #include <linux/completion.h>
-#include "../wusbcore/wa-hc.h"
-#include "../wusbcore/wusbhc.h"
+#include "../wa-hc.h"
+#include "../wusbhc.h"
 
 struct hwahc {
        struct wusbhc wusbhc;   /* has to be 1st */
similarity index 99%
rename from drivers/usb/host/whci/asl.c
rename to drivers/staging/wusbcore/host/whci/asl.c
index 276fb34..a2b9a50 100644 (file)
@@ -7,10 +7,10 @@
 #include <linux/kernel.h>
 #include <linux/gfp.h>
 #include <linux/dma-mapping.h>
-#include <linux/uwb/umc.h>
 #include <linux/usb.h>
 
-#include "../../wusbcore/wusbhc.h"
+#include "../../../uwb/include/umc.h"
+#include "../../wusbhc.h"
 
 #include "whcd.h"
 
similarity index 99%
rename from drivers/usb/host/whci/debug.c
rename to drivers/staging/wusbcore/host/whci/debug.c
index 8ddfe3f..443da67 100644 (file)
@@ -10,7 +10,7 @@
 #include <linux/seq_file.h>
 #include <linux/export.h>
 
-#include "../../wusbcore/wusbhc.h"
+#include "../../wusbhc.h"
 
 #include "whcd.h"
 
similarity index 99%
rename from drivers/usb/host/whci/hcd.c
rename to drivers/staging/wusbcore/host/whci/hcd.c
index 8af9dcf..bee1ff2 100644 (file)
@@ -7,9 +7,9 @@
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/module.h>
-#include <linux/uwb/umc.h>
 
-#include "../../wusbcore/wusbhc.h"
+#include "../../../uwb/include/umc.h"
+#include "../../wusbhc.h"
 
 #include "whcd.h"
 
similarity index 97%
rename from drivers/usb/host/whci/hw.c
rename to drivers/staging/wusbcore/host/whci/hw.c
index 22b3b7f..e4e8914 100644 (file)
@@ -6,9 +6,9 @@
  */
 #include <linux/kernel.h>
 #include <linux/dma-mapping.h>
-#include <linux/uwb/umc.h>
 
-#include "../../wusbcore/wusbhc.h"
+#include "../../../uwb/include/umc.h"
+#include "../../wusbhc.h"
 
 #include "whcd.h"
 
similarity index 98%
rename from drivers/usb/host/whci/init.c
rename to drivers/staging/wusbcore/host/whci/init.c
index 8241697..55fd458 100644 (file)
@@ -7,9 +7,9 @@
 #include <linux/kernel.h>
 #include <linux/gfp.h>
 #include <linux/dma-mapping.h>
-#include <linux/uwb/umc.h>
 
-#include "../../wusbcore/wusbhc.h"
+#include "../../../uwb/include/umc.h"
+#include "../../wusbhc.h"
 
 #include "whcd.h"
 
similarity index 96%
rename from drivers/usb/host/whci/int.c
rename to drivers/staging/wusbcore/host/whci/int.c
index 7e4ad1b..bdbe35e 100644 (file)
@@ -5,9 +5,9 @@
  * Copyright (C) 2007 Cambridge Silicon Radio Ltd.
  */
 #include <linux/kernel.h>
-#include <linux/uwb/umc.h>
 
-#include "../../wusbcore/wusbhc.h"
+#include "../../../uwb/include/umc.h"
+#include "../../wusbhc.h"
 
 #include "whcd.h"
 
similarity index 99%
rename from drivers/usb/host/whci/pzl.c
rename to drivers/staging/wusbcore/host/whci/pzl.c
index ef52aeb..6dfc075 100644 (file)
@@ -7,10 +7,10 @@
 #include <linux/kernel.h>
 #include <linux/gfp.h>
 #include <linux/dma-mapping.h>
-#include <linux/uwb/umc.h>
 #include <linux/usb.h>
 
-#include "../../wusbcore/wusbhc.h"
+#include "../../../uwb/include/umc.h"
+#include "../../wusbhc.h"
 
 #include "whcd.h"
 
similarity index 99%
rename from drivers/usb/host/whci/qset.c
rename to drivers/staging/wusbcore/host/whci/qset.c
index 925166a..66459b7 100644 (file)
@@ -7,10 +7,10 @@
 #include <linux/kernel.h>
 #include <linux/dma-mapping.h>
 #include <linux/slab.h>
-#include <linux/uwb/umc.h>
 #include <linux/usb.h>
 
-#include "../../wusbcore/wusbhc.h"
+#include "../../../uwb/include/umc.h"
+#include "../../wusbhc.h"
 
 #include "whcd.h"
 
similarity index 98%
rename from drivers/usb/host/whci/whcd.h
rename to drivers/staging/wusbcore/host/whci/whcd.h
index 1394769..a442a25 100644 (file)
@@ -7,10 +7,10 @@
 #ifndef __WHCD_H
 #define __WHCD_H
 
-#include <linux/uwb/whci.h>
-#include <linux/uwb/umc.h>
 #include <linux/workqueue.h>
 
+#include "../../../uwb/include/whci.h"
+#include "../../../uwb/include/umc.h"
 #include "whci-hc.h"
 
 /* Generic command timeout. */
similarity index 98%
rename from drivers/usb/host/whci/wusb.c
rename to drivers/staging/wusbcore/host/whci/wusb.c
index 8a4d805..6d0068a 100644 (file)
@@ -5,9 +5,9 @@
  * Copyright (C) 2007 Cambridge Silicon Radio Ltd.
  */
 #include <linux/kernel.h>
-#include <linux/uwb/umc.h>
 
-#include "../../wusbcore/wusbhc.h"
+#include "../../../uwb/include/umc.h"
+#include "../../wusbhc.h"
 
 #include "whcd.h"
 
similarity index 99%
rename from include/linux/usb/wusb.h
rename to drivers/staging/wusbcore/include/wusb.h
index 65adee6..09771d1 100644 (file)
@@ -33,9 +33,9 @@
 
 #include <linux/types.h>
 #include <linux/kernel.h>
-#include <linux/uwb/spec.h>
 #include <linux/usb/ch9.h>
 #include <linux/param.h>
+#include "../../uwb/include/spec.h"
 
 /**
  * WUSB Information Element header
similarity index 99%
rename from drivers/usb/wusbcore/mmc.c
rename to drivers/staging/wusbcore/mmc.c
index acce0d5..881e1f2 100644 (file)
@@ -22,9 +22,9 @@
  * FIXME:
  *  - add timers that autoremove intervalled IEs?
  */
-#include <linux/usb/wusb.h>
 #include <linux/slab.h>
 #include <linux/export.h>
+#include "include/wusb.h"
 #include "wusbhc.h"
 
 /* Initialize the MMCIEs handling mechanism */
similarity index 99%
rename from drivers/usb/wusbcore/reservation.c
rename to drivers/staging/wusbcore/reservation.c
index 6dcfc68..b921faa 100644 (file)
@@ -5,8 +5,8 @@
  * Copyright (C) 2007 Cambridge Silicon Radio Ltd.
  */
 #include <linux/kernel.h>
-#include <linux/uwb.h>
 
+#include "../uwb/uwb.h"
 #include "wusbhc.h"
 
 /*
similarity index 99%
rename from drivers/usb/wusbcore/wa-hc.h
rename to drivers/staging/wusbcore/wa-hc.h
index ec90fff..5a38465 100644 (file)
@@ -70,9 +70,9 @@
 #include <linux/usb.h>
 #include <linux/mutex.h>
 #include <linux/spinlock.h>
-#include <linux/uwb.h>
-#include <linux/usb/wusb.h>
-#include <linux/usb/wusb-wa.h>
+#include "../uwb/uwb.h"
+#include "include/wusb.h"
+#include "include/wusb-wa.h"
 
 struct wusbhc;
 struct wahc;
similarity index 99%
rename from drivers/usb/wusbcore/wusbhc.h
rename to drivers/staging/wusbcore/wusbhc.h
index 7681d79..716244a 100644 (file)
@@ -45,8 +45,8 @@
 #include <linux/kref.h>
 #include <linux/workqueue.h>
 #include <linux/usb/hcd.h>
-#include <linux/uwb.h>
-#include <linux/usb/wusb.h>
+#include "../uwb/uwb.h"
+#include "include/wusb.h"
 
 /*
  * Time from a WUSB channel stop request to the last transmitted MMC.
index 6e59d37..9987c39 100644 (file)
@@ -98,8 +98,6 @@ source "drivers/usb/core/Kconfig"
 
 source "drivers/usb/mon/Kconfig"
 
-source "drivers/usb/wusbcore/Kconfig"
-
 source "drivers/usb/host/Kconfig"
 
 source "drivers/usb/renesas_usbhs/Kconfig"
index ecc2de1..db064dd 100644 (file)
@@ -35,8 +35,6 @@ obj-$(CONFIG_USB_MAX3421_HCD) += host/
 
 obj-$(CONFIG_USB_C67X00_HCD)   += c67x00/
 
-obj-$(CONFIG_USB_WUSB)         += wusbcore/
-
 obj-$(CONFIG_USB_ACM)          += class/
 obj-$(CONFIG_USB_PRINTER)      += class/
 obj-$(CONFIG_USB_WDM)          += class/
index 40b5de5..d040408 100644 (file)
@@ -717,32 +717,6 @@ config USB_RENESAS_USBHS_HCD
          To compile this driver as a module, choose M here: the
          module will be called renesas-usbhs.
 
-config USB_WHCI_HCD
-       tristate "Wireless USB Host Controller Interface (WHCI) driver"
-       depends on USB_PCI && USB && UWB
-       select USB_WUSB
-       select UWB_WHCI
-       help
-         A driver for PCI-based Wireless USB Host Controllers that are
-         compliant with the WHCI specification.
-
-         To compile this driver a module, choose M here: the module
-         will be called "whci-hcd".
-
-config USB_HWA_HCD
-       tristate "Host Wire Adapter (HWA) driver"
-       depends on USB && UWB
-       select USB_WUSB
-       select UWB_HWA
-       help
-         This driver enables you to connect Wireless USB devices to
-         your system using a Host Wire Adaptor USB dongle. This is an
-         UWB Radio Controller and WUSB Host Controller connected to
-         your machine via USB (specified in WUSB1.0).
-
-         To compile this driver a module, choose M here: the module
-         will be called "hwa-hc".
-
 config USB_IMX21_HCD
        tristate "i.MX21 HCD support"
        depends on ARM && ARCH_MXC
index 84514f7..59b39e6 100644 (file)
@@ -35,8 +35,6 @@ ifneq ($(CONFIG_DEBUG_FS),)
        xhci-hcd-y              += xhci-debugfs.o
 endif
 
-obj-$(CONFIG_USB_WHCI_HCD)     += whci/
-
 obj-$(CONFIG_USB_PCI)  += pci-quirks.o
 
 obj-$(CONFIG_USB_EHCI_HCD)     += ehci-hcd.o
@@ -82,7 +80,6 @@ obj-$(CONFIG_USB_SL811_HCD)   += sl811-hcd.o
 obj-$(CONFIG_USB_SL811_CS)     += sl811_cs.o
 obj-$(CONFIG_USB_U132_HCD)     += u132-hcd.o
 obj-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o
-obj-$(CONFIG_USB_HWA_HCD)      += hwa-hc.o
 obj-$(CONFIG_USB_IMX21_HCD)    += imx21-hcd.o
 obj-$(CONFIG_USB_FSL_USB2)     += fsl-mph-dr-of.o
 obj-$(CONFIG_USB_EHCI_FSL)     += fsl-mph-dr-of.o