Browse Source

[media] rename most media/video pci drivers to media/pci

Rename all PCI drivers with their own directory under
drivers/media/video into drivers/media/pci and update the
building system.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab 13 years ago
parent
commit
b285192a43
100 changed files with 33 additions and 28 deletions
  1. 23 27
      drivers/media/pci/Kconfig
  2. 10 1
      drivers/media/pci/Makefile
  3. 0 0
      drivers/media/pci/cx18/Kconfig
  4. 0 0
      drivers/media/pci/cx18/Makefile
  5. 0 0
      drivers/media/pci/cx18/cx18-alsa-main.c
  6. 0 0
      drivers/media/pci/cx18/cx18-alsa-mixer.c
  7. 0 0
      drivers/media/pci/cx18/cx18-alsa-mixer.h
  8. 0 0
      drivers/media/pci/cx18/cx18-alsa-pcm.c
  9. 0 0
      drivers/media/pci/cx18/cx18-alsa-pcm.h
  10. 0 0
      drivers/media/pci/cx18/cx18-alsa.h
  11. 0 0
      drivers/media/pci/cx18/cx18-audio.c
  12. 0 0
      drivers/media/pci/cx18/cx18-audio.h
  13. 0 0
      drivers/media/pci/cx18/cx18-av-audio.c
  14. 0 0
      drivers/media/pci/cx18/cx18-av-core.c
  15. 0 0
      drivers/media/pci/cx18/cx18-av-core.h
  16. 0 0
      drivers/media/pci/cx18/cx18-av-firmware.c
  17. 0 0
      drivers/media/pci/cx18/cx18-av-vbi.c
  18. 0 0
      drivers/media/pci/cx18/cx18-cards.c
  19. 0 0
      drivers/media/pci/cx18/cx18-cards.h
  20. 0 0
      drivers/media/pci/cx18/cx18-controls.c
  21. 0 0
      drivers/media/pci/cx18/cx18-controls.h
  22. 0 0
      drivers/media/pci/cx18/cx18-driver.c
  23. 0 0
      drivers/media/pci/cx18/cx18-driver.h
  24. 0 0
      drivers/media/pci/cx18/cx18-dvb.c
  25. 0 0
      drivers/media/pci/cx18/cx18-dvb.h
  26. 0 0
      drivers/media/pci/cx18/cx18-fileops.c
  27. 0 0
      drivers/media/pci/cx18/cx18-fileops.h
  28. 0 0
      drivers/media/pci/cx18/cx18-firmware.c
  29. 0 0
      drivers/media/pci/cx18/cx18-firmware.h
  30. 0 0
      drivers/media/pci/cx18/cx18-gpio.c
  31. 0 0
      drivers/media/pci/cx18/cx18-gpio.h
  32. 0 0
      drivers/media/pci/cx18/cx18-i2c.c
  33. 0 0
      drivers/media/pci/cx18/cx18-i2c.h
  34. 0 0
      drivers/media/pci/cx18/cx18-io.c
  35. 0 0
      drivers/media/pci/cx18/cx18-io.h
  36. 0 0
      drivers/media/pci/cx18/cx18-ioctl.c
  37. 0 0
      drivers/media/pci/cx18/cx18-ioctl.h
  38. 0 0
      drivers/media/pci/cx18/cx18-irq.c
  39. 0 0
      drivers/media/pci/cx18/cx18-irq.h
  40. 0 0
      drivers/media/pci/cx18/cx18-mailbox.c
  41. 0 0
      drivers/media/pci/cx18/cx18-mailbox.h
  42. 0 0
      drivers/media/pci/cx18/cx18-queue.c
  43. 0 0
      drivers/media/pci/cx18/cx18-queue.h
  44. 0 0
      drivers/media/pci/cx18/cx18-scb.c
  45. 0 0
      drivers/media/pci/cx18/cx18-scb.h
  46. 0 0
      drivers/media/pci/cx18/cx18-streams.c
  47. 0 0
      drivers/media/pci/cx18/cx18-streams.h
  48. 0 0
      drivers/media/pci/cx18/cx18-vbi.c
  49. 0 0
      drivers/media/pci/cx18/cx18-vbi.h
  50. 0 0
      drivers/media/pci/cx18/cx18-version.h
  51. 0 0
      drivers/media/pci/cx18/cx18-video.c
  52. 0 0
      drivers/media/pci/cx18/cx18-video.h
  53. 0 0
      drivers/media/pci/cx18/cx23418.h
  54. 0 0
      drivers/media/pci/cx23885/Kconfig
  55. 0 0
      drivers/media/pci/cx23885/Makefile
  56. 0 0
      drivers/media/pci/cx23885/altera-ci.c
  57. 0 0
      drivers/media/pci/cx23885/altera-ci.h
  58. 0 0
      drivers/media/pci/cx23885/cimax2.c
  59. 0 0
      drivers/media/pci/cx23885/cimax2.h
  60. 0 0
      drivers/media/pci/cx23885/cx23885-417.c
  61. 0 0
      drivers/media/pci/cx23885/cx23885-alsa.c
  62. 0 0
      drivers/media/pci/cx23885/cx23885-av.c
  63. 0 0
      drivers/media/pci/cx23885/cx23885-av.h
  64. 0 0
      drivers/media/pci/cx23885/cx23885-cards.c
  65. 0 0
      drivers/media/pci/cx23885/cx23885-core.c
  66. 0 0
      drivers/media/pci/cx23885/cx23885-dvb.c
  67. 0 0
      drivers/media/pci/cx23885/cx23885-f300.c
  68. 0 0
      drivers/media/pci/cx23885/cx23885-f300.h
  69. 0 0
      drivers/media/pci/cx23885/cx23885-i2c.c
  70. 0 0
      drivers/media/pci/cx23885/cx23885-input.c
  71. 0 0
      drivers/media/pci/cx23885/cx23885-input.h
  72. 0 0
      drivers/media/pci/cx23885/cx23885-ioctl.c
  73. 0 0
      drivers/media/pci/cx23885/cx23885-ioctl.h
  74. 0 0
      drivers/media/pci/cx23885/cx23885-ir.c
  75. 0 0
      drivers/media/pci/cx23885/cx23885-ir.h
  76. 0 0
      drivers/media/pci/cx23885/cx23885-reg.h
  77. 0 0
      drivers/media/pci/cx23885/cx23885-vbi.c
  78. 0 0
      drivers/media/pci/cx23885/cx23885-video.c
  79. 0 0
      drivers/media/pci/cx23885/cx23885.h
  80. 0 0
      drivers/media/pci/cx23885/cx23888-ir.c
  81. 0 0
      drivers/media/pci/cx23885/cx23888-ir.h
  82. 0 0
      drivers/media/pci/cx23885/netup-eeprom.c
  83. 0 0
      drivers/media/pci/cx23885/netup-eeprom.h
  84. 0 0
      drivers/media/pci/cx23885/netup-init.c
  85. 0 0
      drivers/media/pci/cx23885/netup-init.h
  86. 0 0
      drivers/media/pci/cx25821/Kconfig
  87. 0 0
      drivers/media/pci/cx25821/Makefile
  88. 0 0
      drivers/media/pci/cx25821/cx25821-alsa.c
  89. 0 0
      drivers/media/pci/cx25821/cx25821-audio-upstream.c
  90. 0 0
      drivers/media/pci/cx25821/cx25821-audio-upstream.h
  91. 0 0
      drivers/media/pci/cx25821/cx25821-audio.h
  92. 0 0
      drivers/media/pci/cx25821/cx25821-biffuncs.h
  93. 0 0
      drivers/media/pci/cx25821/cx25821-cards.c
  94. 0 0
      drivers/media/pci/cx25821/cx25821-core.c
  95. 0 0
      drivers/media/pci/cx25821/cx25821-gpio.c
  96. 0 0
      drivers/media/pci/cx25821/cx25821-i2c.c
  97. 0 0
      drivers/media/pci/cx25821/cx25821-medusa-defines.h
  98. 0 0
      drivers/media/pci/cx25821/cx25821-medusa-reg.h
  99. 0 0
      drivers/media/pci/cx25821/cx25821-medusa-video.c
  100. 0 0
      drivers/media/pci/cx25821/cx25821-medusa-video.h

