浏览代码

V4L/DVB (3599a): Move drivers/usb/media to drivers/media/video

Because of historic reasons, there are two separate directories with
V4L stuff. Most drivers are located at driver/media/video. However, some
code for USB Webcams were inserted under drivers/usb/media.

This makes difficult for module authors to know were things should be.
Also, makes Kconfig menu confusing for normal users.

This patch moves all V4L content under drivers/usb/media to
drivers/media/video, and fixes Kconfig/Makefile entries.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Mauro Carvalho Chehab 19 年之前
父节点
当前提交
9f6933be66
共有 64 个文件被更改,包括 281 次插入283 次删除
  1. 14 0
      drivers/media/Kconfig
  2. 230 2
      drivers/media/video/Kconfig
  3. 19 0
      drivers/media/video/Makefile
  4. 0 0
      drivers/media/video/dabfirmware.h
  5. 0 0
      drivers/media/video/dabusb.c
  6. 0 0
      drivers/media/video/dabusb.h
  7. 0 0
      drivers/media/video/dsbr100.c
  8. 4 0
      drivers/media/video/et61x251/Makefile
  9. 0 0
      drivers/media/video/et61x251/et61x251.h
  10. 0 0
      drivers/media/video/et61x251/et61x251_core.c
  11. 0 0
      drivers/media/video/et61x251/et61x251_sensor.h
  12. 0 0
      drivers/media/video/et61x251/et61x251_tas5130d1b.c
  13. 0 0
      drivers/media/video/ov511.c
  14. 0 0
      drivers/media/video/ov511.h
  15. 0 0
      drivers/media/video/pwc/Makefile
  16. 0 0
      drivers/media/video/pwc/philips.txt
  17. 0 0
      drivers/media/video/pwc/pwc-ctrl.c
  18. 0 0
      drivers/media/video/pwc/pwc-if.c
  19. 0 0
      drivers/media/video/pwc/pwc-ioctl.h
  20. 0 0
      drivers/media/video/pwc/pwc-kiara.c
  21. 0 0
      drivers/media/video/pwc/pwc-kiara.h
  22. 0 0
      drivers/media/video/pwc/pwc-misc.c
  23. 0 0
      drivers/media/video/pwc/pwc-nala.h
  24. 0 0
      drivers/media/video/pwc/pwc-timon.c
  25. 0 0
      drivers/media/video/pwc/pwc-timon.h
  26. 0 0
      drivers/media/video/pwc/pwc-uncompress.c
  27. 0 0
      drivers/media/video/pwc/pwc-uncompress.h
  28. 0 0
      drivers/media/video/pwc/pwc.h
  29. 0 0
      drivers/media/video/se401.c
  30. 0 0
      drivers/media/video/se401.h
  31. 7 0
      drivers/media/video/sn9c102/Makefile
  32. 0 0
      drivers/media/video/sn9c102/sn9c102.h
  33. 0 0
      drivers/media/video/sn9c102/sn9c102_core.c
  34. 0 0
      drivers/media/video/sn9c102/sn9c102_hv7131d.c
  35. 0 0
      drivers/media/video/sn9c102/sn9c102_mi0343.c
  36. 0 0
      drivers/media/video/sn9c102/sn9c102_ov7630.c
  37. 0 0
      drivers/media/video/sn9c102/sn9c102_pas106b.c
  38. 0 0
      drivers/media/video/sn9c102/sn9c102_pas202bca.c
  39. 0 0
      drivers/media/video/sn9c102/sn9c102_pas202bcb.c
  40. 0 0
      drivers/media/video/sn9c102/sn9c102_sensor.h
  41. 0 0
      drivers/media/video/sn9c102/sn9c102_tas5110c1b.c
  42. 0 0
      drivers/media/video/sn9c102/sn9c102_tas5130d1b.c
  43. 0 0
      drivers/media/video/stv680.c
  44. 0 0
      drivers/media/video/stv680.h
  45. 4 0
      drivers/media/video/usbvideo/Makefile
  46. 0 0
      drivers/media/video/usbvideo/ibmcam.c
  47. 0 0
      drivers/media/video/usbvideo/konicawc.c
  48. 0 0
      drivers/media/video/usbvideo/ultracam.c
  49. 0 0
      drivers/media/video/usbvideo/usbvideo.c
  50. 0 0
      drivers/media/video/usbvideo/usbvideo.h
  51. 0 0
      drivers/media/video/usbvideo/vicam.c
  52. 0 0
      drivers/media/video/w9968cf.c
  53. 0 0
      drivers/media/video/w9968cf.h
  54. 0 0
      drivers/media/video/w9968cf_decoder.h
  55. 0 0
      drivers/media/video/w9968cf_vpp.h
  56. 3 0
      drivers/media/video/zc0301/Makefile
  57. 0 0
      drivers/media/video/zc0301/zc0301.h
  58. 0 0
      drivers/media/video/zc0301/zc0301_core.c
  59. 0 0
      drivers/media/video/zc0301/zc0301_pas202bcb.c
  60. 0 0
      drivers/media/video/zc0301/zc0301_sensor.h
  61. 0 2
      drivers/usb/Kconfig
  62. 0 14
      drivers/usb/Makefile
  63. 0 241
      drivers/usb/media/Kconfig
  64. 0 24
      drivers/usb/media/Makefile

