[media] dabusb: Move it to staging to be deprecated
Mauro Carvalho Chehab [Mon, 27 Dec 2010 21:17:12 +0000 (18:17 -0300)]
dabusb driver were conceived as an experimental driver for a test
device. The driver never supported any shipped product, and, while
there were some updates on it in 2003, for an ancient product,
those changes were never submitted upstream.

Also, there's no DocBook for its API, nor any upstream discussion.

So, better to remove it, on .39. If later needed, we may rescue it
from git logs. For now, let's move it to staging.

Acked-by: Deti Fliegl <deti@fliegl.de>
Cc: Deti Fliegl <deti@fliegl.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

drivers/media/Kconfig
drivers/media/video/Makefile
drivers/staging/Kconfig
drivers/staging/Makefile
drivers/staging/dabusb/Kconfig [new file with mode: 0644]
drivers/staging/dabusb/Makefile [new file with mode: 0644]
drivers/staging/dabusb/TODO [new file with mode: 0644]
drivers/staging/dabusb/dabusb.c [moved from drivers/media/video/dabusb.c with 100% similarity]
drivers/staging/dabusb/dabusb.h [moved from drivers/media/video/dabusb.h with 100% similarity]

index 147c92b..81b3ba8 100644 (file)
@@ -92,26 +92,4 @@ source "drivers/media/radio/Kconfig"
 
 source "drivers/media/dvb/Kconfig"
 
-config DAB
-       boolean "DAB adapters"
-       ---help---
-         Allow selecting support for Digital Audio Broadcasting (DAB)
-         Receiver adapters.
-
-if DAB
-config USB_DABUSB
-       tristate "DABUSB driver"
-       depends on USB
-       ---help---
-         A Digital Audio Broadcasting (DAB) Receiver for USB and Linux
-         brought to you by the DAB-Team
-         <http://wwwbode.cs.tum.edu/Par/arch/dab/>.  This driver can be taken
-         as an example for URB-based bulk, control, and isochronous
-         transactions. URB's are explained in
-         <Documentation/usb/URB.txt>.
-
-         To compile this driver as a module, choose M here: the
-         module will be called dabusb.
-endif # DAB
-
 endif # MEDIA_SUPPORT
index fd684dd..98825e7 100644 (file)
@@ -121,7 +121,6 @@ obj-$(CONFIG_VIDEO_CAFE_CCIC) += cafe_ccic.o
 
 obj-$(CONFIG_VIDEO_VIA_CAMERA) += via-camera.o
 
-obj-$(CONFIG_USB_DABUSB)        += dabusb.o
 obj-$(CONFIG_USB_ZR364XX)       += zr364xx.o
 obj-$(CONFIG_USB_STKWEBCAM)     += stkwebcam.o
 
index 7e7b27b..648142e 100644 (file)
@@ -51,6 +51,8 @@ source "drivers/staging/cx25821/Kconfig"
 
 source "drivers/staging/tm6000/Kconfig"
 
+source "drivers/staging/dabusb/Kconfig"
+
 source "drivers/staging/se401/Kconfig"
 
 source "drivers/staging/usbvideo/Kconfig"
index 72e0c83..8185c00 100644 (file)
@@ -8,6 +8,7 @@ obj-$(CONFIG_SLICOSS)           += slicoss/
 obj-$(CONFIG_VIDEO_GO7007)     += go7007/
 obj-$(CONFIG_VIDEO_CX25821)    += cx25821/
 obj-$(CONFIG_VIDEO_TM6000)     += tm6000/
+obj-$(CONFIG_USB_DABUSB)        += dabusb/
 obj-$(CONFIG_USB_VICAM)         += usbvideo/
 obj-$(CONFIG_USB_SE401)         += se401/
 obj-$(CONFIG_LIRC_STAGING)     += lirc/
diff --git a/drivers/staging/dabusb/Kconfig b/drivers/staging/dabusb/Kconfig
new file mode 100644 (file)
index 0000000..87bdc42
--- /dev/null
@@ -0,0 +1,14 @@
+config USB_DABUSB
+       tristate "DABUSB driver"
+       depends on USB
+       ---help---
+         A Digital Audio Broadcasting (DAB) Receiver for USB and Linux
+         brought to you by the DAB-Team
+         <http://wwwbode.cs.tum.edu/Par/arch/dab/>.  This driver can be taken
+         as an example for URB-based bulk, control, and isochronous
+         transactions. URB's are explained in
+         <Documentation/usb/URB.txt>.
+
+         To compile this driver as a module, choose M here: the
+         module will be called dabusb.
+
diff --git a/drivers/staging/dabusb/Makefile b/drivers/staging/dabusb/Makefile
new file mode 100644 (file)
index 0000000..2ff2f22
--- /dev/null
@@ -0,0 +1,2 @@
+obj-$(CONFIG_USB_DABUSB)        += dabusb.o
+
diff --git a/drivers/staging/dabusb/TODO b/drivers/staging/dabusb/TODO
new file mode 100644 (file)
index 0000000..f9c0314
--- /dev/null
@@ -0,0 +1,5 @@
+This is a driver for an experimental sample developed in 2003. The driver
+never supported any commercial product, nor had any known user.
+If nobody takes care on it, the driver will be removed for 2.6.39.
+
+Please send patches to linux-media@vger.kernel.org