+ 23 - 27
drivers/media/pci/Kconfig

@@ -2,40 +2,36 @@
 # DVB device configuration
 #
 
-menuconfig DVB_CAPTURE_DRIVERS
-	bool "DVB/ATSC PCI adapters"
-	depends on DVB_CORE
-	default y
-	---help---
-	  Say Y to select Digital TV adapters
-
-if DVB_CAPTURE_DRIVERS && DVB_CORE && PCI && I2C
+menu "Media PCI Adapters"
+	visible if PCI && MEDIA_SUPPORT
+
+if MEDIA_ANALOG_TV_SUPPORT
+	comment "Media capture/analog TV support"
+source "drivers/media/pci/ivtv/Kconfig"
+source "drivers/media/pci/zoran/Kconfig"
+endif
+
+if MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT
+	comment "Media capture/analog/hybrid TV support"
+source "drivers/media/pci/cx18/Kconfig"
+source "drivers/media/pci/cx23885/Kconfig"
+source "drivers/media/pci/cx25821/Kconfig"
+source "drivers/media/pci/cx88/Kconfig"
+source "drivers/media/pci/bt8xx/Kconfig"
+source "drivers/media/pci/saa7134/Kconfig"
+source "drivers/media/pci/saa7164/Kconfig"
+endif
 
