summaryrefslogtreecommitdiff
path: root/v4l
AgeCommit message (Collapse)Author
2006-06-17Hex handling is different from intMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Kernel handling of hex type passes those values prefixed with 0x to the modules. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-17integer/hex/string options need to appear in .myconfigMauro Carvalho Chehab
From: Trent Piepho <xyzzy@speakeasy.org> integer/hex/string options were getting omitted from .myconfig, produced by make_noconfig.pl. They don't need to be there for the Makefile that includes .myconfig, it only uses the bool/tristate options. They need to be there for compat-config.h, which is generated from .myconfig and so will only have the #define statements for options that appear in .myconfig. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-17Fix problems with AV7110 firmware buildingMauro Carvalho Chehab
From: Trent Piepho <xyzzy@speakeasy.org> Fix missing $() on variable name in dvb/ttpci/Makefile, prevented AV7110 firmware from building. Remove unnecessary and problematic defines in cflags from v4l/Makefile, they conflict with the kernel's autoconf.h and are are overridden by v4l/config-compat.h anyway. Fix AV7110 firmware dependencies so that parallel builds work correctly. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-13rmmod syntax works only on newer mod-utils packagesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> rmmod <file> doesn't work with rmmod version 3.2.2. This patch uses rmmod <module> instead. This should work with older mod-utils. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-12mailimport improved to accept "hg export" patchesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Now, script will detect "hg export" patches inside emails, removing non-pertinent headers, keeping only the original commit message and the patch. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-12Hex option defaults weren't handled correct in make_kconfigMauro Carvalho Chehab
From: Trent Piepho <xyzzy@speakeasy.org> The regex for int and hex option defaults was only correct for int options, it didn't handle hex characters. The kernel version code was outputing "default n" lines for disabled hex and int options, it should only be done for boolean and tristate options. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-08Make reload were not working. fixed.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-08There were a cross-reference on cpia and cpia_pp/cpia_usbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Those cross-references were generating an error: *** Warning: "cpia_pp_init" [/home/v4l/master/v4l/cpia.ko] undefined! *** Warning: "cpia_usb/_init" [/home/v4l/master/v4l/cpia.ko] undefined! Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-08Handles also hexa fields on KconfigMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> The same threatment to integer can also be applied Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-08insmod.sh were replaced by a perl script (rmmod.pl)Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> insmod.sh were a hack, were somebody should check all dependencies for each module. Several dependencies were mising, and, to keep it updated for 178 modules is really hard. rmmod.pl is a "smart" script: it does: 1) Check, for each found module on v4l, the correct order for each module; 2) Check any dependencies for out-of-tree modules; 3) rmmod/insmod at the correct order; 4) It have a table with the suggested debug parameter for each module. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-08Improve v4l configuration scripts, handle versions.txt differentlyMauro Carvalho Chehab
From: Trent Piepho <xyzzy@speakeasy.org> This mainly changes the way make_kconfig.pl handles config options that require a newer kernel, as defined by versions.txt. Currently it outputs a blank config stanza defining the variable and setting it to 'n'. These show up as mysterious un-named grayed out options in xconfig, or just don't appear at all in menuconfig. The new method outputs an extra config stanza to the top of v4l/Kconfig, VIDEO_KERNEL_VERSION. This boolean variable defaults to 'n', and if enabled, allows selecting drivers that are listed as needing a newer kernel. Config options that need a newer kernel still apear in v4l/Kconfig with their names and help text, but they now have an additional dependency on VIDEO_KERNEL_VERSION, and an extra bit in the help text warning that they need a newer kernel. They will appear greyed out in xconfig, but will still have their proper names and help text. If the user turns VIDEO_KERNEL_VERSION on, then they can be enabled. The kernel version in versions.txt tends to be somewhat conservative. The default v4l/.config file generated by make_kconfig.pl will have these options set to no, instead of yes/module as it did before. make_noconfig.pl will no longer look at versions.txt, or deal with kernel version detection. It will get a list of all config options by reading v4l/Kconfig, and produce .myconfig by setting all bool/tristate options to their value from v4l/.config, or 'n' if not listed. A few bugs have been fixed, and the regexs adjusted. They were making a few mistakes before, or were otherwise flawed. The scripts do more error checking that the files they parse conform to the expected syntax. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvaho Chehab <mchehab@infradead.org>
2006-06-04New system for building kernel's config programsMauro Carvalho Chehab
From: Trent Piepho <xyzzy@speakeasy.org> Since v4l-dvb now uses the kernel's config system, it needs certain kernel binaries like qconf, mconf, and lxdialog to run the config targets. The kernel's Makefile is not kind enough to give us a target to just build these programs. What this patch does is introduce a new makefile, Makefile.kernel, which includes the kernel's top-level Makefile. Then adds some new "v4l-*" targets which just build the kernel config programs. The main v4l Makefile is patched to add the necessary kernel conf programs as dependencies to their respective config targets. Rules to build the kernel conf programs are added which invoke a sub-make with the new Makefile.kernel. These rules are only invoked when the kernel conf programs needed don't yet exist. If they already exist, no write access to the kernel source tree is needed. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-29compat: handle input key definitions added in 2.6.14Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-05-20Add support for the Texas Instruments TLV320AIC23B audio codecHans Verkuil
From: Scott Alfter <salfter@ssai.us> Signed-off-by: Scott Alfter <salfter@ssai.us> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-05-19Have make_kconfig.pl output int config vars with their default valueMauro Carvalho Chehab
From: Trent Piepho <xyzzy@speakeasy.org> A few drivers have integer config variables defined in their Kconfig file which must be set for them to compile. make_kconfig.pl would just ignore int variables and not put them into .config at all. This change will put them into .config set to their default values. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-19merge: http://linuxtv.org/hg/~pb/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-17Removed a broken code inside make_kconfigMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This code were not working, and were obsoleted by the while just bellow, that checks only for tristate and boolean parameters. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-17Added Logitech Quickcam USB support to versions.txtMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-17Fix compilation for Miropcm20 and CinergyMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Miropcm compilation were assuming to compile under linux/drivers/media/video, but this is not true when compiling in-tree. Also, make allyesconfig were making "y" to an advanced configuration for Cinergy. gentree.pl also updated. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-14[PATCH] Genpix 8PSK->USB driver (Take 2)Patrick Boettcher
From: Alan Nisota <alannisota@gmail.com> This is a patch which includes support for the GENPIX 8PSK->USB module. The board supports QPSK, BPSK and 8PSK decoding (though I don't think it will be DVB-S2 compliant) With the following patch, the boad is equivalent to a budget card (no CA Module) The patch which adds 8psk suppot will follow, but is seperate, as it requires DVB-S2 support More info on the board can be found at www.genpix-electronics.com (and they host the requisite firmwares there as well) Signed off by: Alan Nisota <alannisota@gmail.com> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-05-08fix warning: extra tokens at end of #undef directiveMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-05-07fix ability to pass compile-time build options when building from the hg repoMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> When building in-kernel, compile-time build options are passed into the compiler using '#include <linux/config.h>' . This file #include's <linux/autoconf.h> , which is created on the fly by the kbuild system. However, this does not work correctly when building from the mercurial repository, since the kernel is built indepentently of v4l/.myconfig This creates a "config-compat.h", which will be #include'd by compat.h and will emulate <linux/config.h> for the local build. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-05-02Removed obsoleted CVS filesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Those files were used on cvs tree. they make no sense for hg. kenel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-02Fix checking logic for a broken xawtv versionMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> moved from if to ifndef. Also added such tests at gentree script. Gentree updated to its latest version. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-28merge: http://linuxtv.org/hg/~quincy/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-28Improved make release method to allow compiling against an arbitrary dirMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Now, with make DIR=<foo>, it is possible to compile V4L/DVB with a non-installed dir. This will allow better checking on compatibility issues (especially for -git tree) Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-28Add isl6421 moduleAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Driver for the ISL6421 LNB chip Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-28Convert lnbp21 to a moduleAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Convert lnbp21.h into a linux kernel module. Fix up previous users to use it. Convert dvb-ttusb-budget to use it. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-27Fixed a bug at make menuconfigMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-27Compilation for DVB_AV7110_FIRMWARE seems to be weirdMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Some systems use a previous config information to generate a default config. This seems to cause troubles on some systems. This patch fixes compilation for AV7110 firmware inside V4L/DVB tree. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-27Fix building when no .version is foundMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Makefile.media requires first .version. Fixed. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-27merge: http://linuxtv.org/hg/~mkrufky/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-27move install / rminstall invocation rules to v4l/MakefileMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch moves the 'make install' and 'make rminstall' rules into the central Makefile. This allows for us to assign dependencies to these rules, so that modules built as a reult of a tree-merge don't have to be installed separately. Now, instead of doing 'make install && make ivtv-install', the simple command, 'make install' will call the sub-install rules and take care of the entire task. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-27Make bt866 and ks0127 work at V4L/DVB treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-26Some vars were not initializated by the script. fixed.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This avoids warnings when running make *config Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-26Re-inserting strip at install ruleMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> strip is responsible to remove all debug info from kernel object files. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-26The latest patch partially reverted some changes. fixing it.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-26Cleaned an obsoleted ruleMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-26Some improvements at MakefileMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Included a INSTALL file make help shows the INSTALL file added make release to force compiling against a specified version Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-26Added some tests at build system to avoid rebuilding kernel stuffMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Now, make will first check for the presense of *conf and lxconfig. if already found at kernel tree, it will use without recompiling. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-26merge: mkrufky build treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-25Improves V4L/DVB in-tree buildingMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Now, make_kconfig.sh will check for boolean/tristate config vars and handle it properly. Also, make allyesconfig/allmodconfig will use make_kconfig.sh to generate .myconfig instead of conf -m. This way, make all will not require priviledges at kernel tree. write access to kernel tree is still required for make menuconfig/ make xconfig/make qconfig. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-25remove redundant EXTRA_CFLAGS setting in Makefile for CONFIG_VIDEO_ADV_DEBUGMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The EXTRA_CFLAGS complile-time options are determined by kbuild. CONFIG_VIDEO_ADV_DEBUG is set in drivers/media/video/[Makefile|Kconfig]. Setting this flag in the local Makefile is redundant. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-25remove redundant EXTRA_CFLAGS from local Makefile for pvrusb2Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The EXTRA_CFLAGS complile-time options for pvrusb2 are determined by kbuild, and are set in drivers/media/video/pvrusb2/[Makefile|Kconfig]. Setting these flags in the local Makefile is redundant. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-25remove forced dvb frontend module dependencies left around from old build methodMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-24Fix compilation for sn9c102 on older kernelsMauro Carvalho Chehab
From: reinhard schwab <reinhard.schwab@aon.at> Signed-off-by: Reinhard Schwab <reinhard.schwab@aon.at> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-24[PATCH] update pwc driverMauro Carvalho Chehab
From: Luc Saillard <luc@saillard.org> Add v4l2 compatibility Include the decompressor (legal problem has been resolv by Alan Cox) Faster decoder and easier to maintain, optimize, ... Can export to userland compressed stream Support more cameras, lot of bugs are fixed. Signed-off-by: Luc Saillard <luc@saillard.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-22merge: http://linuxtv.org/hg/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-22Adds capability to build conf/mconf/qconf/lxdialog at kernel treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This patch adds v4l makefile capabilities to build kernel config required files to allow make menuconfig/xconfig/gconfig to work. After this patch, menu support is more smooth. Of course, root privileges are required to build those stuff. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-15make_noconfig.pl fixed for CONFIG_DVB_AV7110_OSD and CONFIG_DVB_AV7110_FIRMWAREOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Without this fix, CONFIG_DVB_AV7110_OSD=y and CONFIG_DVB_AV7110_FIRMWARE=y were ignored in v4l/Makefile because make_noconfig.pl set them to "CONFIG_DVB_AV7110_... = m". Signed-off-by: Oliver Endriss <o.endriss@gmx.de>