+ 14 - 0
drivers/media/Kconfig

@@ -50,5 +50,19 @@ config VIDEO_IR
 config VIDEO_TVEEPROM
 	tristate
 
+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.
+
 endmenu
 

+ 230 - 2
drivers/media/video/Kconfig

@@ -291,8 +291,6 @@ config VIDEO_HEXIUM_GEMINI
 
 source "drivers/media/video/cx88/Kconfig"
 
-source "drivers/media/video/em28xx/Kconfig"
-
 config VIDEO_OVCAMCHIP
 	tristate "OmniVision Camera Chip support"
 	depends on VIDEO_DEV && I2C
@@ -367,4 +365,234 @@ config VIDEO_SAA7127
 	  To compile this driver as a module, choose M here: the
 	  module will be called saa7127
 
+#
+# USB Multimedia device configuration
+#
+
+menu "V4L USB devices"
+        depends on USB && VIDEO_DEV
+
+source "drivers/media/video/em28xx/Kconfig"
+
+config USB_VICAM
+	tristate "USB 3com HomeConnect (aka vicam) support (EXPERIMENTAL)"
+	depends on USB && VIDEO_DEV && EXPERIMENTAL
+	---help---
+	  Say Y here if you have 3com homeconnect camera (vicam).
+
+	  This driver uses the Video For Linux API. You must say Y or M to
+	  "Video For Linux" (under Multimedia Devices) to use this driver.
+	  Information on this API and pointers to "v4l" programs may be found
+	  at <file:Documentation/video4linux/API.html>.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called vicam.
+
+config USB_DSBR
+	tristate "D-Link USB FM radio support (EXPERIMENTAL)"
+	depends on USB && VIDEO_DEV && EXPERIMENTAL
+	---help---
+	  Say Y here if you want to connect this type of radio to your
+	  computer's USB port. Note that the audio is not digital, and
+	  you must connect the line out connector to a sound card or a
+	  set of speakers.
+
+	  This driver uses the Video For Linux API.  You must enable
+	  (Y or M in config) Video For Linux (under Character Devices)
+	  to use this driver.  Information on this API and pointers to
+	  "v4l" programs may be found at
+	  <file:Documentation/video4linux/API.html>.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called dsbr100.
+
+config USB_ET61X251
+	tristate "USB ET61X[12]51 PC Camera Controller support"
+	depends on USB && VIDEO_DEV
+	---help---
+	  Say Y here if you want support for cameras based on Etoms ET61X151
+	  or ET61X251 PC Camera Controllers.
+
+	  See <file:Documentation/usb/et61x251.txt> for more informations.
+
+	  This driver uses the Video For Linux API. You must say Y or M to
+	  "Video For Linux" to use this driver.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called et61x251.
+
+config USB_IBMCAM
+	tristate "USB IBM (Xirlink) C-it Camera support"
+	depends on USB && VIDEO_DEV
+	---help---
+	  Say Y here if you want to connect a IBM "C-It" camera, also known as
+	  "Xirlink PC Camera" to your computer's USB port.  For more
+	  information, read <file:Documentation/usb/ibmcam.txt>.
+
+	  This driver uses the Video For Linux API.  You must enable
+	  (Y or M in config) Video For Linux (under Character Devices)
+	  to use this driver.  Information on this API and pointers to
+	  "v4l" programs may be found at
+	  <file:Documentation/video4linux/API.html>.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called ibmcam.
+
+	  This camera has several configuration options which
+	  can be specified when you load the module. Read
+	  <file:Documentation/usb/ibmcam.txt> to learn more.
+
+config USB_KONICAWC
+	tristate "USB Konica Webcam support"
+	depends on USB && VIDEO_DEV
+	---help---
+	  Say Y here if you want support for webcams based on a Konica
+	  chipset. This is known to work with the Intel YC76 webcam.
+
+	  This driver uses the Video For Linux API.  You must enable
+	  (Y or M in config) Video For Linux (under Character Devices)
+	  to use this driver.  Information on this API and pointers to
+	  "v4l" programs may be found at
+	  <file:Documentation/video4linux/API.html>.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called konicawc.
+
+config USB_OV511
+	tristate "USB OV511 Camera support"
+	depends on USB && VIDEO_DEV
+	---help---
+	  Say Y here if you want to connect this type of camera to your
+	  computer's USB port. See <file:Documentation/usb/ov511.txt> for more
+	  information and for a list of supported cameras.
+
+	  This driver uses the Video For Linux API. You must say Y or M to
+	  "Video For Linux" (under Character Devices) to use this driver.
+	  Information on this API and pointers to "v4l" programs may be found
+	  at <file:Documentation/video4linux/API.html>.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called ov511.
+
+config USB_SE401
+	tristate "USB SE401 Camera support"
+	depends on USB && VIDEO_DEV
+	---help---
+	  Say Y here if you want to connect this type of camera to your
+	  computer's USB port. See <file:Documentation/usb/se401.txt> for more
+	  information and for a list of supported cameras.
+
+	  This driver uses the Video For Linux API. You must say Y or M to
+	  "Video For Linux" (under Multimedia Devices) to use this driver.
+	  Information on this API and pointers to "v4l" programs may be found
+	  at <file:Documentation/video4linux/API.html>.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called se401.
+
+config USB_SN9C102
+	tristate "USB SN9C10x PC Camera Controller support"
+	depends on USB && VIDEO_DEV
+	---help---
+	  Say Y here if you want support for cameras based on SONiX SN9C101,
+	  SN9C102 or SN9C103 PC Camera Controllers.
+
+	  See <file:Documentation/usb/sn9c102.txt> for more informations.
+
+	  This driver uses the Video For Linux API. You must say Y or M to
+	  "Video For Linux" to use this driver.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called sn9c102.
+
+config USB_STV680
+	tristate "USB STV680 (Pencam) Camera support"
+	depends on USB && VIDEO_DEV
+	---help---
+	  Say Y here if you want to connect this type of camera to your
+	  computer's USB port. This includes the Pencam line of cameras.
+	  See <file:Documentation/usb/stv680.txt> for more information and for
+	  a list of supported cameras.
+
+	  This driver uses the Video For Linux API. You must say Y or M to
+	  "Video For Linux" (under Multimedia Devices) to use this driver.
+	  Information on this API and pointers to "v4l" programs may be found
+	  at <file:Documentation/video4linux/API.html>.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called stv680.
+
+config USB_W9968CF
+	tristate "USB W996[87]CF JPEG Dual Mode Camera support"
+	depends on USB && VIDEO_DEV && I2C && VIDEO_OVCAMCHIP
+	---help---
+	  Say Y here if you want support for cameras based on OV681 or
+	  Winbond W9967CF/W9968CF JPEG USB Dual Mode Camera Chips.
+	
+	  This driver has an optional plugin, which is distributed as a
+	  separate module only (released under GPL). It allows to use higher 
+	  resolutions and framerates, but cannot be included in the official 
+	  Linux kernel for performance purposes.
+
+	  See <file:Documentation/usb/w9968cf.txt> for more informations.
+
+	  This driver uses the Video For Linux and the I2C APIs. It needs the
+	  OmniVision Camera Chip support as well. You must say Y or M to
+	  "Video For Linux", "I2C Support" and "OmniVision Camera Chip 
+	  support" to use this driver.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called w9968cf.
+
+config USB_ZC0301
+	tristate "USB ZC0301 Image Processor and Control Chip support"
+	depends on USB && VIDEO_DEV
+	---help---
+	  Say Y here if you want support for cameras based on the ZC0301
+	  Image Processor and Control Chip.
+
+	  See <file:Documentation/usb/zc0301.txt> for more informations.
+
+	  This driver uses the Video For Linux API. You must say Y or M to
+	  "Video For Linux" to use this driver.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called zc0301.
+
+config USB_PWC
+	tristate "USB Philips Cameras"
+	depends on USB && VIDEO_DEV
+	---help---
+	  Say Y or M here if you want to use one of these Philips & OEM
+          webcams:
+           * Philips PCA645, PCA646
+           * Philips PCVC675, PCVC680, PCVC690
+           * Philips PCVC720/40, PCVC730, PCVC740, PCVC750
+	   * Askey VC010
+	   * Logitech QuickCam Pro 3000, 4000, 'Zoom', 'Notebook Pro' 
+             and 'Orbit'/'Sphere'
+           * Samsung MPC-C10, MPC-C30
+	   * Creative Webcam 5, Pro Ex
+	   * SOTEC Afina Eye
+	   * Visionite VCS-UC300, VCS-UM100
+	   
+	  The PCA635, PCVC665 and PCVC720/20 are not supported by this driver
+	  and never will be, but the 665 and 720/20 are supported by other 
+	  drivers.
+
+	  See <file:Documentation/usb/philips.txt> for more information and
+	  installation instructions.
+
+	  The built-in microphone is enabled by selecting USB Audio support.
+
+	  This driver uses the Video For Linux API. You must say Y or M to
+	  "Video For Linux" (under Character Devices) to use this driver.
+	  Information on this API and pointers to "v4l" programs may be found
+	  at <file:Documentation/video4linux/API.html>.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called pwc.
+
+endmenu # V4L USB devices
+
 endmenu