-comment "Supported SAA7146 based PCI Adapters"
+if MEDIA_DIGITAL_TV_SUPPORT
+	comment "Media digital TV PCI Adapters"
 source "drivers/media/pci/ttpci/Kconfig"
-
-comment "Supported FlexCopII (B2C2) PCI Adapters"
 source "drivers/media/pci/b2c2/Kconfig"
-
-comment "Supported BT878 Adapters"
-source "drivers/media/pci/bt8xx/Kconfig"
-
-comment "Supported Pluto2 Adapters"
 source "drivers/media/pci/pluto2/Kconfig"
-
-comment "Supported SDMC DM1105 Adapters"
 source "drivers/media/pci/dm1105/Kconfig"
-
-comment "Supported Earthsoft PT1 Adapters"
 source "drivers/media/pci/pt1/Kconfig"
-
-comment "Supported Mantis Adapters"
 source "drivers/media/pci/mantis/Kconfig"
-
-comment "Supported nGene Adapters"
 source "drivers/media/pci/ngene/Kconfig"
-
-comment "Supported ddbridge ('Octopus') Adapters"
 source "drivers/media/pci/ddbridge/Kconfig"
+endif
 
-endif # DVB_CAPTURE_DRIVERS
+endmenu

+ 10 - 1
drivers/media/pci/Makefile

@@ -4,7 +4,6 @@
 
 obj-y        :=	ttpci/		\
 		b2c2/		\
-		bt8xx/		\
 		pluto2/		\
 		dm1105/		\
 		pt1/		\
@@ -12,3 +11,13 @@ obj-y        :=	ttpci/		\
 		ngene/		\
 		ddbridge/	\
 		b2c2/
+
+obj-$(CONFIG_VIDEO_IVTV) += ivtv/
+obj-$(CONFIG_VIDEO_ZORAN) += zoran/
+obj-$(CONFIG_VIDEO_CX18) += cx18/
+obj-$(CONFIG_VIDEO_CX23885) += cx23885/
+obj-$(CONFIG_VIDEO_CX25821) += cx25821/
+obj-$(CONFIG_VIDEO_CX88) += cx88/
+obj-$(CONFIG_VIDEO_BT848) += bt8xx/
+obj-$(CONFIG_VIDEO_SAA7134) += saa7134/
+obj-$(CONFIG_VIDEO_SAA7164) += saa7164/

+ 0 - 0
drivers/media/video/cx18/Kconfig → drivers/media/pci/cx18/Kconfig


+ 0 - 0
drivers/media/video/cx18/Makefile → drivers/media/pci/cx18/Makefile


+ 0 - 0
drivers/media/video/cx18/cx18-alsa-main.c → drivers/media/pci/cx18/cx18-alsa-main.c


+ 0 - 0
drivers/media/video/cx18/cx18-alsa-mixer.c → drivers/media/pci/cx18/cx18-alsa-mixer.c


+ 0 - 0
drivers/media/video/cx18/cx18-alsa-mixer.h → drivers/media/pci/cx18/cx18-alsa-mixer.h


