From 2a79b63774ae84b3f0f43c058e9c2a1bf8cf0ce9 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Tue, 2 Oct 2007 11:57:03 -0300 Subject: Add tuner-xc2028 driver From: Mauro Carvalho Chehab Add support for Xceive XC2028/XC3028 tuner driver Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/video/Kconfig | 12 linux/drivers/media/video/Makefile | 4 linux/drivers/media/video/tuner-core.c | 5 linux/drivers/media/video/tuner-driver.h | 2 linux/drivers/media/video/tuner-xc2028.c | 407 +++++++++++++++++++++++++++++++ linux/drivers/media/video/tuner-xc2028.h | 9 v4l/versions.txt | 1 7 files changed, 440 insertions(+) --- linux/drivers/media/video/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'linux/drivers/media/video/Makefile') diff --git a/linux/drivers/media/video/Makefile b/linux/drivers/media/video/Makefile index b5a064163..1fd775e0a 100644 --- a/linux/drivers/media/video/Makefile +++ b/linux/drivers/media/video/Makefile @@ -6,6 +6,10 @@ zr36067-objs := zoran_procfs.o zoran_device.o \ zoran_driver.o zoran_card.o tuner-objs := tuner-core.o tuner-types.o tda9887.o +ifneq ($(CONFIG_TUNER_XC2028),) + tuner-objs += tuner-xc2028.o +endif + msp3400-objs := msp3400-driver.o msp3400-kthreads.o obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-common.o compat_ioctl32.o \ -- cgit v1.2.3 From a1bf9e7b7282eca1a559270b1e3d39df743c52b3 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Tue, 23 Oct 2007 16:24:06 -0200 Subject: Convert tuner-xc2028 driver to the newer hybrid approach From: Mauro Carvalho Chehab This changeset converts tuner-xc2028 to the newer hybrid approach. It also prevents creating twice the xc3028 private struct by both DVB and V4L parts. Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/Kconfig | 8 linux/drivers/media/video/Kconfig | 12 linux/drivers/media/video/Makefile | 5 linux/drivers/media/video/tuner-core.c | 12 linux/drivers/media/video/tuner-driver.h | 2 linux/drivers/media/video/tuner-xc2028.c | 424 ++++++++++++++----------------- linux/drivers/media/video/tuner-xc2028.h | 24 + 7 files changed, 248 insertions(+), 239 deletions(-) --- linux/drivers/media/video/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'linux/drivers/media/video/Makefile') diff --git a/linux/drivers/media/video/Makefile b/linux/drivers/media/video/Makefile index 1fd775e0a..08ac197cc 100644 --- a/linux/drivers/media/video/Makefile +++ b/linux/drivers/media/video/Makefile @@ -6,10 +6,6 @@ zr36067-objs := zoran_procfs.o zoran_device.o \ zoran_driver.o zoran_card.o tuner-objs := tuner-core.o tuner-types.o tda9887.o -ifneq ($(CONFIG_TUNER_XC2028),) - tuner-objs += tuner-xc2028.o -endif - msp3400-objs := msp3400-driver.o msp3400-kthreads.o obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-common.o compat_ioctl32.o \ @@ -85,6 +81,7 @@ obj-$(CONFIG_TUNER_3036) += tuner-3036.o obj-$(CONFIG_VIDEO_TUNER) += tuner.o +obj-$(CONFIG_TUNER_XC2028) += tuner-xc2028.o obj-$(CONFIG_TUNER_SIMPLE) += tuner-simple.o obj-$(CONFIG_TUNER_MT20XX) += mt20xx.o obj-$(CONFIG_TUNER_TDA8290) += tda8290.o -- cgit v1.2.3 From f206890c29c965f6ef422b318895e11c4039800a Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Sun, 21 Oct 2007 19:48:48 -0400 Subject: make tda9887 build selectable via Kconfig From: Michael Krufky Signed-off-by: Michael Krufky Reviewed-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/Kconfig | 10 +++++++++ linux/drivers/media/video/Makefile | 3 +- linux/drivers/media/video/tda9887.c | 23 ++++++++++++++------- linux/drivers/media/video/tda9887.h | 33 +++++++++++++++++++++++++++++++ linux/drivers/media/video/tuner-core.c | 3 +- linux/drivers/media/video/tuner-driver.h | 4 --- 6 files changed, 62 insertions(+), 14 deletions(-) --- linux/drivers/media/video/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linux/drivers/media/video/Makefile') diff --git a/linux/drivers/media/video/Makefile b/linux/drivers/media/video/Makefile index 08ac197cc..8a2781821 100644 --- a/linux/drivers/media/video/Makefile +++ b/linux/drivers/media/video/Makefile @@ -4,7 +4,7 @@ zr36067-objs := zoran_procfs.o zoran_device.o \ zoran_driver.o zoran_card.o -tuner-objs := tuner-core.o tuner-types.o tda9887.o +tuner-objs := tuner-core.o tuner-types.o msp3400-objs := msp3400-driver.o msp3400-kthreads.o @@ -87,6 +87,7 @@ obj-$(CONFIG_TUNER_MT20XX) += mt20xx.o obj-$(CONFIG_TUNER_TDA8290) += tda8290.o obj-$(CONFIG_TUNER_TEA5767) += tea5767.o obj-$(CONFIG_TUNER_TEA5761) += tea5761.o +obj-$(CONFIG_TUNER_TDA9887) += tda9887.o obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o obj-$(CONFIG_VIDEOBUF_DMA_SG) += videobuf-dma-sg.o -- cgit v1.2.3