+ 19 - 0
drivers/media/video/Makefile

@@ -65,4 +65,23 @@ obj-$(CONFIG_VIDEO_CX25840) += cx25840/
 obj-$(CONFIG_VIDEO_SAA711X) += saa7115.o
 obj-$(CONFIG_VIDEO_SAA7127) += saa7127.o
 
+et61x251-objs   := et61x251_core.o et61x251_tas5130d1b.o
+zc0301-objs     := zc0301_core.o zc0301_pas202bcb.o
+
+obj-$(CONFIG_USB_DABUSB)        += dabusb.o
+obj-$(CONFIG_USB_DSBR)          += dsbr100.o
+obj-$(CONFIG_USB_OV511)         += ov511.o
+obj-$(CONFIG_USB_SE401)         += se401.o
+obj-$(CONFIG_USB_STV680)        += stv680.o
+obj-$(CONFIG_USB_W9968CF)       += w9968cf.o
+
+obj-$(CONFIG_USB_SN9C102)       += sn9c102/
+obj-$(CONFIG_USB_ET61X251)      += et61x251/
+obj-$(CONFIG_USB_PWC)           += pwc/
+obj-$(CONFIG_USB_ZC0301)        += zc0301/
+
+obj-$(CONFIG_USB_IBMCAM)        += usbvideo/
+obj-$(CONFIG_USB_KONICAWC)      += usbvideo/
+obj-$(CONFIG_USB_VICAM)         += usbvideo/
+
 EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/dvb-core

