Skip to content

Commit

Permalink
[media] rename most media/video pci drivers to media/pci
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mauro Carvalho Chehab committed Aug 15, 2012
1 parent 68de959 commit b285192
Show file tree
Hide file tree
Showing 216 changed files with 33 additions and 53 deletions.
50 changes: 23 additions & 27 deletions drivers/media/pci/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
11 changes: 10 additions & 1 deletion drivers/media/pci/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,20 @@

obj-y := ttpci/ \
b2c2/ \
bt8xx/ \
pluto2/ \
dm1105/ \
pt1/ \
mantis/ \
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/
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 0 additions & 15 deletions drivers/media/video/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -619,14 +619,6 @@ menuconfig V4L_PCI_DRIVERS

if V4L_PCI_DRIVERS

source "drivers/media/video/cx18/Kconfig"

source "drivers/media/video/cx23885/Kconfig"

source "drivers/media/video/cx25821/Kconfig"

source "drivers/media/video/cx88/Kconfig"

config VIDEO_HEXIUM_GEMINI
tristate "Hexium Gemini frame grabber"
depends on PCI && VIDEO_V4L2 && I2C
Expand All @@ -650,8 +642,6 @@ config VIDEO_HEXIUM_ORION
To compile this driver as a module, choose M here: the
module will be called hexium_orion.

source "drivers/media/video/ivtv/Kconfig"

config VIDEO_MEYE
tristate "Sony Vaio Picturebook Motion Eye Video For Linux"
depends on PCI && SONY_LAPTOP && VIDEO_V4L2
Expand Down Expand Up @@ -682,11 +672,6 @@ config VIDEO_MXB
To compile this driver as a module, choose M here: the
module will be called mxb.

source "drivers/media/video/saa7134/Kconfig"

source "drivers/media/video/saa7164/Kconfig"

source "drivers/media/video/zoran/Kconfig"

config STA2X11_VIP
tristate "STA2X11 VIP Video For Linux"
Expand Down
10 changes: 0 additions & 10 deletions drivers/media/video/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,12 @@ obj-$(CONFIG_SOC_CAMERA_TW9910) += tw9910.o

# And now the v4l2 drivers:

obj-$(CONFIG_VIDEO_ZORAN) += zoran/
obj-$(CONFIG_VIDEO_CQCAM) += c-qcam.o
obj-$(CONFIG_VIDEO_BWQCAM) += bw-qcam.o
obj-$(CONFIG_VIDEO_W9966) += w9966.o
obj-$(CONFIG_VIDEO_PMS) += pms.o
obj-$(CONFIG_VIDEO_VINO) += vino.o
obj-$(CONFIG_VIDEO_MEYE) += meye.o
obj-$(CONFIG_VIDEO_SAA7134) += saa7134/
obj-$(CONFIG_VIDEO_CX88) += cx88/
obj-$(CONFIG_VIDEO_CX25821) += cx25821/
obj-$(CONFIG_VIDEO_MXB) += mxb.o
obj-$(CONFIG_VIDEO_HEXIUM_ORION) += hexium_orion.o
obj-$(CONFIG_VIDEO_HEXIUM_GEMINI) += hexium_gemini.o
Expand All @@ -116,13 +112,9 @@ obj-$(CONFIG_VIDEO_VIA_CAMERA) += via-camera.o

obj-$(CONFIG_VIDEO_OMAP3) += omap3isp/

obj-$(CONFIG_VIDEO_IVTV) += ivtv/
obj-$(CONFIG_VIDEO_CX18) += cx18/

obj-$(CONFIG_VIDEO_VIU) += fsl-viu.o
obj-$(CONFIG_VIDEO_VIVI) += vivi.o
obj-$(CONFIG_VIDEO_MEM2MEM_TESTDEV) += mem2mem_testdev.o
obj-$(CONFIG_VIDEO_CX23885) += cx23885/

obj-$(CONFIG_VIDEO_AK881X) += ak881x.o

Expand Down Expand Up @@ -157,8 +149,6 @@ obj-$(CONFIG_ARCH_DAVINCI) += davinci/

obj-$(CONFIG_VIDEO_SH_VOU) += sh_vou.o

obj-$(CONFIG_VIDEO_SAA7164) += saa7164/

obj-$(CONFIG_VIDEO_IR_I2C) += ir-kbd-i2c.o

obj-y += davinci/
Expand Down

0 comments on commit b285192

Please sign in to comment.