Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Files changed in an mq patch weren't being checked.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
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(+)
|
|
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>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
The function wasn't added until after 2.6.22.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
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>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Thanks to Michael Krufky for pointing this issue.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
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>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
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>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
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>
|
|
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>
|
|
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>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
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>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
If Module.symvers is kept around, modpost will think symbols from
previous builds are still defined when in the current build they are not.
This leads to undefined symbol warnings getting masked.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
It took three core maintainers, over four years of work, eight new i2c
modules, eleven new V4L2 ioctls, three new DVB video ioctls, a Sliced
VBI API, a new MPEG encoder API, an enhanced DVB video MPEG decoding
API, major YUV/OSD contributions from Ian and John, web/wiki/svn/trac
support from Axel Thimm, (hardware) support from Hauppauge, support and
assistance from the v4l-dvb people and the many, many users of ivtv to
finally make it possible to merge this driver into the kernel.
Thank you all!
Signed-off-by: Kevin Thayer <nufan_wfk@yahoo.com>
Signed-off-by: Chris Kennedy <c@groovy.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: John P Harvey <john.p.harvey@btinternet.com>
Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk>
|
|
From: Oliver Endriss <o.endriss@gmx.de>
Fix compilation error introduced by changeset 6d08d71cbcfb.
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
gentree.pl were part of Gerd Knorr scripts, used to generate patches
from his tree against kernel. Several newer capabilities were added to
the original script, including the ability to handle with multiple
levels of #if/#else/#endif and support for #elif.
This patch corrects the credits for this valuable piece of code.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Mostly re-write gentree.pl to make a few improvements:
About three times faster
Correctly processes BTTV_VERSION_CODE checks
Properly handles #elif
Doesn't need absolute path names specified in command line arguments
Improved debug output, which now shows input line number
Can handle almost any general expression for a conditional compilation
directive. Can understand all these:
#if 0
#ifdef BROKEN_XAWTV
#ifndef MM_KERNEL
#if defined(STV0297_CS2)
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,20)
#elif defined(MM_KERNEL) || !BROKEN_XAWTV
#if BTTV_VERSION_CODE > KERNEL_VERSION(0,8,0) || defined(BROKEN_XAWTV)
#if (1 > 2) || (I2C_PEC && defined(I2C_CLASS_TV_ANALOG))
#ifndef CONFIG_XC3028 /* Keep */ <- knows to keep this one in the code
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|