summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/mt352.h
AgeCommit message (Collapse)Author
2006-10-14Fix DBV_FE_CUSTOMISE for card drivers compiled into kernelTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> When a front-end is disabled, card drivers that use it are compiled with a stub version of the front-end's attach function. This way they have no references to the front-end's code and don't need it to be loaded. If a card driver is compiled into the kernel, and a front-end is a module, then that front-end is effectively disabled wrt the card driver. In this case, the card driver should get the stub version. This was not happening. The stub vs real attach function selection is changed so that when the front-end is a module the real attach function is only used if the card driver is a module as well. This means a module front-end will be supported by card drivers that are modules and not supported by card drivers compiled into the kernel. Signed-off-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-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-04-18Convert mt352 to refactored tuner codeAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Convert to tuner_ops calls. Remove pll function pointer from structure. Use standardised pllbuf function. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2005-04-23patch by Adrian Bunk:Johannes Stezenbach
- make needlessly global code static - #if 0 the following unused global functions: - ttpci/av7110_hw.c: av7110_reset_arm - ttpci/av7110_hw.c: av7110_send_ci_cmd - frontends/mt352.[ch]: drop mt352_read Signed-off-by: Adrian Bunk <bunk@stusta.de>
2005-01-29patch by Gerd Knorr:Johannes Stezenbach
add support for the Pinnacle MediaCenter 300i DVB-T
2005-01-13mt352.cPatrick Boettcher
2004-10-28Imported FE_REFACTORING to HEADAndrew de Quincy
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-07-16 - Conversion to Kernel I2C layer.Kenneth Aafloy
- MODULE_PARM* -> module_param* - Common name for I2C device and prefix for debug messages. NOTE: This needs testing by someone who has one of these frontends.
2004-07-08patch by Antonio Mancuso <antonio.mancuso@digitaltelevision.it>Johannes Stezenbach
and Amauri Celani <acelani@essegi.net> to add support for the Technisat AirStar2 with Samsung TDTC9251DH01C(M) tuner