+ 0 - 0
drivers/usb/media/dabfirmware.h → drivers/media/video/dabfirmware.h


+ 0 - 0
drivers/usb/media/dabusb.c → drivers/media/video/dabusb.c


+ 0 - 0
drivers/usb/media/dabusb.h → drivers/media/video/dabusb.h


+ 0 - 0
drivers/usb/media/dsbr100.c → drivers/media/video/dsbr100.c


+ 4 - 0
drivers/media/video/et61x251/Makefile

@@ -0,0 +1,4 @@
+et61x251-objs   := et61x251_core.o et61x251_tas5130d1b.o
+
+obj-$(CONFIG_USB_ET61X251)      += et61x251.o
+

+ 0 - 0
drivers/usb/media/et61x251.h → drivers/media/video/et61x251/et61x251.h


+ 0 - 0
drivers/usb/media/et61x251_core.c → drivers/media/video/et61x251/et61x251_core.c


+ 0 - 0
drivers/usb/media/et61x251_sensor.h → drivers/media/video/et61x251/et61x251_sensor.h


+ 0 - 0
drivers/usb/media/et61x251_tas5130d1b.c → drivers/media/video/et61x251/et61x251_tas5130d1b.c


+ 0 - 0
drivers/usb/media/ov511.c → drivers/media/video/ov511.c


+ 0 - 0
drivers/usb/media/ov511.h → drivers/media/video/ov511.h


+ 0 - 0
drivers/usb/media/pwc/Makefile → drivers/media/video/pwc/Makefile


+ 0 - 0
drivers/usb/media/pwc/philips.txt → drivers/media/video/pwc/philips.txt


+ 0 - 0
drivers/usb/media/pwc/pwc-ctrl.c → drivers/media/video/pwc/pwc-ctrl.c


+ 0 - 0
drivers/usb/media/pwc/pwc-if.c → drivers/media/video/pwc/pwc-if.c


+ 0 - 0
drivers/usb/media/pwc/pwc-ioctl.h → drivers/media/video/pwc/pwc-ioctl.h


+ 0 - 0
drivers/usb/media/pwc/pwc-kiara.c → drivers/media/video/pwc/pwc-kiara.c


+ 0 - 0
drivers/usb/media/pwc/pwc-kiara.h → drivers/media/video/pwc/pwc-kiara.h


+ 0 - 0
drivers/usb/media/pwc/pwc-misc.c → drivers/media/video/pwc/pwc-misc.c


+ 0 - 0
drivers/usb/media/pwc/pwc-nala.h → drivers/media/video/pwc/pwc-nala.h


