Browse Source

[media] bt8xx: move analog TV part to be together with DTV one

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab 13 years ago
parent
commit
68de959f77

+ 22 - 1
drivers/media/pci/bt8xx/Kconfig

@@ -1,5 +1,26 @@
+config VIDEO_BT848
+	tristate "BT848 Video For Linux"
+	depends on VIDEO_DEV && PCI && I2C && VIDEO_V4L2
+	select I2C_ALGOBIT
+	select VIDEO_BTCX
+	select VIDEOBUF_DMA_SG
+	depends on RC_CORE
+	select VIDEO_TUNER
+	select VIDEO_TVEEPROM
+	select VIDEO_MSP3400 if VIDEO_HELPER_CHIPS_AUTO
+	select VIDEO_TVAUDIO if VIDEO_HELPER_CHIPS_AUTO
+	select VIDEO_TDA7432 if VIDEO_HELPER_CHIPS_AUTO
+	select VIDEO_SAA6588 if VIDEO_HELPER_CHIPS_AUTO
+	---help---
+	  Support for BT848 based frame grabber/overlay boards. This includes
+	  the Miro, Hauppauge and STB boards. Please read the material in
+	  <file:Documentation/video4linux/bttv/> for more information.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called bttv.
+
 config DVB_BT8XX
-	tristate "BT8xx based PCI cards"
+	tristate "DVB/ATSC Support for bt878 based TV cards"
 	depends on DVB_CORE && PCI && I2C && VIDEO_BT848
 	select DVB_MT352 if !DVB_FE_CUSTOMISE
 	select DVB_SP887X if !DVB_FE_CUSTOMISE

+ 6 - 1
drivers/media/pci/bt8xx/Makefile

@@ -1,6 +1,11 @@
+bttv-objs      :=      bttv-driver.o bttv-cards.o bttv-if.o \
+		       bttv-risc.o bttv-vbi.o bttv-i2c.o bttv-gpio.o \
+		       bttv-input.o bttv-audio-hook.o
+
+obj-$(CONFIG_VIDEO_BT848) += bttv.o
 obj-$(CONFIG_DVB_BT8XX) += bt878.o dvb-bt8xx.o dst.o dst_ca.o
 
 ccflags-y += -Idrivers/media/dvb-core
 ccflags-y += -Idrivers/media/dvb-frontends
-ccflags-y += -Idrivers/media/video/bt8xx
+ccflags-y += -Idrivers/media/video
 ccflags-y += -Idrivers/media/tuners

+ 0 - 0
drivers/media/video/bt8xx/bt848.h → drivers/media/pci/bt8xx/bt848.h


+ 0 - 0
drivers/media/video/bt8xx/bttv-audio-hook.c → drivers/media/pci/bt8xx/bttv-audio-hook.c


+ 0 - 0
drivers/media/video/bt8xx/bttv-audio-hook.h → drivers/media/pci/bt8xx/bttv-audio-hook.h


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


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


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


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


+ 0 - 0
drivers/media/video/bt8xx/bttv-if.c → drivers/media/pci/bt8xx/bttv-if.c


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


+ 0 - 0
drivers/media/video/bt8xx/bttv-risc.c → drivers/media/pci/bt8xx/bttv-risc.c


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


+ 0 - 0
drivers/media/video/bt8xx/bttv.h → drivers/media/pci/bt8xx/bttv.h


+ 0 - 0
drivers/media/video/bt8xx/bttvp.h → drivers/media/pci/bt8xx/bttvp.h


+ 0 - 2
drivers/media/video/Kconfig

@@ -619,8 +619,6 @@ menuconfig V4L_PCI_DRIVERS
 
 if V4L_PCI_DRIVERS
 
-source "drivers/media/video/bt8xx/Kconfig"
-
 source "drivers/media/video/cx18/Kconfig"
 
 source "drivers/media/video/cx23885/Kconfig"

+ 0 - 1
drivers/media/video/Makefile

@@ -87,7 +87,6 @@ obj-$(CONFIG_SOC_CAMERA_TW9910)		+= tw9910.o
 
 # And now the v4l2 drivers:
 
-obj-$(CONFIG_VIDEO_BT848) += bt8xx/
 obj-$(CONFIG_VIDEO_ZORAN) += zoran/
 obj-$(CONFIG_VIDEO_CQCAM) += c-qcam.o
 obj-$(CONFIG_VIDEO_BWQCAM) += bw-qcam.o

+ 0 - 27
drivers/media/video/bt8xx/Kconfig

@@ -1,27 +0,0 @@
-config VIDEO_BT848
-	tristate "BT848 Video For Linux"
-	depends on VIDEO_DEV && PCI && I2C && VIDEO_V4L2
-	select I2C_ALGOBIT
-	select VIDEO_BTCX
-	select VIDEOBUF_DMA_SG
-	depends on RC_CORE
-	select VIDEO_TUNER
-	select VIDEO_TVEEPROM
-	select VIDEO_MSP3400 if VIDEO_HELPER_CHIPS_AUTO
-	select VIDEO_TVAUDIO if VIDEO_HELPER_CHIPS_AUTO
-	select VIDEO_TDA7432 if VIDEO_HELPER_CHIPS_AUTO
-	select VIDEO_SAA6588 if VIDEO_HELPER_CHIPS_AUTO
-	---help---
-	  Support for BT848 based frame grabber/overlay boards. This includes
-	  the Miro, Hauppauge and STB boards. Please read the material in
-	  <file:Documentation/video4linux/bttv/> for more information.
-
-	  To compile this driver as a module, choose M here: the
-	  module will be called bttv.
-
-config VIDEO_BT848_DVB
-	bool "DVB/ATSC Support for bt878 based TV cards"
-	depends on VIDEO_BT848 && DVB_CORE
-	select DVB_BT8XX
-	---help---
-	  This adds support for DVB/ATSC cards based on the BT878 chip.

+ 0 - 13
drivers/media/video/bt8xx/Makefile

@@ -1,13 +0,0 @@
-#
-# Makefile for the video capture/playback device drivers.
-#
-
-bttv-objs      :=      bttv-driver.o bttv-cards.o bttv-if.o \
-		       bttv-risc.o bttv-vbi.o bttv-i2c.o bttv-gpio.o \
-		       bttv-input.o bttv-audio-hook.o
-
-obj-$(CONFIG_VIDEO_BT848) += bttv.o
-
-ccflags-y += -Idrivers/media/video
-ccflags-y += -Idrivers/media/tuners
-ccflags-y += -Idrivers/media/dvb-core