summaryrefslogtreecommitdiff
path: root/v4l
AgeCommit message (Collapse)Author
2009-04-23building system: improve firmware creationMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> This is a major rewrite at v4l/firmware/Makefile: It will now create firmwares only if they don't exist yet, or if the firmware "source" file were touched. Also, use implicit rules instead of explicit, in order to simplify the file. Now, just one line should be modified if a new firmware is added. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-22Make firmware before installMauro Carvalho Chehab
From: Nicola Soranzo <nsoranzo@tiscali.it> Presently with the usual: make && sudo make install firmware is not built during make, but in the second step with root privileges, which should be avoided. This patch adds firmware dependency to the default make target. Moreover, one more file (ihex2fw) should be deleted by firmware clean. Priority: normal Signed-off-by: Nicola Soranzo <nsoranzo@tiscali.it> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-20firmware/Makefile: Print more user-friendly messagesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> This is just some cosmetic at firmware/Makefile, for it to use a more user-friendly output, instead of just printing the used commands. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-20build: Make sure that firmwares will be installedMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> As reported by some users, firmwares were not installed. Be sure that it will properly install the firmwares by calling the proper makefile rule. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-14fix backport compilation, when ch9.h file doesn't existMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-14make distclean: remove also .tmp*.ver .tmp*.oMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-14compat.h: improve detection for need poll_schedule()Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-14Fix compatibility for usb_endpoint_type and 2.6.30Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> compat.h: usb_endpoint_type can be found on ch9.h header Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-14backport commit 758021bfa9ea25c58e62d2f68512628b19502ce7Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Author: Takashi Iwai <tiwai@suse.de> Date: Mon Jan 12 15:17:09 2009 +0100 drivers/media: Convert to snd_card_create() Convert from snd_card_new() to the new snd_card_create() function. While here, backport also cx231xx-audio upstream changes for using snd_card_create(). kernel-sync: Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-14backport commit 9137f05f7e72517d44b6b0c15b11b419ecb5d201Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Author: Jaswinder Singh <jaswinder@infradead.org> Date: Mon Apr 6 14:34:12 2009 -0700 firmware: convert av7110 driver to request_firmware() kernel-sync: Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-14Fix some issues on out-of-tree firmware buildingMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Fixes: - linux/firmware/Makefile is not used. Let's just remove it to avoid keep tracking on upstream changes on this file; - make would need to run twice, due to a missing Makefile dependency; - make -C v4l/firmware distclean were not removing everything. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-29merge from mainPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> merge from main Priority: normal Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2009-03-29do_merge.pl: Do a small fix at the building part of the scriptMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-29merge: http://linuxtv.org/hg/~tap/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-29Added a script to run the tree merge procedureMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> hgimport was recommending a basic merge procedure. However, with some troubles: - The procedure only works if the pulled tree creates a new head; - The merge message should be manually written; - No sanity checks were done before doing the merge; - No error status were done. The new perl script implements a better way to handle it, doing the necessary checks. hgimport was updated to recommend the script usage. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-28build: Fix kernel output directory supportTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> In patch kernel commit v2.6.24-2223-g1d3b3bf the format of the Makefile placed in a kernel build output directory (i.e., when O=... is used) was changed. The script in the v4l-dvb build system couldn't parse the new format and find the kernel source directory. This fixes it so it can. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-03-28Fix compilation with kernels older than 2.6.20Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-23hdpvr: only build from 2.6.20.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-14v4l-dvb: replace remaining references to the old mailinglist.Mauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-14v4l2-spec: move V4L1_API.html from v4l/API to this directory.Mauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> It is much more logical to put the V4L1 API with the V4L2 spec, rather than in the hidden v4l/API directory. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-14API: remove ancient V4L2_API.html.Mauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-13build: have make_kconfig.pl ignore commentsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> It was already ignoring lines that had only comments. But lines with some non-comment code and then a comment at the end didn't have the comment stripped. Some modules had incorrect dependencies added because comments at the end of a "depends on" line were treated as modules names. I strip the comments from the string that is parsed by the script, but preserve the original line so it can be printed out with the comment still in it when making v4l/Kconfig. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-03-12cx231xx: prevent building it on kernels < 2.6.23.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-12Don't print errors for version checks, since we allow such checks at the ↵Mauro Carvalho Chehab
out-of-tree buildings From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-10build: Clean up FM801-TEA575x KconfigTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Some extra config symbols for the tea575x module keep it from working correctly with menuconfig. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-03-10merge: 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>
2009-03-09merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-radioMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-09merge: http://linuxtv.org/hg/~tap/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-08get rid of disabling DVB_FE_CUSTOMISE on kconfigMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Since make allmodconfig enables all DVB options, DVB_FE_CUSTOMISE is needed, otherwise the building system gots confused. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-08Kconfig workaround: enable FE_CUSTOMISE by defaultMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-06v4l/compat.h: add clamp_valHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-06tvmixer: remove last remaining references to this deleted module.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-05compat: Add INIT_DELAYED_WORKTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Turn it into INIT_WORK for pre 2.6.20. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-03-03Drop I2C_M_IGNORE_NAK compatibility bitMauro Carvalho Chehab
From: Jean Delvare <khali@linux-fr.org> I2C_M_IGNORE_NAK is defined since kernel 2.5.54 so we don't need to declare it in the compatibility header. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-08Improve script to automatically adjust the Kconfig filesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> There are still some more hacking to do, in order to use this automatically, since more logic is needed for dibcom and av7110 stuff. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-08Add a tool to identify if the frontend selects are fineMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-27Avoid firedtv breakage with older kernelsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> linux-2.6.19.5-x86_64: ERRORS /marune/build/v4l-dvb-master/v4l/firedtv-avc.c:160: error: 'DUMP_PREFIX_NONE' undeclared (first use in this function) /marune/build/v4l-dvb-master/v4l/firedtv-dvb.c:282:57: error: macro "INIT_WORK" requires 3 arguments, but only 2 given /marune/build/v4l-dvb-master/v4l/firedtv-dvb.c:282: error: 'INIT_WORK' undeclared (first use in this function) linux-2.6.21.7-x86_64: ERRORS /marune/build/v4l-dvb-master/v4l/firedtv-avc.c:160: warning: implicit declaration of function 'print_hex_dump' /marune/build/v4l-dvb-master/v4l/firedtv-avc.c:160: error: 'DUMP_PREFIX_NONE' undeclared (first use in this function) Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-27Fix a Kconfig bug when compiling with kernels older than 2.6.22.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-27Remove obsolete drivers: firesat (from v4l_experimental) and btaudioMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> firesat were reworked and committed as firedtv. We don't need to keep the experimental version of it. btaudio can also be removed, since OSS audio is deprecated. The driver were already removed upstream. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-26merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-03build: fix fix_kconfig.plTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> It didn't work and would erase your config file. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-03-03merge: http://linuxtv.org/hg/~tap/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-03compat: rename struct delayed_work to work_struct on pre-2.6.20Trent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> In v2.6.19-rc6-118-g52bad64 struct work_struct was changed to be only for non-delayed work and struct delayed_work was created for delayed work. Instead of putting ifdefs in the drivers, we use compat.h to rename delayed_work to work_struct on pre-2.6.20 kernels. This will only be a problem if some driver decides to create identifiers named both work_struct and delayed_work in the same scope. There is one driver that has something named work_struct and none with anything named delayed_work, so I don't think will be a problem for as long as this compat code sticks around. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-03-02checkpatch.pl: Updates it to the latest versionMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-19v4l-dvb: work around an autoconf.h include in mmdebug.hHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> mmdebug.h (included by mm.h) includes autoconf.h in turn. This will overwrite the local v4l config with the kernel's config. If this header is present, then include it in the generated config-compat.h before we set our local v4l config. This way it won't be included again later. mmdebug.h appeared in 2.6.28. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-26Add dvb spec rules at the makefileMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-23sq905 require 2.6.20 or upperMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-10Allow compiling some PCI drivers on older kernelsMauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> This patch fixes build of bttv, cx88 and saa7134 on vanilla kernels older than 2.6.22. VIDEOBUF_DMA_SG has a dependency on CONFIG_HAS_DMA, which was apparently introduced in 2.6.22 and didn't exist in 2.6.21. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-09build system: preserve debug info inside /v4l dirMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> In order to make easier for debug, preserve debug info inside the /v4l dir. Only the /lib/modules/`uname -r`/drivers/<foo> will have their symbols stripped. This allows using gcc to determine where a code broke, within the asm code. This may also help in the future for its usage with systemtaps. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-10v4l-dvb: fix distclean/clean targetsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>