+ 0 - 0
drivers/usb/media/pwc/pwc-timon.c → drivers/media/video/pwc/pwc-timon.c


+ 0 - 0
drivers/usb/media/pwc/pwc-timon.h → drivers/media/video/pwc/pwc-timon.h


+ 0 - 0
drivers/usb/media/pwc/pwc-uncompress.c → drivers/media/video/pwc/pwc-uncompress.c


+ 0 - 0
drivers/usb/media/pwc/pwc-uncompress.h → drivers/media/video/pwc/pwc-uncompress.h


+ 0 - 0
drivers/usb/media/pwc/pwc.h → drivers/media/video/pwc/pwc.h


+ 0 - 0
drivers/usb/media/se401.c → drivers/media/video/se401.c


+ 0 - 0
drivers/usb/media/se401.h → drivers/media/video/se401.h


+ 7 - 0
drivers/media/video/sn9c102/Makefile

@@ -0,0 +1,7 @@
+sn9c102-objs    := sn9c102_core.o sn9c102_hv7131d.o sn9c102_mi0343.o \
+                   sn9c102_ov7630.o sn9c102_pas106b.o sn9c102_pas202bca.o \
+                   sn9c102_pas202bcb.o sn9c102_tas5110c1b.o \
+                   sn9c102_tas5130d1b.o
+
+obj-$(CONFIG_USB_SN9C102)       += sn9c102.o
+

+ 0 - 0
drivers/usb/media/sn9c102.h → drivers/media/video/sn9c102/sn9c102.h


+ 0 - 0
drivers/usb/media/sn9c102_core.c → drivers/media/video/sn9c102/sn9c102_core.c


+ 0 - 0
drivers/usb/media/sn9c102_hv7131d.c → drivers/media/video/sn9c102/sn9c102_hv7131d.c


+ 0 - 0
drivers/usb/media/sn9c102_mi0343.c → drivers/media/video/sn9c102/sn9c102_mi0343.c


+ 0 - 0
drivers/usb/media/sn9c102_ov7630.c → drivers/media/video/sn9c102/sn9c102_ov7630.c


+ 0 - 0
drivers/usb/media/sn9c102_pas106b.c → drivers/media/video/sn9c102/sn9c102_pas106b.c


+ 0 - 0
drivers/usb/media/sn9c102_pas202bca.c → drivers/media/video/sn9c102/sn9c102_pas202bca.c


+ 0 - 0
drivers/usb/media/sn9c102_pas202bcb.c → drivers/media/video/sn9c102/sn9c102_pas202bcb.c


+ 0 - 0
drivers/usb/media/sn9c102_sensor.h → drivers/media/video/sn9c102/sn9c102_sensor.h


+ 0 - 0
drivers/usb/media/sn9c102_tas5110c1b.c → drivers/media/video/sn9c102/sn9c102_tas5110c1b.c


+ 0 - 0
drivers/usb/media/sn9c102_tas5130d1b.c → drivers/media/video/sn9c102/sn9c102_tas5130d1b.c


+ 0 - 0
drivers/usb/media/stv680.c → drivers/media/video/stv680.c


+ 0 - 0
drivers/usb/media/stv680.h → drivers/media/video/stv680.h


+ 4 - 0
drivers/media/video/usbvideo/Makefile

@@ -0,0 +1,4 @@
+obj-$(CONFIG_USB_IBMCAM)        += ibmcam.o usbvideo.o ultracam.o
+obj-$(CONFIG_USB_KONICAWC)      += konicawc.o usbvideo.o
+obj-$(CONFIG_USB_VICAM)         += vicam.o usbvideo.o
+

+ 0 - 0
drivers/usb/media/ibmcam.c → drivers/media/video/usbvideo/ibmcam.c


+ 0 - 0
drivers/usb/media/konicawc.c → drivers/media/video/usbvideo/konicawc.c


+ 0 - 0
drivers/usb/media/ultracam.c → drivers/media/video/usbvideo/ultracam.c


+ 0 - 0
drivers/usb/media/usbvideo.c → drivers/media/video/usbvideo/usbvideo.c


+ 0 - 0
drivers/usb/media/usbvideo.h → drivers/media/video/usbvideo/usbvideo.h


+ 0 - 0
drivers/usb/media/vicam.c → drivers/media/video/usbvideo/vicam.c


+ 0 - 0
drivers/usb/media/w9968cf.c → drivers/media/video/w9968cf.c


+ 0 - 0
drivers/usb/media/w9968cf.h → drivers/media/video/w9968cf.h


+ 0 - 0
drivers/usb/media/w9968cf_decoder.h → drivers/media/video/w9968cf_decoder.h


