summaryrefslogtreecommitdiff
path: root/v4l
AgeCommit message (Collapse)Author
2007-09-12Improve mailimport scriptsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> - Preserve original email's date; - Handles reviewed-by tag; - avoids upperscase troubles when processing tags. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-09-11merge: http://linuxtv.org/hg/~mkrufky/compatMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-09-08cx23885: add cardlist generator scriptMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> based on cx88.pl -- minimal changes required for cx23885 Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-11include drivers/media/video/cx23885/KconfigMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-09-03Remove some compat code from pwc-if, moving to compat.hMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-08-27tuner: alter build to produce separate modulesMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Break tuner.ko into separate modules. This was a quick change - Tuner sub-drivers are still static-linked to tuner.ko, this will change after using dvb_attach and removing the probing functions. After this change, one can deselect undesired tuner sub-drivers via Kconfig. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Hans Verkuil <hverkuil@xs4all.nl> Acked-by: Mike Isely <isely@pobox.com> Acked-by: Steven Toth <stoth@hauppauge.com> Acked-by: Patrick Boettcher <pb@linuxtv.org> Acked-by: Jarod Wilson <jwilson@redhat.com> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2007-08-21Remove old scripts from the CVS timeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Those scripts were used with the legacy patch submission. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-08-21Cleanup: remove linux/moduleparam.h from drivers/media filesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Since at least kernel 2.6.12-rc2, module.h includes moduleparm.h. This patch removes all occurences of moduleparm.h from drivers/media files. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-08-17compat: Fix device_create compat codeTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The current compat code for device_create/destroy doesn't work properly for kernels 2.6.14 or below, and 2.6.18 to 2.6.23. For kernels 2.6.14 and below, the device_create/destroy compat code wasn't enabled. Those kernels need it too. For kernels 2.6.18 to 2.6.23, compat code _was_ getting including, which caused errors since 2.6.18 and above already have device_create and device_destroy. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-08-16compat: ALSA compat codeTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Removed some ALSA compat code from bt87x and put it into compat.h, then use this code in cx88-alsa and saa7134-alsa to avoid lots and lots of #ifs. All the kernel version checks in cx88-alsa and saa7134 were off by one too, which is now fixed. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-08-17Make dvbdev compatible again with older kernel versionsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> class_device_create/class_device_destroy are being replaced by device_create/device_destroy. This patch make it backward compatible. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-08-16merge: http://linuxtv.org/~tap/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-08-13build: make whitespace cleaning script work with qrefresh targetTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Files changed in an mq patch weren't being checked. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-07-28versions.txt: add DVB_TUNER_MT2131 and DVB_S5H1409Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-06-25Adds a new "make init" targetMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> If you have tools like "dkms" installed, you may lose your kernel config at kernel source tree. The new "init" target allows recreating kernel basic init files from V4L tree. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- v4l/Makefile | 5 +++++ 1 file changed, 5 insertions(+)
2007-07-27Add vp27smpx driverHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> This device is internal to the Panasonic VP27S tuner and is used to set the mono/stereo/bilingual setting of the tuner. It is used by two Japanese cx23416-based cards. Signed-off-by: Takahiro Adachi <tadachi@tadachi-net.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-07-20compat: set_freezable() version check off by 1Trent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The function wasn't added until after 2.6.22. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-07-20compat: keep printing pci revision on older kernelsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> In 2.6.23, there is a new struct pci_dev->revision field to get the pci revision. A couple drivers now use this to print the revision and on old kernels don't print it anymore. This patch adds a simple function to get the revision to compat.h to make it easy for the backward compay code to keep printing the revision like is used too. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-07-19Fix compatibility with kernels older than 2.6.22Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Thanks to Michael Krufky for pointing this issue. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-19tcm825x module requires kernel version 2.6.22 or upperMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-16Update script to not remove TEA5761Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-11Add script for generating pull requestsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Add scripts/hg-pull-req.pl, which generates a nicely formatted pull request. Mention it in README.patches. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-06-23compat: Add compat.h code for pci_match_device()Trent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The first argument changed in 2.6.13, but it can be make backward compatible with a macro. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-06-07Allow removing CONFIG_BIGPHYS_AREA from mainstream kernelMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> CONFIG_BIGPHYS_AREA is an out-of-tree patch. While it may be interesting to have this configuration flag when compiling v4l-dvb out-of-tree, for development purposes, there's no sense on keeping those unused code inside kernel. This patch do some cosmetic changes on zoran_driver.c, preserving both supports there, and adds the defaults to be used by gentree.pl. This way, gentree.pl will handle the removal of the dead code when submitting code to mainstream, while keeping the complete code at v4l-dvb tree. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-04build: fix make kernel-linksTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The out of tree v4l-dvb build system uses slightly different compiler flags than the kernel does. This caused problems when trying to compile the out of tree version of the source symlinked into the kernel tree. The workaround is to have the script that creates the symlinks also create a new file called drivers/media/Kbuild, which the kernel build system will use in preference to divers/media/Makefile. The new Kbuild file exports the necessary EXTRA_CFLAGS to make building work and then includes the real drivers/media/Makefile. The dvb Makefiles were changed in a previous patch from 'EXTRA_CFLAGS=' to 'EXTRA_CFLAGS+=' so they wouldn't replace the new EXTRA_CFLAGS. The symlink creating script is also re-written to make the symlinks faster with less duplication of commands and avoid some unnecessary links. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-06-01Improve compatibility handlingMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> V4L/DVB tree keeps backward compatibility with vanilla 2.6.x kernels. However, if some API changes happens on 2.6.x.y, this wouldn't be handled. This patch improves the compatibility capabilities of the tree by allowing customized scripts to be added on make_config_compat.pl. So, when generating config-compat.h, some compat checks can be done against the kernel tree. The practical effect is allowing compilation on 2.6.17.x trees, used by several distros, where some changes on netdevice.h affects dvb-net, stopping its compilation. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-01Reverting last changeset. There were two different patches merged togetherMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-01saa7134-tvaudio: kthread conversionMauro Carvalho Chehab
From: Christoph Hellwig <hch@lst.de> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Hermann Pitton <hermann-pitton@arcor.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-31Script updated to support a more generic shell languageMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-31Simplifies make install logsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Installation logs were very prolific. This patch makes the installation message cleaner, while preserving all information. The generated log is now much more clear, especially if compiling just a few device drivers. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-26build: Put check in make_kconfig for pre 2.6.22 kernelsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Most of the v4l-dvb drivers now depend on the kernel Kconfig option HAS_IOMEM, which isn't defined by kernels older than 2.6.22. Assume HAS_IOMEM is true for older kernels to make the v4l-dvb Kconfig files work. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-05-21build: work around problem with VIDEO_HELPER_CHIPS_AUTOTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> A number of drivers depend on "!VIDEO_HELPER_CHIPS_AUTO", so when VHCA is on, they are disabled. Make the allyesconfig default be VHCA off so these drivers will be enabled with allyesconfig. Even though these drivers are disabled when VHCA is on, it is still possible to enable them via a "select", at which point a driver will be on even though its dependencies are not met. Which seems like it doesn't follow the specification. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-05-21build: Update make_kconfig to support depends on in menusTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> A backported kernel patch added a "depends on" clause to a menu, which wasn't yet handled. Everything in a menu gains implicitly gains a copy of the menu's dependencies We handle this the same way as if/endif is handled. It may not work properly if someone makes a nonsense file like: menu "foo" if X endmenu endif Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-05-13backport commit cbefb762b67fa6d3eb2a48ae3380358a940e8c9dMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Backport the original patch from Mattia Dongili <malattia@linux.it> meye: make meye use sony-laptop instead of sonypi Change sonypi_camera_command() calls to sony_pic_camera_command() and use the renamed macros. Also, added compat stuff to allow compiling meye driver for kernels < 2.6.22 Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-03build: Handle string optionsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Deal with string options and the default values. There is only one string option, and it's disabled, but someone could always add more. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-05-03build: Update build scripts to handle menuconfig/if/endifTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Update make_myconfig.pl and make_kconfig.pl to handle menuconfig options the same way as config options. Update make_kconfig.pl to process if/endif directives. All config options inside an if/endif block gain a dependency on the 'if' expression. Make the script a little more efficient by not trying to match a line after it has already found a match for it. This helped to enhance debug mode, so that it will print lines which were not understood rather than silently skipping them. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-05-01Relax some regex for processing saa7134-cardsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-14Use a better format to represent usbvision supported boardsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Changed usbvision cards table to allow: 1) Not repeat USB ID on two structs; 2) Not need to specify both usb and card description tables at the same order, removing some magic; Some cards had duplicated names. Fixed. A test for an specific board were doing by using a string comparation. The comparation were wrong. Also, it is not a good practice to recognize a board based on his string name. Acked-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-03Add script to generate CARDLIST.usbvisionMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-03-30build: Fix bug with make qrefreshTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Annoyingly, the Hg mq extension will strip lines starting with "From: " from the patch header. Since the v4l-dvb format commit message contains a line starting with "From: ", it will mess them up. This changes prep_commit_msg to create a decoy "from" line to keep mq from messing up commit messages. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-03-12build: add a qrefresh target, like commit for use with mqTrent Piepho
Adds a qrefresh target to the top-level Makefile. It's like commit, but for use with the Hg mq extension. It will execute hg qrefresh, so you should have a current mq patch created with hg qnew already! It will run the whitespace and cardlist scripts. If you do not have a commit message from the current mq patch, it will create a default one, as make commit does. If one already exists, then it will put a comment at the beginning of the existing message with the current diffstat and a note of any changes the whitespace script made. The diffstat is done with qdiff, which will show the total diffstat of the patch instead of just the diffstat of from the last version of the patch to the current version. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-03-11scripts: Enhance analyze_build a bitTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> In one case a Kbuild file would do something like: foo-objs := a.o b.o foo-objs += c.o analyze_build didn't understand that the second lines _adds_ c.o to the objects that make up foo.ko. It would think that foo.ko was made up of only c.o. Should be fixed now. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-03-09build: Add support for DESTDIR when installing/removing modulesTrent Piepho
From: Ludwig Nussel <ludwig.nussel@suse.de> If defined, use $(DESTDIR) as a prefix for installing and removing modules. depmod will also use $(DESTDIR) as a prefix when it is run as part of module installation. Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de> Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-03-11versions.txt: remove DVB_TUNER_LGH06XFMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The lgh06xf module was removed, so we should remove it from versions.txt Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-10Added another variant of acked-by:Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-03-07build: do a better job at parsing hgrc filesTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> When parsing hgrc files, don't get confused by 'username' appearing in other sections, like [smtp]. Check the repo's hgrc file first, then ~/.hgrc Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-03-07build: speed up link creationTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Everytime a build is started, the build system creates links to every single source file from the v4l directory. This patch changes the command used, to one that is about 15x faster. When building just one file, the creating the links could take the majority of the total build time. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-03-07Allow using tea5761 radio device on tuner-coreMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> tea5761 is a driver wrote back on 2005, to support Philips tea5671 radio, meanting to be used on some devices that would be lauched with those chips. Recently, some people seems to be interested on having support for those chips at Linux Kernel. Let's enable compilation of this driver and ask they to test if this works fine. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-28merge: http://linuxtv.org/hg/~tap/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-27compat: fix test for true already being definedTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The #ifndef true test didn't work, as true is an enum, not a macro. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>