Age | Commit message (Collapse) | Author |
|
From: Patrick Boettcher <pb@linuxtv.org>
merge from main
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Normally programs like modinfo are in /sbin, and non-root users often
don't have this in their path. Make the rmmod.pl script look in some
extra directories like /sbin, /usr/sbin, etc. if it can't find the
utilities in the path.
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>
The building system now auto-generates this dependency, as tristate,
while those options were manually generating it as boolean, generating
a warning.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Patrick Boettcher <pb@linuxtv.org>
merge from main
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Instead of reading linux/config.h, read linux/autoconf.h to get the
kernel's configuration. The former file has been obsoleted.
In Kconfig 'select' lines, ignore the 'if' clause if one exists. This is
not a permanent solution to correctly parse and evaluate Kconfig files.
That is much harder, this will get building working again now.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Patrick Boettcher <pb@linuxtv.org>
merge: from main
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
|
|
From: Andrew de Quincey <adq_dvb@lidskialf.net>
Remove DVB_FE_CUSTOMISE - unnecessary
Add comment about DVB_CORE_ATTACH requiring >= 2.6.17
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Acked-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Andrew de Quincey <adq_dvb@lidskialf.net>
Allow it to be en/disabled
Disable it in < 2.6.17 due to symbol_xxx() bug
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Acked-by: Michael Krufky <mkrufky@linuxtv.org>
Acked-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Add bit of compat code for class_device_create_file() to compat.h for
pre-2.6.0 kernels. This allows an #ifdef to be removed from
bttv-driver.c, and helps other code which never had one. Changed the
code to turn on for pre-2.6.0, rather than pre-2.5.0, as the class device
stuff was added in 2.5.69.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
The code to compare kernel versions was wrong, it would think 2.7.1 was
older than 2.6.10 because 1 < 10. Fixed.
Changed code to not require all options to be defined in versions.txt.
It was necessary before only because of the way make_myconfig.pl worked,
but that script has changed. Driver sub-options can be omitted from
versions.txt, unless they somehow need a newer kernel than the driver
itself.
In fact, most of the drivers themselves could be removed from
versions.txt, and only put in if there is an actual reason.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Much moving about of drivers from one version to another. Most drivers
are moved down to 2.6.12. Some drivers are moved up to require newer
kernels. Comments are added for specific know reasons why some drivers
fall under a certain kernel version.
Various int/hex/string options are removed from versions.txt, they don't
need to be there anymore.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Add a static inline version of schedule_timeout_interruptible(), it's
only two lines, to compat.h. This will make bt866 and ks0127 compile
with pre 2.6.14 kernels.
Remove #if/#else code from msp3400, saa7134-tvaudio, and vivi that used
to handle this.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
From the whitespace script
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: alexandre@russel.fr
this patch move the USB_PWC and USB_PWC_DEBUG in v4l/version.txt from version
2.6.16 to version 2.6.15 so pwc is usable by 2.6.15 kernel.
Signed-off-by: alexandre@russel.fr
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
This will allow generating periodic snapshots of the tree.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Patrick Boettcher <pb@linuxtv.org>
sync with master
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
This patch creates a new Kconfig menu option, entitled,
"Blackbird MPEG encoder support (cx2388x + cx23416)"
so that the cx88-blackbird mpeg encoder module can be
chosen separately.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
tda9887 is not really an independent tuner, but part of one. It shouldn't
be ponted at a userlist.
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>
Also, fixes a trouble with make 3.81 introduced by the latest patch.
make 3.81 doesn't work fine with something like:
'foo'\
It should be, instead:
'foo' \
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Use a (make 3.81 safe!) in-line perl script to generate config-compat.h
from .myconfig. The output will be more like the Kernel's output:
Options set to 'm' will define CONFIG_WHATEVER_MODULE to 1, rather than
define CONFIG_WHATEVER to m.
Options set to 'y' to be defined to 1 instead of y.
Options that are off will be #undef'ed, rather that omitted, so that they
will override the settings from the kernel autoconf.h file.
The last change will fix a problem where certain options, like CinergyT2
tuning and AV7110 firmware, wouldn't work properly if they were on in the
kernel but off for v4l-dvb Hg.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.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>
When the make commit checks for whitespace errors, it will save a copy of
the changes it makes to $(TMP)/v4l_hg_whitespace. The prep_commit_msg.pl
script will look for this file and include a note in the prepared commit
message with diffstat output.
The changes that scripts/cardlist might make are not included, but that
can be added later.
The prep_commit_msg.pl script is effectively totally re-written. This one
will try some extra stuff to some up with the user's e-mail, such as
looking in the ~/.hgrc file.
The Makefile is changed so that temporary files created by make commit
and make whitespace will honor the $TMP environment variable, if set.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Before:
--- Makefile
+++ - 2006-06-20 22:16:36.320564000 -0700
Now:
--- Makefile
+++ Makefile
patch handles both correctly, but diffstat will use the "+++" filename
rather than the "---" filename, making diffstat output rather useless.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
On make 3.81, backslash isn't removed anymore when inside of a single
quotted string. This makes make release to fail, since perl won't understand
the backslash.
This patch just make all script into one line. Bad to understand, but, at least,
it will work fine with both GNU make 3.80 and make 3.81.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Most V4L/DVB hg tree users are just compiling using kernel headers.
This is bad, due to:
1) the lack of support for make *config
2) the kernel itself have unknown patches from the distros
Anyway, it is useful to provide they some support.
This patch provides a "hack" for such users, by checking if the
sound/oss/aci.h file is present under kernel tree. If not, it will
disable miropcm20 and print a warning about the usage of a kernel-headers
only package.
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: Mauro Carvalho Chehab <mchehab@infradead.org>
Building system now looks kernel config.h and autoconf.h files,
seeking for the compiled options at kernel. If something is missing,
it will disable compilation for that driver, printing a warning message.
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>
There were a circular dependency at scripts/make_makefile.pl that were
affecting mostly building with GNU make 3.81.
Also, scripts/make_noconfig.pl is, in fact, building .myconfig file, so,
better to name it as make_myconfig.pl.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
distclean was not cleaning the v4l/.myconfig file, or the symlinks made
for the lxdialog program. This caused problems especially if you were
switching between different kernel versions for testing.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
make 3.81 were suffering some endless loop that might be caused
by Makefile.media rewrites. After this patch, make_makefile will
only write Makefile.media if needed.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Faster script that doesn't use any temporary files. The old one
would also miss cleaning four spaces in a row in places where
it would clean one to eight spaces. Has two options:
fast
Only clean whitespace in files Hg thinks are modified or added. Used by
make whitespace and much (about 100x) faster.
manifest
Clean all files controlled by Hg, using "hg manifest"
The default with no options is the old behaviour, clean all files under
the linux directory, except CVS files.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.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>
A check of the current Linux 2.6 kernel reveals that the default values
for hex options sometimes have the form "0x1f0" and sometimes "1f0", with
the former being more common. Adjust the make_kconfig.pl script so it
can understand both.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
Adds the cx2341x.c module that handles the programming of the Conexant
cx23415/6 MPEG encoder chip used by cx88-blackbird, pvrusb2 and ivtv.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
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>
|