+ 0 - 0
drivers/media/video/cx18/cx18-alsa-pcm.c → drivers/media/pci/cx18/cx18-alsa-pcm.c


+ 0 - 0
drivers/media/video/cx18/cx18-alsa-pcm.h → drivers/media/pci/cx18/cx18-alsa-pcm.h


+ 0 - 0
drivers/media/video/cx18/cx18-alsa.h → drivers/media/pci/cx18/cx18-alsa.h


+ 0 - 0
drivers/media/video/cx18/cx18-audio.c → drivers/media/pci/cx18/cx18-audio.c


+ 0 - 0
drivers/media/video/cx18/cx18-audio.h → drivers/media/pci/cx18/cx18-audio.h


+ 0 - 0
drivers/media/video/cx18/cx18-av-audio.c → drivers/media/pci/cx18/cx18-av-audio.c


+ 0 - 0
drivers/media/video/cx18/cx18-av-core.c → drivers/media/pci/cx18/cx18-av-core.c


+ 0 - 0
drivers/media/video/cx18/cx18-av-core.h → drivers/media/pci/cx18/cx18-av-core.h


+ 0 - 0
drivers/media/video/cx18/cx18-av-firmware.c → drivers/media/pci/cx18/cx18-av-firmware.c


+ 0 - 0
drivers/media/video/cx18/cx18-av-vbi.c → drivers/media/pci/cx18/cx18-av-vbi.c


+ 0 - 0
drivers/media/video/cx18/cx18-cards.c → drivers/media/pci/cx18/cx18-cards.c


+ 0 - 0
drivers/media/video/cx18/cx18-cards.h → drivers/media/pci/cx18/cx18-cards.h


+ 0 - 0
drivers/media/video/cx18/cx18-controls.c → drivers/media/pci/cx18/cx18-controls.c


+ 0 - 0
drivers/media/video/cx18/cx18-controls.h → drivers/media/pci/cx18/cx18-controls.h


+ 0 - 0
drivers/media/video/cx18/cx18-driver.c → drivers/media/pci/cx18/cx18-driver.c


+ 0 - 0
drivers/media/video/cx18/cx18-driver.h → drivers/media/pci/cx18/cx18-driver.h


+ 0 - 0
drivers/media/video/cx18/cx18-dvb.c → drivers/media/pci/cx18/cx18-dvb.c


+ 0 - 0
drivers/media/video/cx18/cx18-dvb.h → drivers/media/pci/cx18/cx18-dvb.h


+ 0 - 0
drivers/media/video/cx18/cx18-fileops.c → drivers/media/pci/cx18/cx18-fileops.c


+ 0 - 0
drivers/media/video/cx18/cx18-fileops.h → drivers/media/pci/cx18/cx18-fileops.h


+ 0 - 0
drivers/media/video/cx18/cx18-firmware.c → drivers/media/pci/cx18/cx18-firmware.c


+ 0 - 0
drivers/media/video/cx18/cx18-firmware.h → drivers/media/pci/cx18/cx18-firmware.h


+ 0 - 0
drivers/media/video/cx18/cx18-gpio.c → drivers/media/pci/cx18/cx18-gpio.c


+ 0 - 0
drivers/media/video/cx18/cx18-gpio.h → drivers/media/pci/cx18/cx18-gpio.h


+ 0 - 0
drivers/media/video/cx18/cx18-i2c.c → drivers/media/pci/cx18/cx18-i2c.c


+ 0 - 0
drivers/media/video/cx18/cx18-i2c.h → drivers/media/pci/cx18/cx18-i2c.h


+ 0 - 0
drivers/media/video/cx18/cx18-io.c → drivers/media/pci/cx18/cx18-io.c


+ 0 - 0
drivers/media/video/cx18/cx18-io.h → drivers/media/pci/cx18/cx18-io.h


+ 0 - 0
drivers/media/video/cx18/cx18-ioctl.c → drivers/media/pci/cx18/cx18-ioctl.c


+ 0 - 0
drivers/media/video/cx18/cx18-ioctl.h → drivers/media/pci/cx18/cx18-ioctl.h


+ 0 - 0
drivers/media/video/cx18/cx18-irq.c → drivers/media/pci/cx18/cx18-irq.c


+ 0 - 0
drivers/media/video/cx18/cx18-irq.h → drivers/media/pci/cx18/cx18-irq.h


