summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
AgeCommit message (Collapse)Author
2006-02-26cx88: reduce excessive loggingMichael Krufky
From: Ian Pickworth <ian@pickworth.me.uk> - fix temporary debug code by changing printk to dprintk at level 1. - move CORE_IOCTL messages from level 1 to level 2. - this should help with selective debugging, while not filling people's logs up during normal use. Signed-off-by: Ian Pickworth <ian@pickworth.me.uk> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-26do a RESYNC for all cardsManu Abraham
From: Manu Abraham <manu@linuxtv.org> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2006-02-26fix broken IF-OUT Relay handlingManu Abraham
Thanks to Edgar Toernig Signed-off-by: Manu Abraham <manu@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-06Sync patches to kernelMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> dvb_bt8xx_remove return code changed to zero to avoid warning tvp5150_read doesn't need to be inline Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-15From: Russell King <rmk@arm.linux.org.uk>Mauro Carvalho Chehab
Add bttv sub bus_type probe and remove methods Add bttv sub bus_type probe and remove methods kernel-sync Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> 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>
2005-12-20Remove #ifdef BTTV_BOARD_TWINHAN_VP3021Michael Krufky
As far back as the video4linux cvs repository goes, there is no mention of BTTV_TWINHAN_VP3021. It seems that this was done for the sake of backwards compatability with some older v4l, but this can no longer be necessary due to the v4l/dvb cvs merger, nor should this have ever existed in the upstream kernel. Signed-off-by: Michael Krufky <mkrufky@m1k.net> Acked-by: Manu Abraham <manu@linuxtv.org>
2005-12-20Removed some unneeded #ifdef'sMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-11-26Whitespaces cleanups.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-23From: Stuart Auchterlonie <stuarta@squashedfrog.net>Johannes Stezenbach
Nebula nxt6000 requires fe reset. Signed-off-by: Stuart Auchterlonie <stuarta@squashedfrog.net>
2005-10-01Add compat.h for backwards compatabilityMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2005-10-01Adapt to changes in video4linux cvs:Michael Krufky
rename BTTV_FOO --> BTTV_BOARD_FOO Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2005-09-19Fix charge pump setting in microtune_mt7202dtf_pll_set().Johannes Stezenbach
Thanks to Jyrki Niskala for reporting. Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2005-09-11FusionHDTV5 Lite:Michael Krufky
- ignore FBUS & FDSR errors - add resync Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-09-10Added support for DViCO FusionHDTV5 Lite.Michael Krufky
This is the first card to use dvb-pll in dvb-bt8xx. IMHO, it would be a good idea to convert the other tuners in this manner, after some testing, of course. This is exactly the same as the patch that I previously posted to the linux-dvb list, using the same DT3303 serial TS transfer setting as cx88-based FusionHDTV5 Gold. The only difference is gpio_mode. Thank you Doug Stevens, for pointing out the correct gpio value. Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Doug Stevens <ddstevens@gmail.com>
2005-08-31From: Stuart Auchterlonie <stuarta@squashedfrog.net>Johannes Stezenbach
Fix bug in Nebula DigiTV frontend detection for nxt6000. Signed-off-by: Stuart Auchterlonie <stuarta@squashedfrog.net>
2005-08-03repair case label indentationJohannes Stezenbach
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2005-08-03From: David Johnson <dj@david-web.co.uk>Johannes Stezenbach
Add support for Nebula DigiTV PCI cards with the MT352 frontend. Signed-off-by: David Johnson <dj@david-web.co.uk>
2005-08-03From: David Johnson <dj@david-web.co.uk>Johannes Stezenbach
Indentation fixes and remove unnecessary braces. Signed-off-by: David Johnson <dj@david-web.co.uk>
2005-04-23Fixed the NULL frontend registration bug, Patch by Steffen MotzerManu Abraham
2005-04-04Compilation fix after twinhan-exp branch mergeManu Abraham
2005-04-04Merged the twinhan-exp branch to the trunkManu Abraham
2005-03-19 - follow dvb_register_adapter changes in dvbdev.[ch]Kenneth Aafloy
2005-03-19 - Fix copy/paste bug for mt352 frontend in dvb-bt8xxKenneth Aafloy
2005-03-10 - remove bttv dependency from frontendKenneth Aafloy
2005-03-02whitespace cleanup (remove ws at eol, sync with changes in mainline kernel)Johannes Stezenbach
2005-02-17DVB support for the pcHDTV HD2000 cardJohannes Stezenbach
submitted by Rusty Scott
2005-01-06patch by Arne Ahrend: minor cleanups (make stuff static etc.)Johannes Stezenbach
2005-01-06Patch from Peter Hettkamp, Adam Szalkowski to add support for pinnacleAndrew de Quincy
pctv-sat
2004-11-14Fixed demod i2c addressAndrew de Quincy
2004-11-13Implemented vp3021 supportAndrew de Quincy
2004-11-11Renamed functions now I know the correct tuner moduleAndrew de Quincy
2004-10-30Remove extraneous parameter from mt352_attach call for the DVICO FusionHDTVChristopher Pascoe
DVB-T Lite.
2004-10-28Imported FE_REFACTORING to HEADAndrew de Quincy
2004-10-26- use <linux/bitops.h> instead of <asm/bitops.h>Michael Hunold
2004-10-15Fix misplaced #endif which may cause problems with pinnaclesat cards.Christopher Pascoe
Print a message suggesting that a failure to find the DMA core for a card could be the result of having the ALSA bt87x audio driver loaded.
2004-09-20Apply patches by Christopher Pascoe, thanks for your work.Michael Hunold
Notes: Note that to use this with either of the DVICO FusionHDTV DVB-T boards you will need to fetch and build against a recent snapshot of the video4linux code that you can obtain from http://dl.bytesex.org/cvs-snapshots/. This will get you the board ID for the Lite board, and/or the kernel I2C support needed for the DVB-T1. Cleanups (mt352-0-cleanup.patch) include: - moving the card_type and dvb_frontend_info structure into the adapter state to permit more than one card type in a system at once converting the force_card parameter to an array to permit the same; - removing incorrect "shift" values reintroduced by the merge of the TDTC9251DH01C driver which was based on an old version of the code with incorrect values - changes discussed and tested by Antonio Mancuso; - removing the incorrect use of I2C_M_NOSTART from the driver. The only boards where this worked were the boards where use_i2c_hw was enabled in the bttv driver, and there only because the i2c_hw code ignores the I2C_M_NOSTART flag and always generates a start condition. On other boards where the clag is respected, this violates the i2c protocol and causes only errors. No-op; - cleaning up some double initialisation (specifically that of the ACQ_CTL register - no-op; - converts some routines to pass the true frequency around, rather than the frequency in MHz - need the real frequency for other boards - no-op; - ignoring FEC_NONE for the LP coderate in the case where OFDM hierarchy mode is either set to be auto-detected or is disabled. The demodulator ignores our settings anyway; - changing the detect_avermedia function to a more generic function that can be used to detect other bt878 or cx2388x cards in a similar way; - rounding the frequency programmed into the PLL so that it will be closer to the desired received frequency; - decoupling requirement for FE_REGISTER/FE_UNREGISTER to be called synchronously from within mt352_attach_adapter/mt352_detach_client, so that mt352 can be used with drivers such as cx88 which have i2c and DVB support in separate modules. The DVICO hardware support (mt352-1-dvico.patch): - introduces functionality for the DVICO FusionHDTV DVB-T1 and DVICO FusionHDTV DVB-T Lite boards in the mt352 frontend; - activates autodetection for these boards; The dvb-bt8xx patch (dvb-bt8xx.patch): - adds hardware support for the DVICO FusionHDTV DVB-T Lite - adds functionality to the bt8xx code to switch on/off DMA of the transport stream only when the DVB layer wants data, rather than generating a constant interrupt stream the entire time that the driver is loaded. The mt352 speedup patch (mt352-2-speedups.patch) helps with tuning speed on the mt352 frontend, by: - reinitialising the frontend only in the case when it has not yet been initialised or when it has been put to sleep; - ignoring requests from the frontend thread to repetitively acquire a transponder with the same parameters. Each time it does this, the tuner/demodulator lose sync and acquisition time is needlessly extended.
2004-08-18- forgot to remove all occurences of "#include "dvb_functions.h" which is ↵Michael Hunold
included just everywhere - remove dvb_i2c.[ch], it's not needed anymore - rename dvb_register_frontend_new() to dvb_register_frontend() -
2004-08-18- convert dvb bt8xx driver to sub-bttv driver architecture, thanks to ↵Michael Hunold
Kenneth Aafloy
2004-08-08patch by Martin Binder: #include <linux/moduleparam.h> where necessaryJohannes Stezenbach
to make it compile with the SuSE 9.1 kernel
2004-07-31merge back various cleanups from mainline kernel:Johannes Stezenbach
- sparse annotiations (viro) - NULL noise removal (viro) - #if where #ifdef should've been (saa7146) (viro) - convert private ABS() to kernel's abs() (rddunlap) - dvb_register_i2c_device() locking fix for -ENOMEM (akpm) - dvb_register_i2c_bus() locking fix for -ENOMEM (akpm)
2004-07-30 - More MODULE_PARM -> module_param changes, all should be corrected now.Kenneth Aafloy
- Remove unused av7110 DEBUG_VARIABLE.
2004-06-11Wolfram Joost's Patches for the AVerMedia DVB-T 771Holger Waechtler
2004-05-03- remove 2.4 compat code, expect for ttusb_dec.cMichael Hunold
(Alex, do you take care of that one?)
2004-03-31- first try to fix the module use count bugs, thanks to Hernan A.Perez Masci ↵Michael Hunold
for his work! - dvb_net most likely doesn't work with 2.6 yet and dvb_net is untested in general
2003-12-20updated contributors.txt and some email addressesAndreas Oberritter
2003-11-10applied skystar2 tone burst patch by Vincenzo Di Massa and fixed a compile ↵Holger Waechtler
time cast warning
2003-10-31move around dvb_functions.h include to avoid build warningsJohannes Stezenbach
2003-10-28- reworked i2c / gpio so not so hackerish and more in line withJamie Honan
what Gerd is moving to - allowed multiple instances of dst frontend. - should handle terrestial cards correctly. Can mix and match ts204, new tuner packets, symbol rate types in tuner packets - has more DST strings on i2c asic discovery (in dst_check_ci) - can override card PCI id using card=0x68 for bttv driver. bt878 audio dma still hogs all cards it finds, but this is an interim release to work towards fixing this - put in rudimentary signal strength / snr. The scale factors are not right. Should work for terrestial / satellite. - Put in Dimitri's fix of not doing dst_enable after reciept of the 0xFF ack, but allowing the asic to do this itself.