From 3ccfc5b68eae5bd3cc527901249110598b033501 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sat, 4 Nov 2006 10:01:45 -0300 Subject: Make ov7670 and cafe_ccic compile at v4l-dvb tree From: Mauro Carvalho Chehab Those driver are developed using some stuff from newer kernels. Maybe they may compile with kernels lower than 2.6.19, but upper than 2.6.16. Anyway,since the targeted OLPC hardware is not available yet, IMO, it doesn't make much sense to work on backporting the drivers to kernels lower than kernel 2.6.19. CC: Jonathan Corbet Signed-off-by: Mauro Carvalho Chehab --- v4l/versions.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'v4l') diff --git a/v4l/versions.txt b/v4l/versions.txt index d3fb72d4b..4f317a746 100644 --- a/v4l/versions.txt +++ b/v4l/versions.txt @@ -6,6 +6,10 @@ VIDEO_ZR36120 # This is also marked as broken VIDEO_PLANB +[2.6.19] +#Those two drivers were developed at kernel 2.6.19 +VIDEO_OV7670 +VIDEO_CAFE_CCIC # DVB_CORE_ATTACH relies on symbol_put_addr which hangs pre-2.6.17 [2.6.17] -- cgit v1.2.3 From a5b76f4f8e779af6a3f196a50c73705a55089bd9 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sat, 4 Nov 2006 10:22:10 -0300 Subject: ov7670 can be compiled with older kernel versions From: Mauro Carvalho Chehab ov7670 compiled fine with 2.6.16. However, cafe_ccic compilation with 2.6.16 produces: CC [M] /home/v4l/master/v4l/cafe_ccic.o /home/v4l/master/v4l/cafe_ccic.c: In function 'cafe_setup_siobuf': /home/v4l/master/v4l/cafe_ccic.c:1162: warning: implicit declaration of function 'vmalloc_user' /home/v4l/master/v4l/cafe_ccic.c:1162: warning: assignment makes pointer from integer without a cast /home/v4l/master/v4l/cafe_ccic.c: In function 'cafe_v4l_mmap': /home/v4l/master/v4l/cafe_ccic.c:1429: warning: implicit declaration of function 'remap_vmalloc_range' /home/v4l/master/v4l/cafe_ccic.c: In function 'cafe_dfs_open': /home/v4l/master/v4l/cafe_ccic.c:1972: error: 'struct inode' has no member named 'i_private' /home/v4l/master/v4l/cafe_ccic.c: In function 'cafe_pci_probe': /home/v4l/master/v4l/cafe_ccic.c:2119: warning: passing argument 2 of 'request_irq' from incompatible pointer type Signed-off-by: Mauro Carvalho Chehab --- v4l/versions.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'v4l') diff --git a/v4l/versions.txt b/v4l/versions.txt index 4f317a746..576d3459e 100644 --- a/v4l/versions.txt +++ b/v4l/versions.txt @@ -7,8 +7,7 @@ VIDEO_ZR36120 VIDEO_PLANB [2.6.19] -#Those two drivers were developed at kernel 2.6.19 -VIDEO_OV7670 +#This driver were developed at kernel 2.6.19, requiring vmalloc_user/remap_vmalloc_range VIDEO_CAFE_CCIC # DVB_CORE_ATTACH relies on symbol_put_addr which hangs pre-2.6.17 @@ -19,6 +18,8 @@ DVB_CORE_ATTACH [2.6.16] VIDEO_VINO VIDEO_M32R_AR_M64278 +# Not tested with versions bellow 2.6.16 +VIDEO_OV7670 # Changes in struct i2c_driver, i2c_add_driver() [2.6.16] -- cgit v1.2.3 From 4069ba86398882e0670b383ee0622f82e3ffe5a7 Mon Sep 17 00:00:00 2001 From: Trent Piepho Date: Sun, 19 Nov 2006 12:11:32 -0800 Subject: compat: Use kernel version to control PCIAGP_FAIL compat code From: Trent Piepho PCIAGP_FAIL is a new pci quirk added in 2.6.19. The code in compat.h was checking if PCIAGP_FAIL was already defined to determine whether or not to include the backward compatibility code. This didn't work in a number of cases when compat.h was included before linux/pci.h, as PCIAGP_FAIL would get defined by compat.h and then re-defined by linux/pci.h. Signed-off-by: Trent Piepho --- v4l/compat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'v4l') diff --git a/v4l/compat.h b/v4l/compat.h index b245c95e2..19d648d5e 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -311,8 +311,8 @@ usb_to_input_id(const struct usb_device *dev, struct input_id *id) } #endif -#ifndef PCIAGP_FAIL - #define PCIAGP_FAIL 0 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) +# define PCIAGP_FAIL 0 #endif #ifndef true -- cgit v1.2.3 From e332e5a0cd73199965b31198ae978e5a4d4eea08 Mon Sep 17 00:00:00 2001 From: Trent Piepho Date: Sun, 19 Nov 2006 12:11:39 -0800 Subject: Use linux/autoconf.h instead of linux/config.h From: Trent Piepho linux/config.h has been deprecated for some time and is now gone. Switch to using linux/autoconf.h, which is where the config defines have been since at least 2.4 anyway. Signed-off-by: Trent Piepho --- v4l/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'v4l') diff --git a/v4l/Makefile b/v4l/Makefile index ef5b583c0..5d77977cc 100644 --- a/v4l/Makefile +++ b/v4l/Makefile @@ -237,7 +237,7 @@ config-compat.h:: .myconfig @perl \ -e 'print "#ifndef __CONFIG_COMPAT_H__\n";' \ -e 'print "#define __CONFIG_COMPAT_H__\n\n";' \ - -e 'print "#include \n\n";' \ + -e 'print "#include \n\n";' \ -e 'while(<>) {' \ -e ' next unless /^(\S+)\s*:= (\S+)$$/;' \ -e ' print "#undef $$1\n";' \ -- cgit v1.2.3 From 294d93fa8164775bbabde48a5b7cdb88a9b4c109 Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Sun, 19 Nov 2006 17:45:26 -0500 Subject: create new lgh06xf atsc tuner module From: Michael Krufky This patch creates a new atsc tuner module for the LG TDVS-H06xF ATSC tuners, called lgh06xf. The purpose of this change is to reduce some duplicated code, and to allow the lgh06xf tuner code to take advantage of dvb_attach(). As a side effect, the dependency of dvb-bt8xx on dvb-pll has been removed, since the lgh06xf module itself will use dvb-pll, while remaining optional for the dvb-bt8xx driver through the use of DVB_FE_CUSTOMISE Signed-off-by: Michael Krufky Acked-by: Andrew de Quincey --- v4l/versions.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'v4l') diff --git a/v4l/versions.txt b/v4l/versions.txt index 576d3459e..1928800bb 100644 --- a/v4l/versions.txt +++ b/v4l/versions.txt @@ -161,6 +161,7 @@ DVB_LGDT330X DVB_LNBP21 DVB_ISL6421 DVB_TUNER_MT2060 +DVB_TUNER_LGH06XF VIDEO_SAA7146 VIDEO_SAA7146_VV VIDEO_VIDEOBUF -- cgit v1.2.3 From 1d3442aedeb650d29782a45b25920036c95e29a8 Mon Sep 17 00:00:00 2001 From: Patrick Boettcher Date: Tue, 21 Nov 2006 10:34:42 +0200 Subject: Adding support for Pinnacle PCTV 400e DVB-S From: Patrick Boettcher Adding support for Pinnacle PCTV 400e DVB-S. The module name is called ttusb2, because it this device (and other Pinnacle devices) is using the USB-protocol originally used by Technotrend device. I'm suspecting Technotrend as the device-designer. Signed-off-by: Patrick Boettcher --- v4l/versions.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'v4l') diff --git a/v4l/versions.txt b/v4l/versions.txt index 1928800bb..a3b22580a 100644 --- a/v4l/versions.txt +++ b/v4l/versions.txt @@ -120,6 +120,7 @@ DVB_USB_VP702X DVB_USB_NOVA_T_USB2 DVB_USB_DTT200U DVB_USB_GP8PSK +DVB_USB_TTUSB2 DVB_TTUSB_BUDGET DVB_TTUSB_DEC DVB_CINERGYT2 -- cgit v1.2.3 From fe7037815818624889adae1f5dce6bd6e65a46bd Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sun, 26 Nov 2006 22:43:54 -0200 Subject: Removed zr36120 from versions.txt From: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab --- v4l/versions.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'v4l') diff --git a/v4l/versions.txt b/v4l/versions.txt index a3b22580a..3d1a14a7e 100644 --- a/v4l/versions.txt +++ b/v4l/versions.txt @@ -1,9 +1,6 @@ # Use this for stuff for drivers that don't compile [2.6.99] -# This is broken for a long time -VIDEO_ZR36120 - -# This is also marked as broken +# This driver is marked at kernel as broken VIDEO_PLANB [2.6.19] -- cgit v1.2.3