+ 0 - 0
drivers/media/video/cx18/cx18-mailbox.c → drivers/media/pci/cx18/cx18-mailbox.c


+ 0 - 0
drivers/media/video/cx18/cx18-mailbox.h → drivers/media/pci/cx18/cx18-mailbox.h


+ 0 - 0
drivers/media/video/cx18/cx18-queue.c → drivers/media/pci/cx18/cx18-queue.c


+ 0 - 0
drivers/media/video/cx18/cx18-queue.h → drivers/media/pci/cx18/cx18-queue.h


+ 0 - 0
drivers/media/video/cx18/cx18-scb.c → drivers/media/pci/cx18/cx18-scb.c


+ 0 - 0
drivers/media/video/cx18/cx18-scb.h → drivers/media/pci/cx18/cx18-scb.h


+ 0 - 0
drivers/media/video/cx18/cx18-streams.c → drivers/media/pci/cx18/cx18-streams.c


+ 0 - 0
drivers/media/video/cx18/cx18-streams.h → drivers/media/pci/cx18/cx18-streams.h


+ 0 - 0
drivers/media/video/cx18/cx18-vbi.c → drivers/media/pci/cx18/cx18-vbi.c


+ 0 - 0
drivers/media/video/cx18/cx18-vbi.h → drivers/media/pci/cx18/cx18-vbi.h


+ 0 - 0
drivers/media/video/cx18/cx18-version.h → drivers/media/pci/cx18/cx18-version.h


+ 0 - 0
drivers/media/video/cx18/cx18-video.c → drivers/media/pci/cx18/cx18-video.c


+ 0 - 0
drivers/media/video/cx18/cx18-video.h → drivers/media/pci/cx18/cx18-video.h


+ 0 - 0
drivers/media/video/cx18/cx23418.h → drivers/media/pci/cx18/cx23418.h


+ 0 - 0
drivers/media/video/cx23885/Kconfig → drivers/media/pci/cx23885/Kconfig


+ 0 - 0
drivers/media/video/cx23885/Makefile → drivers/media/pci/cx23885/Makefile


+ 0 - 0
drivers/media/video/cx23885/altera-ci.c → drivers/media/pci/cx23885/altera-ci.c


+ 0 - 0
drivers/media/video/cx23885/altera-ci.h → drivers/media/pci/cx23885/altera-ci.h


+ 0 - 0
drivers/media/video/cx23885/cimax2.c → drivers/media/pci/cx23885/cimax2.c


+ 0 - 0
drivers/media/video/cx23885/cimax2.h → drivers/media/pci/cx23885/cimax2.h


+ 0 - 0
drivers/media/video/cx23885/cx23885-417.c → drivers/media/pci/cx23885/cx23885-417.c


+ 0 - 0
drivers/media/video/cx23885/cx23885-alsa.c → drivers/media/pci/cx23885/cx23885-alsa.c


+ 0 - 0
drivers/media/video/cx23885/cx23885-av.c → drivers/media/pci/cx23885/cx23885-av.c


+ 0 - 0
drivers/media/video/cx23885/cx23885-av.h → drivers/media/pci/cx23885/cx23885-av.h


+ 0 - 0
drivers/media/video/cx23885/cx23885-cards.c → drivers/media/pci/cx23885/cx23885-cards.c


+ 0 - 0
drivers/media/video/cx23885/cx23885-core.c → drivers/media/pci/cx23885/cx23885-core.c


+ 0 - 0
drivers/media/video/cx23885/cx23885-dvb.c → drivers/media/pci/cx23885/cx23885-dvb.c


+ 0 - 0
drivers/media/video/cx23885/cx23885-f300.c → drivers/media/pci/cx23885/cx23885-f300.c


+ 0 - 0
drivers/media/video/cx23885/cx23885-f300.h → drivers/media/pci/cx23885/cx23885-f300.h


+ 0 - 0
drivers/media/video/cx23885/cx23885-i2c.c → drivers/media/pci/cx23885/cx23885-i2c.c


+ 0 - 0
drivers/media/video/cx23885/cx23885-input.c → drivers/media/pci/cx23885/cx23885-input.c


+ 0 - 0
drivers/media/video/cx23885/cx23885-input.h → drivers/media/pci/cx23885/cx23885-input.h


