summaryrefslogtreecommitdiff
path: root/linux
AgeCommit message (Collapse)Author
2006-08-01Fix minor errors in build filesTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> In pwc Kconfig, change 'depends' to 'depends on' In dvb-core Makefile, change '=' to ':=' Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-08-01Cleanups and fixes for dsbr100Mauro Carvalho Chehab
From: Alan Cox <alan@redhat.com> Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-31V4L2 conversion: dsbr100Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Driver conversion to V4L2 API. Not tested yet. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-31Fix V4L1 dependencies on compat_ioctl32Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Compat32 should be able to handle V4L1 ioctls if the old API support were selected. kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-31Driver dsbr100 is a radio device, not a video one!Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-30Convert radio-cadet to V4L2 APIMauro Carvalho Chehab
From: Hans J. Koch <koch@hjk-az.de> This is a card with RDS capabilities. RDS specifications didn't change from V4L1 to V4L2, so that part should be OK. This patch changed the following stuff: * The device can be opened multiple times. That's necessary because there are at least a radio application and an RDS application (rdsd) that want to open() the device. * Added a poll() function. Every character device should have that, and rdsd expects it as it uses select() on that file descriptor. * Converted the ioctls to V4L2. MUTE is not implemented correctly as the card doesn't seem to have a special bit for that. Probably there are a few more ioctls that should at least return 0 or an error. As I do not own such a card, I couldn't test anything. If there is anybody out there who owns such an ancient card, please test and report. I just checked that the code compiles. Signed-off-by: Hans J. Koch <koch@hjk-az.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-30Add missing KConfig I2C dependenciesAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> This was breaking the build if i2c was not previously set Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-30Use dprintk in tda826x.Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> As opposed to printk() at the moment, which will fill logs uselessly Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-30Fix budget-ci to use dvb_frontend_detach()Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> I missed one call during the dvb_attach() development. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-30Disable tda10086 debug by default.Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Left on by accident. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-30tda826x: Remove 0-byte I2C write; put tuner_ops info in static structAndrew de Quincey
From: Trent Piepho <xyzzy@speakeasy.org> Remove the 0-byte write that precedes 2-byte read. Move initialize the info field in the static tuner_ops definition, so that it doesn't need to be done manually. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-30Fix a typo that caused some compat stuff to not workMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Config option typo: -#ifdef CONFIG_V4L1_COMPAT +#ifdef CONFIG_VIDEO_V4L1_COMPAT Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-30Add support for Acorp TV134DS + FlyDVB-S cards.Andrew de Quincey
From: Igor M. Liplianin <liplianin@me.by> Add support for Acorp TV134DS and FlyDVB-S cards (both based on tda10086+tda826x) Signed-off-by: Igor M. Liplianin <liplianin@me.by> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-30Add tda10086 support for TT DVB-S-1401Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Add the necessary code and makefile infrastructure Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-30Add drivers for tda10086 + tda826x chipsAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> TDA10086 is a new DVB-S demodulator TDA826x is a DVB-S Silicon Tuner Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-29Restore compat_ioctl in pwc driverMauro Carvalho Chehab
From: Luc Van Oostenryck <luc.vanoostenryck@looxix.net> The compat_ioctl support of the pwc driver was dropped during the last update of the driver. I suppose it was by mistake. If yes here is the patch to restore the support. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@looxix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-29git-dvb: radio-sf16fmi build fixMauro Carvalho Chehab
From: Andrew Morton <akpm@osdl.org> drivers/media/radio/radio-sf16fmi.c: In function 'fmi_do_ioctl': drivers/media/radio/radio-sf16fmi.c:147: warning: implicit declaration of function 'KERNEL_VERSION' Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-29merge: http://linuxtv.org/hg/~quincy/v4l-dvb-attachMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-29Fix dst_ca attachAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Move the call to dst_attach into the dst_attach function to eliminate problems caused with dvb_attach. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Ack 'ed by: Manu Abraham <manu@linuxtv.org>
2006-07-29merge: http://linuxtv.org/hg/~tap/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-29Ttpci/: remove unneeded #include <linux/byteorder/swabb.h>'sMauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> Since av7110.c is the only file actually using something from this header, there's no reson for other files to Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-28Refactor dvb_detach calls into a single dvb_frontend_detach function.Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Remove buggy dvb_detach() macro and replace with unified dvb_frontend_detach() call. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-28Remove duplication _release() op.Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> I added a duplicate method during one of the previous dvb_attach attempts. This removes the unnecessary duplication. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-28Remove frontend selection from cx88/saa7134 driversAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Replaced with dvb_attach() Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-28Add Kconfig infrastructure for dvb_attachAndrew de Quincey
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>
2006-07-28Convert DVB devices to use dvb_attach()Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Only devices using > 1 frontend were ported; ones which did not are left using static binding. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-28Add dvb_attach() macro and supporting routinesAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Add dvb_attach() macro and supporting routines Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-28Remove remaining static function callsAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Rewrote _write() calls to use write() op. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-28Convert SEC drivers to new frontend APIAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Convert SEC drivers to new frontend API Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-28dvb_attach modifications to dvb frontend structuresAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Add write() op Add release_sec() op Add change misc_priv->sec_priv data field Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-27Force horizontal resolution limits in the pvrusb2 driverMike Isely
From: Mike Isely <isely@pobox.com> This change causes the pvrusb2 driver to limit horizontal resolution to be only 720 if 24xxx device hardware is being used. This is a workaround for an unsolved problem in the driver where if the resolution is set to something other than 720 the video quality will be _seriously_ degraded. It only happens on 24xxx devices (29xxx are unaffected by the problem and unaffected by this change). Once the problem is finally solved, this small change can be removed. Signed-off-by: Mike Isely <isely@pobox.com>
2006-07-27Make it possible for run-time calculation of control min/max in pvrusb2Mike Isely
From: Mike Isely <isely@pobox.com> The internal control implementation in the pvrusb2 driver normally encodes integer range limits using literal values in a const structure. This change adds two function pointers, which if not null will be called through in order to determine integer min / max values. Signed-off-by: Mike Isely <isely@pobox.com>
2006-07-26Eliminate hardcoded limits in VIDIOC_[S|TRY]_FMT for pvrusb2Mike Isely
From: Mike Isely <isely@pobox.com> The pvrusb2 implementation for VIDIOC_[S|TRY]_FMT was hardcoding limits on the range for allowed resolution, but it would be much better if we instead just queried the internal control for these values. This then opens the door for the driver to adjust these limits based on the detected hardware. Signed-off-by: Mike Isely <isely@pobox.com>
2006-07-26Merge from masterMike Isely
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
2006-07-26bttv: Revert VBI_OFFSET to previous value, it works betterTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> A previous patch changed VBI_OFFSET to match what the datasheets say it should be. However, the bt8x8 datasheets are wrong. The old value of 244 is closer to what is actually observed. The real value appears to not be constant and is different for different chip revisions. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Acked-by: Alan Cox <alan@redhat.com>
2006-07-25videodev: Check return value of class_device_register() correctlyTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Errors are return values < 0, not != 0. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-25Included missing linux/version.hMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Also fixed a bug on outkernel buinding and version <=2.6.15 Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-25Fix some typos on ioctl handling functionMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-25bttv: clean up some pre-2.6.0 class device compat stuffTrent Piepho
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>
2006-07-25bttv: use class_device_create_file and handle errorsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Revert bttv-driver.c from video_device_create_file() to use class_device_create_file() again. video_device_create_file() is only available when V4L1 is on. Proper error checking is added for failure of class_device_create_file(). Will print error message and unroll partially created sysfs entries. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-25videodev: Handle class_device related errorsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Add proper error checking and roll-back for failure of class_device_create_file() in videodev.c. Print error messages and unroll partially created sysfs entries. Also, failure of class_device_register() in video_register_device() is handled correctly. It was failing to de-allocate the minor number. This must be done in video_register_device(), since the caller has no way of knowing if failure occurred before or after the class device was registered. Also added an error message if video_register_device() is called with an unknown type, which should never happen. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-25Remove of couple of useless linesTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> A buffer was set just before an if block, and then again in both branches of the if. Obvious coding error. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-24OVERLAY flag were enabled by mistakeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> A patch from Aug, 17 activated by mistake OVERLAY flag on cx88-video, together with several cx88-blackbird cleanups. This makes the cx88 driver to report: /dev/video0 [v4l2]: ioctl VIDIOC_G_FBUF: Invalid argument instead of: /dev/video0 [v4l2]: no overlay support Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-24V4L2 conversion: radio-maxiradioMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Driver conversion to V4L2 API. Require some testing, since this obsolete hardware is not common those days. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-24V4L2 conversion: radio-trustMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Driver conversion to V4L2 API. Require some testing, since this obsolete hardware is not common those days. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-24cx88: Shenzhen Tungsten Ages Tech TE-DTV-250 / Swann PCI TV Tuner card supportMichael Krufky
From: David Bussenschutt <buzz@oska.com> Add support for Shenzhen Tungsten Ages Tech TE-DTV-250 OEM for Swann PCI TV Tuner Card Signed-off-by: David Bussenschutt <buzz@oska.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-24cx88: add support for Norwood PCI TV Tuner (non-pro)Michael Krufky
From: Peter Naulls <peter@chocky.org> This patch adds support for Norwood PCI TV Tuner (non-pro) Signed-off-by: Peter Naulls <peter@chocky.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-24cx88: add autodetection support for AverMedia M150-DMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch adds autodetection support for the AverMedia M150-D blackbird MPEG encoder / analog video capture card. This board is known to work with the ASUS PVR 416 configuration. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-24cx88: add initial support for Hauppauge HVR3000 trimode cardMichael Krufky
From: Eric Thomas <ethomas@claranet.fr> add initial support for Hauppauge WinTV-HVR3000 TriMode Analog/DVB-S/DVB-T only analog is working for now Signed-off-by: Eric Thomas <ethomas@claranet.fr> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-24V4L2 conversion: radio-zoltrixMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Driver conversion to V4L2 API. Require some testing, since this obsolete hardware is not common those days. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>