+ 0 - 0
drivers/usb/media/w9968cf_vpp.h → drivers/media/video/w9968cf_vpp.h


+ 3 - 0
drivers/media/video/zc0301/Makefile

@@ -0,0 +1,3 @@
+zc0301-objs     := zc0301_core.o zc0301_pas202bcb.o
+
+obj-$(CONFIG_USB_ZC0301)        += zc0301.o

+ 0 - 0
drivers/usb/media/zc0301.h → drivers/media/video/zc0301/zc0301.h


+ 0 - 0
drivers/usb/media/zc0301_core.c → drivers/media/video/zc0301/zc0301_core.c


+ 0 - 0
drivers/usb/media/zc0301_pas202bcb.c → drivers/media/video/zc0301/zc0301_pas202bcb.c


+ 0 - 0
drivers/usb/media/zc0301_sensor.h → drivers/media/video/zc0301/zc0301_sensor.h


+ 0 - 2
drivers/usb/Kconfig

@@ -87,8 +87,6 @@ source "drivers/usb/input/Kconfig"
 
 source "drivers/usb/image/Kconfig"
 
-source "drivers/usb/media/Kconfig"
-
 source "drivers/usb/net/Kconfig"
 
 source "drivers/usb/mon/Kconfig"

+ 0 - 14
drivers/usb/Makefile

@@ -35,20 +35,6 @@ obj-$(CONFIG_USB_WACOM)		+= input/
 obj-$(CONFIG_USB_ACECAD)	+= input/
 obj-$(CONFIG_USB_XPAD)		+= input/
 
-obj-$(CONFIG_USB_DABUSB)	+= media/
-obj-$(CONFIG_USB_DSBR)		+= media/
-obj-$(CONFIG_USB_ET61X251)	+= media/
-obj-$(CONFIG_USB_IBMCAM)	+= media/
-obj-$(CONFIG_USB_KONICAWC)	+= media/
-obj-$(CONFIG_USB_OV511)		+= media/
-obj-$(CONFIG_USB_PWC)		+= media/
-obj-$(CONFIG_USB_SE401)		+= media/
-obj-$(CONFIG_USB_SN9C102)	+= media/
-obj-$(CONFIG_USB_STV680)	+= media/
-obj-$(CONFIG_USB_VICAM)		+= media/
-obj-$(CONFIG_USB_W9968CF)	+= media/
-obj-$(CONFIG_USB_ZC0301)	+= media/
-
 obj-$(CONFIG_USB_CATC)		+= net/
 obj-$(CONFIG_USB_KAWETH)	+= net/
 obj-$(CONFIG_USB_PEGASUS)	+= net/

+ 0 - 241
drivers/usb/media/Kconfig

