Age | Commit message (Collapse) | Author |
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Relaxed some regular expressions to better handle whitespaces at the
middle of cpp macros;
Added #elif processing capability to the script.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Add an inline versin of vm_insert_page() that uses remap_pfn_range() to
compat.h.
Remove compat code from em28xx-video.c, sn9c102_core.c, and
usbvision-video.c since compat.h is now doing the same thing.
USB_ZC0301, USB_ET61X251, and USB_ZR364XX will now compile under 2.6.12.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Adjust konicawc and quickcam_messenger to use backward compat code
relating to changes in the input layer in 2.6.15. They should now work
in 2.6.12.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
compat.h was missing from usbvideo-i2c.c and zr364xx.c
zr364xx.c needed the struct semaphore -> struct mutex compat check.
Added an old i2c id to compat.h. These could be added to the Hg copy of
linux/i2c-id.h instead? There's just this one so far.
zr364xx needs 2.6.15 because of vm_insert_page(), so add to versions.txt
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Add -include linux/version.h to the cflags. Now code can have backward
compatibility test without including compat.h first.
Linux headers included from compat.h are removed, so that code will get
the same headers when compiling in v4l-dvb as it does in the kernel.
Many drivers have compat.h moved to the end of their include list, as
this lets compat.h do things it can't do at the beginning. Such as test
of something is defined to include compat code, or to put a wrapper
around a function without changing the function's name.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Compat.h used to have an argument, now it doesn't. There was also some code:
if (current->flags & PF_FREEZE) { refrigerator(PF_FREEZE); }
which is the same as try_to_freeze(), and so can be replaced by it.
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Antti Palosaari <crope@iki.fi>
This patch adds driver for Sigmatek DVB-110 USB DVB-T stick. Stick has based
on hardware of Qtuantek QT1010 tuner, Zarlink ZL10353 (Intel CE 6353)
demodulator and Alcor Micro AU6610 DVB-T USB controller. HW is rather similar
as used in MSI Megasky GL861.
Currently, the driver works only in USB 2.0. In my understanding USB 1.1 is
also supported by hw but I cannot test it due to lack of USB 1.1 port. Device
supports only isochronous mode transfers. There is also eeprom in usb
controller(at least in address range 0x80 - 0xbf) for storing data, eg.
firmware. Anyway, firmware loading is not used / required by the device.
There seems to be at least one unknown I2C device in address 0xa0, probably
remote control or GPIO. Windows drivers reads registers from 0x00 to 0x07
from this unknown address.
Driver is based on gl861 module. Tuner has a lot of problems to lock with
megasky qt1010 module with this hardware with some broadcasting standards.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
- removed extra newline
- removed NULL entry
- fixed versions.txt
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Aapo Tahkola <aet@rasterburn.org>
Currently, the driver works in bulk mode supporting both USB 2.0 and
1.0 with and without hardware pid filters.
The ULi m9205 also supports isochronous transfer mode, but I have
dropped support for it because it depends on firmware and does not work
on all USB host chips. Further, I have no firmware with remote
controller support for this mode.
Signed-off-by: Aapo Tahkola <aet@rasterburn.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
The recent updates on some webcams replaced vmalloc_32 by vmallo_32_user.
However, it seems that this doesn't exist before kernel 2.6.19
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 patch in 2.6.19-rc1, c29121b787f533d135ae47b5f3044adb66cbebef:
> user: Sam Ravnborg <sam@neptun.ravnborg.org>
> date: Sat Sep 30 07:19:20 2006 -0200
> kbuild: do not build mconf & lxdialog unless needed
Was preventing v4l-dvb from building mconf too. That patch checks the
make command goal, and only includes rules for mconf when the goal is
"menuconfig". We don't want to use make menuconfig, as that would
configure the kernel. The workaround is to set hostprogs-y=mconf on the
make command line. The kernel build system certainly isn't making this
easy for us.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
make menuconfig used to need to build two kernel configuration programs,
mconf and lxdialog. In 2.6.19-rc1, this was changed so there no longer
was a separate lxdialog binary, it was integrated into mconf.
This adapts the v4l-dvb Makefile to check for lxdialog/Makefile, if it's
not present then no lxdialog binary needs to be built. The rules and
dependencies on lxdialog will be omitted from the v4l-dvb Makefile in
that case.
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Darren Salt <linux@youmustbejoking.demon.co.uk>
Signed-off-by: Darren Salt <linux@youmustbejoking.demon.co.uk>
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: Patrick Boettcher <pb@linuxtv.org>
Adding support for Pinnacle PCTV 400e DVB-S. The module name is called ttusb2,
because it this device (and other Pinnacle devices) is using the USB-protocol
originally used by Technotrend device. I'm suspecting Technotrend as the
device-designer.
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: Michael Krufky <mkrufky@linuxtv.org>
This patch creates a new atsc tuner module for the LG TDVS-H06xF ATSC tuners,
called lgh06xf. The purpose of this change is to reduce some duplicated
code, and to allow the lgh06xf tuner code to take advantage of dvb_attach().
As a side effect, the dependency of dvb-bt8xx on dvb-pll has been removed,
since the lgh06xf module itself will use dvb-pll, while remaining optional
for the dvb-bt8xx driver through the use of DVB_FE_CUSTOMISE
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Acked-by: Andrew de Quincey <adq_dvb@lidskialf.net>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
linux/config.h has been deprecated for some time and is now gone. Switch
to using linux/autoconf.h, which is where the config defines have been
since at least 2.4 anyway.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
PCIAGP_FAIL is a new pci quirk added in 2.6.19. The code in compat.h was
checking if PCIAGP_FAIL was already defined to determine whether or not
to include the backward compatibility code. This didn't work in a number
of cases when compat.h was included before linux/pci.h, as PCIAGP_FAIL
would get defined by compat.h and then re-defined by linux/pci.h.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
ov7670 compiled fine with 2.6.16.
However, cafe_ccic compilation with 2.6.16 produces:
CC [M] /home/v4l/master/v4l/cafe_ccic.o
/home/v4l/master/v4l/cafe_ccic.c: In function 'cafe_setup_siobuf':
/home/v4l/master/v4l/cafe_ccic.c:1162: warning: implicit declaration of function 'vmalloc_user'
/home/v4l/master/v4l/cafe_ccic.c:1162: warning: assignment makes pointer from integer without a cast
/home/v4l/master/v4l/cafe_ccic.c: In function 'cafe_v4l_mmap':
/home/v4l/master/v4l/cafe_ccic.c:1429: warning: implicit declaration of function 'remap_vmalloc_range'
/home/v4l/master/v4l/cafe_ccic.c: In function 'cafe_dfs_open':
/home/v4l/master/v4l/cafe_ccic.c:1972: error: 'struct inode' has no member named 'i_private'
/home/v4l/master/v4l/cafe_ccic.c: In function 'cafe_pci_probe':
/home/v4l/master/v4l/cafe_ccic.c:2119: warning: passing argument 2 of 'request_irq' from incompatible pointer type
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Those driver are developed using some stuff from newer kernels.
Maybe they may compile with kernels lower than 2.6.19, but upper than 2.6.16.
Anyway,since the targeted OLPC hardware is not available yet, IMO, it doesn't
make much sense to work on backporting the drivers to kernels lower than
kernel 2.6.19.
CC: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Patrick Boettcher <pboettcher@dibcom.fr>
This patch contains support for the DiB7000PC-driver.
Signed-off-by: Francois KANOUNNIKOFF <fkanounnikoff@dibcom.fr>
Signed-off-by: Patrick Boettcher <pboettcher@dibcom.fr>
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
ivtvdriver.org is no longer working... but www.ivtvdriver.org still works.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
The code to get the file list from hg manifest wasn't escaped right and
the error value check was the opposite of what it should have been.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
true/false were incorporated at a common code on pre-kernel 2.6.19.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
aci.c needs some OSS include files from the kernel to compile. Typical
kernel-headers packages don't have these include files, and so aci.c
fails to compile. Have make_kconfig.pl check for the headers, and
disable aci if they aren't there.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
Use ivtv's Kbuild file to make the build rules for the v4l-dvb + ivtv trunk
virtual merge dynamic. This eliminats the static rules from the v4l-dvb tree
and will prevent future build problems.
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: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Skip the parsing code that only make sense inside a Kconfig menu block
when not in a menu block. Mostly to get rid of Perl warnings.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
v4l/Makefile not only calls the kernel Makefile to do the module
building, but it is in turn included by the kernel Makefile. This means
_all_ the rules in v4l/Makefile get used by the kernel Makefile when it
tries to build the modules. Some of these rules, for files like .config,
Kconfig, .version, confuse the kernel building process. The kernel make
thinks, "I need to remake _my_ Kconfig file because my .version file is
out of date." But that rule was never supposed to be used by the kernel,
it is just for v4l!
This is fixed by putting $(obj) in front of all these files' rules. That
way the kernel will never think the rules refer to its files and try to
use them.
Really, this whole business of having the kernel Makefile include
v4l/Makefile is rather complex. It might be a good idea to create
v4l/Kbuild, which the kernel will use in preference to v4l/Makefile, so
that we don't have to worry about v4l/Makefile getting used in two
different contexts.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Since Kconfig.sound is processed by make_kconfig.pl like all the other
Kconfig files, it was getting put into v4l/Kconfig twice. Once from a
source directive v4l/Kconfig and again when it was processed by the
script.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Create a symlink, v4l/oss, that points back to the v4l directory. This
way code that includes "oss/something.h" will find the header files it
wants (which has been linked to from v4l). The link will be created only
if it doesn't exist and deleted by distclean.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
A subtle bug in the code that changed Kconfig depends expressions into
Perl expressions would keep changes to Kconfig variables from
propagating. The subroutine was supposed to change a _copy_ of the
expression from Kconfig to Perl syntax, but was changing the expression
itself.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Both .config and Kconfig are created at the same time by the same
program, make_kconfig.pl. make does not understand the concept of
a program which creates two targets and cannot handle this properly.
Everything works with this patch, but in some cases make -j will run
make_kconfig.pl twice at the same time. This works, one script will just
overwrite the output of the other, but it looks bad. Without make -j,
everything works as it should and make_kconfig.pl isn't run more than it
needs to be.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Restructure make_kconfig.pl and clean the code up some more.
The dependency tracking code is rewritten. This version converts the
"depends on" and "select X if" lines into Perl expressions, which are
then evaluated. This way all complex expressions are handled correctly.
Dependencies are tracked recursively until all are found. "select" lines
with an "if" clause are handled correctly; the selected variable is only
required when the "if" clause is true.
Another improvement is that hex/string/int variables that don't have
their dependencies met will not appear in the .config file. They aren't
supposed to.
make_kconfig will fail with an error message if MODULES is turned off in
the Kernel's config, as building out of tree makes no sense in that
situation.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
The script which combines the individual Makefils into Makefile.media
would include a Makefile each time it was referenced. This caused some
Makefiles to get included multiple times.
Also print comments in Makefile.media with the names of the Makefiles that
are being included.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
links is a phony target, so it is always remade. The config targets
don't need the source links, so there is no need for them to have links
as a depenedency.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
The make_makefile.pl script is re-written. The old one was nasty. This
one will correctly handle Makefile lines that are continued with a
backslash. It will also generate a dependency list of the Makefile used
to create Makefile.media. This way if any change, Makefile.media will be
automatically re-made by make.
The whole business where make_makefile.pl would call make_kconfig.pl is
removed.
The underlying logic of the main Makefile is completely changed. Make
has a feature where it will make sure any included files are up-to-date,
and then restart itself if any were updated. We now take advantage of
this feature.
Detect when make is building only targets which do not need include files
like .myconfig or Makefile.media, and don't include them in those cases.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Add the ability to the make_kconfig.pl script to create a file
named ".kconfig.dep" which can be included in a Makefile and defines the
dependencies of the v4l/Kconfig file. That is, all the individual
Kconfig files that were used to make it.
Added a rule to v4l/Makefile to remake Kconfig when needed, and include
.kconfig.deps to get Kconfig's dependencies. Adjust the config targets
so that they depend on Kconfig, rather than including the commands to
create Kconfig in the config targets' scripts. The config targets no
longer depend on .version, as they don't need it themselves. Rather,
it's Kconfig that needs .version, so it's made one of Kconfig's
dependencies.
Add Kconfig as a dependency to .myconfig, it should be there since the
make_myconfig.pl script uses Kconfig.
Now if you change any of the Kconfig files, the v4l/Kconfig file will
automatically get remade. This will in turn cause .myconfig to be
re-made, and any new options will appear in .myconfig (turned off).
Ideally this should trigger some kind of oldconfig system to update
.config.
Fix the .version rule so that instead of re-creating .version every time,
it is only created when it didn't already exist. Since Kconfig depends
on .version, it was getting re-created every time too. If .version
existed, it would just get re-created to the same thing anyway.
Stop echoing the echo srcdir command itself and don't echo anything if
SRCDIR is blank.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
New code to read the Kernel's (or v4l-dvb's) '.config' file. This
replaces the code that used to read the config.h/autoconf.h file. In
2.6.18 the autoconf.h file no longer mentions options set to 'n' at all,
while .config has a comment line for each disabled option. Reading
.config is easier and gives us a list of the disabled options.
Restructure the code for reading '.version' too.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Still keeping the warning message for kernel-readers only.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Now, make will compile also the audio drivers at the tree.
By default, they will not be installed. A new option were
added to install those files:
make sound-install
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Those files are not part of V4L stuff. However, they are or dependent of V4L
apis or used on some video boards.
After this patch, it will be possible to compile and test they against changes
at V4L API or drivers.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|