+ 0 - 0
drivers/media/video/cx23885/cx23885-ioctl.c → drivers/media/pci/cx23885/cx23885-ioctl.c


+ 0 - 0
drivers/media/video/cx23885/cx23885-ioctl.h → drivers/media/pci/cx23885/cx23885-ioctl.h


+ 0 - 0
drivers/media/video/cx23885/cx23885-ir.c → drivers/media/pci/cx23885/cx23885-ir.c


+ 0 - 0
drivers/media/video/cx23885/cx23885-ir.h → drivers/media/pci/cx23885/cx23885-ir.h


+ 0 - 0
drivers/media/video/cx23885/cx23885-reg.h → drivers/media/pci/cx23885/cx23885-reg.h


+ 0 - 0
drivers/media/video/cx23885/cx23885-vbi.c → drivers/media/pci/cx23885/cx23885-vbi.c


+ 0 - 0
drivers/media/video/cx23885/cx23885-video.c → drivers/media/pci/cx23885/cx23885-video.c


+ 0 - 0
drivers/media/video/cx23885/cx23885.h → drivers/media/pci/cx23885/cx23885.h


+ 0 - 0
drivers/media/video/cx23885/cx23888-ir.c → drivers/media/pci/cx23885/cx23888-ir.c


+ 0 - 0
drivers/media/video/cx23885/cx23888-ir.h → drivers/media/pci/cx23885/cx23888-ir.h


+ 0 - 0
drivers/media/video/cx23885/netup-eeprom.c → drivers/media/pci/cx23885/netup-eeprom.c


+ 0 - 0
drivers/media/video/cx23885/netup-eeprom.h → drivers/media/pci/cx23885/netup-eeprom.h


+ 0 - 0
drivers/media/video/cx23885/netup-init.c → drivers/media/pci/cx23885/netup-init.c


+ 0 - 0
drivers/media/video/cx23885/netup-init.h → drivers/media/pci/cx23885/netup-init.h


+ 0 - 0
drivers/media/video/cx25821/Kconfig → drivers/media/pci/cx25821/Kconfig


+ 0 - 0
drivers/media/video/cx25821/Makefile → drivers/media/pci/cx25821/Makefile


+ 0 - 0
drivers/media/video/cx25821/cx25821-alsa.c → drivers/media/pci/cx25821/cx25821-alsa.c


+ 0 - 0
drivers/media/video/cx25821/cx25821-audio-upstream.c → drivers/media/pci/cx25821/cx25821-audio-upstream.c


+ 0 - 0
drivers/media/video/cx25821/cx25821-audio-upstream.h → drivers/media/pci/cx25821/cx25821-audio-upstream.h


+ 0 - 0
drivers/media/video/cx25821/cx25821-audio.h → drivers/media/pci/cx25821/cx25821-audio.h


+ 0 - 0
drivers/media/video/cx25821/cx25821-biffuncs.h → drivers/media/pci/cx25821/cx25821-biffuncs.h


+ 0 - 0
drivers/media/video/cx25821/cx25821-cards.c → drivers/media/pci/cx25821/cx25821-cards.c


+ 0 - 0
drivers/media/video/cx25821/cx25821-core.c → drivers/media/pci/cx25821/cx25821-core.c


+ 0 - 0
drivers/media/video/cx25821/cx25821-gpio.c → drivers/media/pci/cx25821/cx25821-gpio.c


+ 0 - 0
drivers/media/video/cx25821/cx25821-i2c.c → drivers/media/pci/cx25821/cx25821-i2c.c


+ 0 - 0
drivers/media/video/cx25821/cx25821-medusa-defines.h → drivers/media/pci/cx25821/cx25821-medusa-defines.h


+ 0 - 0
drivers/media/video/cx25821/cx25821-medusa-reg.h → drivers/media/pci/cx25821/cx25821-medusa-reg.h


+ 0 - 0
drivers/media/video/cx25821/cx25821-medusa-video.c → drivers/media/pci/cx25821/cx25821-medusa-video.c


+ 0 - 0
drivers/media/video/cx25821/cx25821-medusa-video.h → drivers/media/pci/cx25821/cx25821-medusa-video.h


Some files were not shown because too many files changed in this diff