@@ -1,241 +0,0 @@
-#
-# USB Multimedia device configuration
-#
-comment "USB Multimedia devices"
-	depends on USB
-
-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
-	  <file:Documentation/usb/URB.txt>.
-
-	  To compile this driver as a module, choose M here: the
-	  module will be called dabusb.
-
-comment "Video4Linux support is needed for USB Multimedia device support"
-	depends on USB && VIDEO_DEV=n
-
-config USB_VICAM
-	tristate "USB 3com HomeConnect (aka vicam) support (EXPERIMENTAL)"
-	depends on USB && VIDEO_DEV && EXPERIMENTAL
-	---help---
-	  Say Y here if you have 3com homeconnect camera (vicam).
-
-	  This driver uses the Video For Linux API. You must say Y or M to
-	  "Video For Linux" (under Multimedia Devices) to use this driver.
-	  Information on this API and pointers to "v4l" programs may be found
-	  at <file:Documentation/video4linux/API.html>.
-
-	  To compile this driver as a module, choose M here: the
-	  module will be called vicam.
-
-config USB_DSBR
-	tristate "D-Link USB FM radio support (EXPERIMENTAL)"
-	depends on USB && VIDEO_DEV && EXPERIMENTAL
-	---help---
-	  Say Y here if you want to connect this type of radio to your
-	  computer's USB port. Note that the audio is not digital, and
-	  you must connect the line out connector to a sound card or a
-	  set of speakers.
-
-	  This driver uses the Video For Linux API.  You must enable
-	  (Y or M in config) Video For Linux (under Character Devices)
-	  to use this driver.  Information on this API and pointers to
-	  "v4l" programs may be found at
-	  <file:Documentation/video4linux/API.html>.
-
-	  To compile this driver as a module, choose M here: the
-	  module will be called dsbr100.
-
-config USB_ET61X251
-	tristate "USB ET61X[12]51 PC Camera Controller support"
-	depends on USB && VIDEO_DEV
-	---help---
-	  Say Y here if you want support for cameras based on Etoms ET61X151
-	  or ET61X251 PC Camera Controllers.
-
-	  See <file:Documentation/usb/et61x251.txt> for more informations.
-
-	  This driver uses the Video For Linux API. You must say Y or M to
-	  "Video For Linux" to use this driver.
-
-	  To compile this driver as a module, choose M here: the
-	  module will be called et61x251.
-
-config USB_IBMCAM
-	tristate "USB IBM (Xirlink) C-it Camera support"
-	depends on USB && VIDEO_DEV
-	---help---
-	  Say Y here if you want to connect a IBM "C-It" camera, also known as
-	  "Xirlink PC Camera" to your computer's USB port.  For more
-	  information, read <file:Documentation/usb/ibmcam.txt>.
-
-	  This driver uses the Video For Linux API.  You must enable
-	  (Y or M in config) Video For Linux (under Character Devices)
-	  to use this driver.  Information on this API and pointers to
-	  "v4l" programs may be found at
-	  <file:Documentation/video4linux/API.html>.
-
-	  To compile this driver as a module, choose M here: the
-	  module will be called ibmcam.
-
-	  This camera has several configuration options which
-	  can be specified when you load the module. Read
-	  <file:Documentation/usb/ibmcam.txt> to learn more.
-
-config USB_KONICAWC
-	tristate "USB Konica Webcam support"
-	depends on USB && VIDEO_DEV
-	---help---
-	  Say Y here if you want support for webcams based on a Konica
-	  chipset. This is known to work with the Intel YC76 webcam.
-
-	  This driver uses the Video For Linux API.  You must enable
-	  (Y or M in config) Video For Linux (under Character Devices)
-	  to use this driver.  Information on this API and pointers to
-	  "v4l" programs may be found at
-	  <file:Documentation/video4linux/API.html>.
-
-	  To compile this driver as a module, choose M here: the
-	  module will be called konicawc.
-
-config USB_OV511
-	tristate "USB OV511 Camera support"
-	depends on USB && VIDEO_DEV
-	---help---
-	  Say Y here if you want to connect this type of camera to your
-	  computer's USB port. See <file:Documentation/usb/ov511.txt> for more
-	  information and for a list of supported cameras.
-
-	  This driver uses the Video For Linux API. You must say Y or M to
-	  "Video For Linux" (under Character Devices) to use this driver.
-	  Information on this API and pointers to "v4l" programs may be found
-	  at <file:Documentation/video4linux/API.html>.
-
-	  To compile this driver as a module, choose M here: the
-	  module will be called ov511.
-
-config USB_SE401
-	tristate "USB SE401 Camera support"
-	depends on USB && VIDEO_DEV
-	---help---
-	  Say Y here if you want to connect this type of camera to your
-	  computer's USB port. See <file:Documentation/usb/se401.txt> for more
-	  information and for a list of supported cameras.
-
-	  This driver uses the Video For Linux API. You must say Y or M to
-	  "Video For Linux" (under Multimedia Devices) to use this driver.
-	  Information on this API and pointers to "v4l" programs may be found
-	  at <file:Documentation/video4linux/API.html>.
-
-	  To compile this driver as a module, choose M here: the
-	  module will be called se401.
-
-config USB_SN9C102
-	tristate "USB SN9C10x PC Camera Controller support"
-	depends on USB && VIDEO_DEV
-	---help---
-	  Say Y here if you want support for cameras based on SONiX SN9C101,
-	  SN9C102 or SN9C103 PC Camera Controllers.
-
-	  See <file:Documentation/usb/sn9c102.txt> for more informations.
-
-	  This driver uses the Video For Linux API. You must say Y or M to
-	  "Video For Linux" to use this driver.
-
-	  To compile this driver as a module, choose M here: the
-	  module will be called sn9c102.
-
-config USB_STV680
-	tristate "USB STV680 (Pencam) Camera support"
-	depends on USB && VIDEO_DEV
-	---help---
-	  Say Y here if you want to connect this type of camera to your
-	  computer's USB port. This includes the Pencam line of cameras.
-	  See <file:Documentation/usb/stv680.txt> for more information and for
-	  a list of supported cameras.
-
-	  This driver uses the Video For Linux API. You must say Y or M to
-	  "Video For Linux" (under Multimedia Devices) to use this driver.
-	  Information on this API and pointers to "v4l" programs may be found
-	  at <file:Documentation/video4linux/API.html>.
-
-	  To compile this driver as a module, choose M here: the
-	  module will be called stv680.
-
-config USB_W9968CF
-	tristate "USB W996[87]CF JPEG Dual Mode Camera support"
-	depends on USB && VIDEO_DEV && I2C && VIDEO_OVCAMCHIP
-	---help---
-	  Say Y here if you want support for cameras based on OV681 or
-	  Winbond W9967CF/W9968CF JPEG USB Dual Mode Camera Chips.
-	
-	  This driver has an optional plugin, which is distributed as a
-	  separate module only (released under GPL). It allows to use higher 
-	  resolutions and framerates, but cannot be included in the official 
-	  Linux kernel for performance purposes.
-
-	  See <file:Documentation/usb/w9968cf.txt> for more informations.
-
-	  This driver uses the Video For Linux and the I2C APIs. It needs the
-	  OmniVision Camera Chip support as well. You must say Y or M to
-	  "Video For Linux", "I2C Support" and "OmniVision Camera Chip 
-	  support" to use this driver.
-
-	  To compile this driver as a module, choose M here: the
-	  module will be called w9968cf.
-
-config USB_ZC0301
-	tristate "USB ZC0301 Image Processor and Control Chip support"
-	depends on USB && VIDEO_DEV
-	---help---
-	  Say Y here if you want support for cameras based on the ZC0301
-	  Image Processor and Control Chip.
-
-	  See <file:Documentation/usb/zc0301.txt> for more informations.
-
-	  This driver uses the Video For Linux API. You must say Y or M to
-	  "Video For Linux" to use this driver.
-
-	  To compile this driver as a module, choose M here: the
-	  module will be called zc0301.
-
-config USB_PWC
-	tristate "USB Philips Cameras"
-	depends on USB && VIDEO_DEV
-	---help---
-	  Say Y or M here if you want to use one of these Philips & OEM
-          webcams:
-           * Philips PCA645, PCA646
-           * Philips PCVC675, PCVC680, PCVC690
-           * Philips PCVC720/40, PCVC730, PCVC740, PCVC750
-	   * Askey VC010
-	   * Logitech QuickCam Pro 3000, 4000, 'Zoom', 'Notebook Pro' 
-             and 'Orbit'/'Sphere'
-           * Samsung MPC-C10, MPC-C30
-	   * Creative Webcam 5, Pro Ex
-	   * SOTEC Afina Eye
-	   * Visionite VCS-UC300, VCS-UM100
-	   
-	  The PCA635, PCVC665 and PCVC720/20 are not supported by this driver
-	  and never will be, but the 665 and 720/20 are supported by other 
-	  drivers.
-
-	  See <file:Documentation/usb/philips.txt> for more information and
-	  installation instructions.
-
-	  The built-in microphone is enabled by selecting USB Audio support.
-
-	  This driver uses the Video For Linux API. You must say Y or M to
-	  "Video For Linux" (under Character Devices) to use this driver.
-	  Information on this API and pointers to "v4l" programs may be found
-	  at <file:Documentation/video4linux/API.html>.
-
-	  To compile this driver as a module, choose M here: the
-	  module will be called pwc.

