summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci/av7110.c
AgeCommit message (Collapse)Author
2006-04-10Add sysfs device links to dvb devicesAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Currently in /sys/class/dvb/dvbX.demuxY/ we have: dev uevent With the patch, we have (for a PCI DVB device): dev device -> ../../../devices/pci0000:00/0000:00:1e.0/0000:03:0d.0 uevent So userspace tools can (finally) work out which physical device a DVB adapter refers to. Previously you had to kinda look through dmesg and hope that it hadn't been dumped out of the buffer. This makes debugging a lot easier if the system has been up for a long time! This is done by adding an extra 'struct device *' parameter to dvb_register_adapter(). It will work with any kind of standard linux 'device'. Additionally, if someone has an embedded system which does things differently, they can simply supply 'NULL' and the behaviour will be as before - the link will simply not appear. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Ack'd-by: Manu Abraham <manu@linuxtv.org> Acked-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-30new module parameter 'tv_standard' (dvb-ttpci driver)Oliver Endriss
From: C.Y.M <syphir@syphir.sytes.net> This attached patch was originally proposed by Anssi Hannula to the dvb-kernel tree a while ago. I have recreated the patch for v4l-dvb. It will allow the user to choose the default broadcast mode when using the ttpci driver. NTSC users need to only add the following line to modprobe.d: options dvb-ttpci tv_standard=1 PAL users will not need to change anything, for this will be the default. Signed-off-by: C.Y.M <syphir@syphir.sytes.net> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-03-30fix typo in commentOliver Endriss
From: Adrian Bunk <bunk@stusta.de> This patch fixes a typo in a comment. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-03-17Add WSS (wide screen signalling) module parametersOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Add wss_cfg_4_3 and wss_cfg_16_9 configuration options. Firmware 2623 or later required. Both parameters are bit masks: - bit 15: disable WSS - bit 14: send short WSS burst, then turn off WSS - bit 13..0: WSS bits as specified by the standard These parameters are useful if you own a broken tv set which does not handle wss correctly. Default settings: - wss_cfg_4_3: 0x4008 - wss_cfg_16_9: 0x0007 These should work with most devices. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-03-16Moved duplicated code of ALPS BSRU6 tuner to a standalone file.Oliver Endriss
From: Perceval Anichini <perceval.anichini@streamvision.fr> Moved duplicated code of ALPS BSRU6 tuner to a standalone file. Modified av7110 and budget drivers to include the new file. Signed-off-by: Perceval Anichini <perceval.anichini@streamvision.fr> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-03-13BUG_ON() Conversion in drivers/video/mediaMauro Carvalho Chehab
From: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-08Typos grab bag of the monthOliver Endriss
From: Alexey Dobriyan <adobriyan@gmail.com> Typos grab bag of the month. Eyeballed by jmc@ in OpenBSD. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-02-28Use refactored LNBP21 and BSBE1 codeOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Use refactored LNBP21/BSBE1 code for Technotrend/Hauppauge DVB-S rev 2.3. As a side effect, FE_ENABLE_HIGH_LNB_VOLTAGE ioctl is supported now. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-02-19dvb: fix __init/__exit section references in av7110 driverJohannes Stezenbach
From: Johannes Stezenbach <js@linuxtv.org> use __devinit/__devexit/__devexit_p() where appropriate Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2006-02-06sem2mutex: drivers/media/, #2Mauro Carvalho Chehab
Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Kernel-sync from patch 3318b Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-03support for Galaxis DVB-S rev1.3Oliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> support for Galaxis DVB-S rev1.3 (subsystem 13c2:0004) Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-01-12removed uneeded init on structs like static int foo=0Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> - static vars are equal to zero by default. Removed unnecessary =0 from them, saving some data space; - Fixed compiling against kernels bellow 2.6.13. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-11From: Panagiotis Issaris <takis@issaris.org>Mauro Carvalho Chehab
Conversions from kmalloc+memset to k(z|c)alloc Conversions from kmalloc+memset to k(z|c)alloc. kernel-sync Signed-off-by: Panagiotis Issaris <takis@issaris.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-03av7110 driver: improved recovery from ARM crash and crash detectionOliver Endriss
Improved recovery from ARM crash and the way a crash is detected. Minor white space clean-up, debug output fixed. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2005-12-27make the firmware dir documentation and comments consistent in the v4l-dvb tree.Michael Krufky
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-19Revert one 64-bit fix and improved other 64-bit fixesHans Verkuil
- Reverted objectionable fix in saa7146_hlp.c - Merged in improved dvb 64-bit fixes from Peter Beutner. Signed-off-by: Peter Beutner <p.beutner@gmx.net> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-16Enable SPDIF output for DVB-S rev 2.3Oliver Endriss
Enable SPDIF output for DVB-S rev 2.3. Firmware 2623 or higher required. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2005-12-08more #if 0 / #if 1 fixes to be in sync with kernelMauro Carvalho Chehab
kernel-sync - more #if 0 / #if 1 fixes to be in sync with kernel Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-08keep #if 0 for existent code when genreating kernel patchesMauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-26Whitespaces cleanups.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-15Driver support for live-ac3, firmware >= 2621 required.Oliver Endriss
Signed-off-by: Dr. Werner Fink <werner@suse.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2005-11-14fixed mpeg audio on spdif from Nexus-CA card (rev 2.3),Oliver Endriss
definitions for sound chip MSP3415 Signed-off-by: Marco Schluessler <marco@lordzodiac.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2005-11-12Fixed dishnetwork support for Nexus-S rev 2.3Oliver Endriss
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2005-10-24stv0299_set_frontend(): reduced number of i2c transfers, set register 0x12 ↵Oliver Endriss
from inittab Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2005-10-03Remove broken stv0299 enhanced tuning codeAndrew de Quincy
2005-09-04remove trailing whitespaceJohannes Stezenbach
2005-08-16From: Karl Herz <karl.herz@gmx.de>Johannes Stezenbach
Add PCI-ids of Siemens-DVB-C card with Technotrend manufacturer id. Signed-off-by: Karl Herz <karl.herz@gmx.de>
2005-08-11improved remote control support for av7110-based cards:Oliver Endriss
- extended rc5 protocol, firmware >= 0x2620 required - key-up timer slightly adjusted - completely moved remote control code to av7110_ir.c - support for multiple ir receivers - for now, all av7110 cards share the same ir configuration and event device
2005-07-26Removed PWM parameter - moved into inittabs.Andrew de Quincy
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2005-07-26Externalise inittabsAndrew de Quincy
2005-07-16Pass a pointer to the i2c bus to the pll callbacks (stv0299 only).Andreas Oberritter
It was not possible to tell which i2c bus should be used if an adapter has multiple frontends on multiple i2c buses.
2005-06-27remove two trailing spacesJohannes Stezenbach
2005-06-19av7110_fe_lock_fix() modified in a way that it can be retried after -ERESTARTSYSOliver Endriss
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2005-06-19Fix indentation and add some whitepsace between operators.Johannes Stezenbach
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2005-06-19Change error handling in av7110_stop_feed() to stop asJohannes Stezenbach
many filters as possible in case of errors. Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2005-06-19- propagate more errors back to caller or log them, mainly inJohannes Stezenbach
av7110.c and av7110_av.c - fix error message in StartHWFilter - do not StopHWFilter for handle 0xffff Signed-off-by: Wolfgang Rohdewald <wolfgang@rohdewald.de>
2005-03-18TT/Hauppauge Nexus Rev 2.3: use stv0299 routines for 22kHz/tone-burst/DiSEqCOliver Endriss
2005-03-17ttpci: follow dvb_register_adapter changes in dvbdev.[ch]Andreas Oberritter
2005-03-14first try to support TT/Hauppauge Nexus Rev 2.3Oliver Endriss
2005-03-12a few more whitespace cleanupsJohannes Stezenbach
2005-03-10patch by Anssi Hannula: remove comment that says TT PCI DVB-T is unsupportedJohannes Stezenbach
2005-03-10patch by Anssi Hannula: add support for Technotrend PCI DVB-TJohannes Stezenbach
(0x13c2,0x0008, Grundig 29504-401 (LSI L64781 Based) frontend)
2005-03-09 - FIX: don't do av7110_ir_exit if init was not doneKenneth Aafloy
2005-02-17Janitoring - error handling during attachJohannes Stezenbach
- av7110_arm_sync(): small helper to factor out some code; - av7110_attach() does not check the status code returned by all the functions is uses; - balance the error path in av7110_attach and have it easy to check. Please check it; - if everything is correctly balanced, device_initialized is not needed anymore in struct av7110; - av7110_detach(): no need to cast a void * pointer; - av7110_detach(): die #ifdef, die ! - change the returned value of av7110_av_exit() as it can't fail; - change the returned value of av7110_ca_init() as it can fail. Removed extraneous casts while are it; - check for failure of vmalloc() in ci_ll_init(). Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
2005-02-16don't call av7110_ir_init() if driver initialization failed alreadyJohannes Stezenbach
due to previous errors (resulted in Oops in out-of-memory conditions)
2005-01-09patch by Emard: make sure RPS1 is disabled before progammingJohannes Stezenbach
budget-patch task
2005-01-09patch by Emard: fix Oops provoked by insmod/rmmod test loopJohannes Stezenbach
2005-01-08a bunch of cleanupsJohannes Stezenbach
- mostly whitespace etc. - removed now unsused struct dvb_net_priv.name field
2005-01-08patch by Emard:Johannes Stezenbach
budgetpatch integrated into dvb-ttpci: enables full ts option running in parallel with all previous functions of dvb-ttpci. This is done by opening DMA3 channel at port B and registering it as second demux named demux1 demux1 has full ts capability and is accompanied by net1 and dvr1 but has no frontend device. It uses frontend0 which is in hardware permanently connected to both demux0 and demux1. net1 can create its full ts network devices, they are named dvb010, dv010 etc. Devices created by net0 remain named dvb0_0 etc as before. kernel parameter for dvb-ttpci: budgetpatch=0,1,2 0-no budgetpatch 1-autodetect 2-alywas autodetect resets saa7146. Avoid on systems that don't like resetting of saa7146.
2004-12-31re-added support for Fujitsu-Siemens DVB-S rev 1.6 0x13c2:0x0006Oliver Endriss
which was removed during fe refactoring :-(