summaryrefslogtreecommitdiff
path: root/v4l
AgeCommit message (Collapse)Author
2008-11-20Fix Ubuntu module removal scriptMauro Carvalho Chehab
From: Devin Heitmueller <devin.heitmueller@gmail.com> The generated Makefile.media had entries in it's remove list for Ubuntu that were concatenated together. Add a space when concatenating together the various lists (so there is a space between the lists) Thanks for Mike Krufky <mkrufky@linuxtv.org> for pointing this out and testing the fix. Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-11-12merge: http://linuxtv.org/hg/~pinchartl/uvcvideoMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-11-11uvcvideo: Enable compilation on kernels older than 2.6.22Laurent Pinchart
From: Laurent Pinchart <laurent.pinchart@skynet.be> The uvcvideo driver makes use of the usb_endpoint_* functions as well as the list_first_entry and uninitialized_var macros. Add them to v4l/compat.h and update the driver with kernel version-based conditional compilation sections. Priority: normal Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
2008-11-11merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-backportMauro Carvalho Chehab
2008-11-11Backport a few minor changes from upstreamMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> kernel-sync: Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-11-11v4l: prevent building dsbr100 for older kernelsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> dsbr100 uses supports_autosuspend, which is not available in kernels <2.6.19. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-11-06v4l: fix dev_set_name compiler errors for kernels < 2.6.26Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-10-30merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-25A small improvement at a comment added on the latest patchMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-25Improve make install to work properly with a distro that use non-standard ↵Mauro Carvalho Chehab
dir for V4L/DVB modules From: Mauro Carvalho Chehab <mchehab@redhat.com> One distro stores kernel/drivers/media files on non-standard dirs. I can't see any logical rule for, once having the kernel original dir position, determine were the kernel driver were placed on that distro. For example, they put xc5000.ko driver inside <foo>/media/au0828, while the expected place would be something like <foo>/media/common/tuners. So, this patch do some tricks, when "make rminstall" or "make install" is called: 1) detect if it is such distro; 2) if so, it will run something like: find <foo>/media -name <module.ko> -exec rm '{}' \; where <module.ko> is the official V4L/DVB name for the compiled modules, and <foo> is the distro non-standard dir. This should remove the new V4L/DVB .ko modules that are located at the non-standard dir or inside one of its sub-directories. NOTICE: If there are other V4L/DVB drivers there that (1) aren't inside V4L/DVB tree; (2) weren't selected to compile; then those drivers will likely stop working. This patch doesn't affect the other distros. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-10-24merge: http://www.linuxtv.org/hg/~tmerle/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-23CinergyT2: on v4l-dvb update, remove the old cinergyT2 driver if presentThierry MERLE
From: Thierry MERLE <thierry.merle@free.fr> If a user installs the new CinergyT2 driver, on an kernel on which the old driver is present, the make install procedure does not remove the old driver if present. Just adding an entry in v4l/obsolete.txt does the trick for the user. Priority: normal Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-10-22v4l: rename compat_ioctl32.c to v4l2-compat-ioctl32.cHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> All core v4l sources should start with 'v4l2-' This file was the last one for which this was not the case. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-10-24Fix compilation with RHEL 5.2 kernelMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> RHEL 5 already declares bool. Still, there are some warnings that probably indicate that something else needs to be done for the code to work with RHEL5. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-03backport commit aa7a7fb3990ffc74945494cbd2fc6e920825ee2cMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Author: David Woodhouse <David.Woodhouse@intel.com> Define and use PCI_DEVICE_ID_MARVELL_88ALP01_CCIC for CAFÉ camera driver Also, stop looking at the NAND controller (0x4100) and checking the device class. For a while during development, all three functions on the chip had the same ID. We made them fix that fairly promptly, and we can forget about it now. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-15merge: http://linuxtv.org/hg/~tlorenz/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-15merges from mainTobias Lorenz
2008-10-14v4l: prevent compilation of the two new USB radio drivers on old kernelsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> USB_SI470X needs at least 2.6.20 and USB_MR800 needs at least 2.6.19. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-10-13v4l: second attempt: fix finepix compilationHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> finepix doesn't compile for 2.6.19 or older. Unfortunately I messed up in my previous patch for this and still allowed finepix to be compiled for 2.6.19. Move this driver up to 2.6.20 in the versions.txt. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-10-13v4l: prevent finepix from being built for kernels <= 2.6.19Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The finepix gspca driver uses struct delayed_work which did not appear until 2.6.20, so disable this driver for older kernels. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> CC: Jean-Francois Moine <moinejf@free.fr>
2008-10-03dm1105: skip building this for kernels < 2.6.22Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> This driver doesn't compile for kernels < 2.6.22, so disable it for those kernels. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-10-12Fix build breakage with kernels lower than 2.6.28Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> This patch fixes compilation for older kernels. However, due to -alsa changes on saa7134-alsa and snd-bt878, I'm not sure if this is enough for it to really work. I suspect that something else may be needed for they to work with earlier versions. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-04v4l: disconnect kernel number from minorHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The v4l core creates four different video devices (video, vbi, radio, vtx) and each has its own range of minor numbers. However, modern devices keep increasing the number of devices that they need so a maximum of 64 video devices will not be enough in the future. In addition this scheme makes it very hard to add new device types. This patch disconnects the kernel number allocation (e.g. video0, video1, etc.) from the actual minor number (just pick the first free minor). This allows for much more flexibility in the future. However, it does require the use of udev. For those who cannot use udev a new CONFIG option was created that changes the allocation scheme back to the old behavior. Thanks to Greg KH for suggesting this approach during the 2008 LPC. In addition, several bugs were fixed in the ivtv and cx18 drivers: these drivers try to allocate specific kernel numbers but that scheme contained a bug which caused what should have been e.g. video17 to appear as e.g. video2. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-09-28Add a newer meta-tag to SOB like stuff.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-05merge: http://linuxtv.org/hg/~awalls/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Fixed a trivial conflict between a janitor's patch from Hans Verkuil and Andy patch series. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-08-30compat: add current_uid define to fix compile errors on kernels < 2.6.27Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-29v4l2-apps: fix v4l2-apps build and 'make firmware' warningsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - fix some warnings when creating/removing directories when running 'make firmware' - fix v4l2-apps build: copy and strip the linux/include headers first to avoid the kernel-specific constructs in the original headers. Update the include paths to point to the copy. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-23v4l-dvb: fix building with C=1 or C=2 (sparse)Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-29Make firmware removal less verboseMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-22compat.h: add DIV_ROUND_UP for kernels <= 2.6.18Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-22merge: http://linuxtv.org/hg/~ajacquet/v4l-dvb/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-18merge: v4l-dvbAntoine Jacquet
From: Antoine Jacquet <royale@zerezo.com> Priority: normal Signed-off-by: Antoine Jacquet <royale@zerezo.com>
2008-08-16aci: remove obsolete sourcesHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The aci.c and aci.h files were copied from the kernel for a Miro radio card. That driver has been removed, so these supported sources can also be removed. In addition some remaining traces of the Miro driver were also deleted. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-08bt87x: depends on PCIHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Building bt87x fails on machines without PCI bus. Add dependency on CONFIG_PCI. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-16Properly handles commit messages with date: fieldMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This patch allows a better support for third party patches. Now, it will properly recognize and proccess messages with the following format: Date: <some date> From: <some developer> Subject: <patch subject> <body> This will help to better proccess messages received via email. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-14Partially revert changeset 8409:91b64238b184Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Firmware changes were simpler than expected. No need for those changes at Kbuild, for now Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-14Syncronize checkpatch.pl with the latest kernel versionMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-09pxa_camera: can only be built for kernels >= 2.6.26Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-05Improve scripts to allow developers to add a hint about patch priorityMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> After this patch, a new meta-tag will be added, to give a hint about the priority: low - patches that add new drivers that aren't ready for kernel, but it would be interesting to be at the main tree; normal - Patches that will be merged on the next merge window; high - Bug fixes Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-26Fix compat for stkcamMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-25v4l-dvb: remove broken PlanB driverHans Verkuil
From: Adrian Bunk <bunk@kernel.org> The PlanB driver has been broken since around May 2004. No one stepped in to maintain it, so it is now being removed. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Hans Verkuil <hverkuil@xs4all.nl> Acked-by: Michel Lanners <mlan@cpu.lu> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-24Synchronize gentree.pl with the version I use hereMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-20Complete firmware compilation scriptsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This patch completes firmware compilation scripts: - linux/firmware/Makefile is just a copy of kernel script make file. It is not currently used by the building system; - Added two new targets for firmware compilation and instalation; - Fixes the COPYING file to explicitly state that the firmwares aren't covered by GPL; - make distclean will also cleanup the firmwares. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-18A few improvements at firmware buildMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> make firmware will now create the firmware files, using .ihex, .HEX and .H16 target files, under linux/firmware. TODO: - use the right names for those firmwares; - link them with the module, if desired by enduser. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-18merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-18Firmware compilation is not working yet. Disable at makefileMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-18Prepare to allow firmware out-of-tree firmware compilationMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This patch synchronizes the firmware hex files from Kernel and starts to prepare to allow firmware compilation at the out-of-tree driver. Yet, some work need to be done to make it work. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-18videobuf-dma-contig.c: fix 64-bit build for pre-2.6.24 kernelsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-17Improve make_config.pl scriptMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This patch adds the capability of processing some tags that contains "if", like: menuconfig foo if bar boolean foo if bar tristate foo if bar default foo if bar Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-17videodev: add support for kernels < 2.6.19Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Add the necessary compatibility code to handle the struct device/struct class_device differences. It was too much work (with uncertain benefits) to convert several drivers to handle kernels <2.6.19, so they are not built on these older kernels. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>