+ 0 - 24
drivers/usb/media/Makefile

@@ -1,24 +0,0 @@
-#
-# Makefile for USB Media drivers
-#
-
-sn9c102-objs	:= sn9c102_core.o sn9c102_hv7131d.o sn9c102_mi0343.o \
-		   sn9c102_ov7630.o sn9c102_pas106b.o sn9c102_pas202bca.o \
-		   sn9c102_pas202bcb.o sn9c102_tas5110c1b.o \
-		   sn9c102_tas5130d1b.o
-et61x251-objs	:= et61x251_core.o et61x251_tas5130d1b.o
-zc0301-objs	:= zc0301_core.o zc0301_pas202bcb.o
-
-obj-$(CONFIG_USB_DABUSB)	+= dabusb.o
-obj-$(CONFIG_USB_DSBR)		+= dsbr100.o
-obj-$(CONFIG_USB_ET61X251)	+= et61x251.o
-obj-$(CONFIG_USB_IBMCAM)	+= ibmcam.o usbvideo.o ultracam.o
-obj-$(CONFIG_USB_KONICAWC)	+= konicawc.o usbvideo.o
-obj-$(CONFIG_USB_OV511)		+= ov511.o
-obj-$(CONFIG_USB_SE401)		+= se401.o
-obj-$(CONFIG_USB_SN9C102)	+= sn9c102.o
-obj-$(CONFIG_USB_STV680)	+= stv680.o
-obj-$(CONFIG_USB_VICAM)		+= vicam.o usbvideo.o
-obj-$(CONFIG_USB_W9968CF)	+= w9968cf.o
-obj-$(CONFIG_USB_ZC0301)	+= zc0301.o
-obj-$(CONFIG_USB_PWC)           += pwc/