summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci/budget-av.c
AgeCommit message (Collapse)Author
2006-08-12add support for knc one dvb-s plus with 1894:0011Andrew de Quincey
From: Christoph Pfister <christophpfister@gmail.com> Apparently there are two types of knc1 dvb-s plus cards with different tuners (as for the knc1 dvb-s ones). This patch adds support for those cards with subsystem id 1894:0011. Signed-off-by: Christoph Pfister <christophpfister@gmail.com> Successfully tested by: Benjamin Weber <benny1990@gmail.com> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-08-12Fix KNC1 DVBC supportAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> This actually needs the same configuration as the other DVBC cards; simply no one had managed to test before to find out. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
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-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-19[budget/budget-av/budget-ci/budget-patch drivers] fixed DMA start/stop codeOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Fix bug reported by Andrew de Quincey: After cold boot the saa7146 DMA did not start if the demuxer was opened before the frontend has locked to the signal. DMA transfers will be started now if (and only if) the frontend is locked and data should be sent to the demuxer. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-06-29Fix CI interface on PRO KNC1 cardsAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> The original driver had a restriction that if a card as an saa7113 chip, then it cannot have a CI interface. This is not the case. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-06-29Fix CI on old KNC1 DVBC cardsAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> These cards do not need the tda10021 configuration change when data is streamed through a CAM module. This disables it for these ones. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-06-06Support for new version of Satelco EasyWatch DVB-S lightMichael Krufky
From: Lothar Englisch <Lothar.Englisch@lycos.de> This patch adds support for Satelco EasyWatch DVB-S light card, a clone of the KNC 1, with PCI subsystem ID 1894:001e Signed-off-by: Lothar Englisch <Lothar.Englisch@lycos.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-05-14Change dvb_frontend_ops to be a real field instead of a pointer field inside ↵Patrick Boettcher
dvb_frontend From: Patrick Boettcher <pb@linuxtv.org> The dvb_frontend_ops is a pointer inside dvb_frontend. That's why every demod-driver is having a field of dvb_frontend_ops in its private-state-struct and using the reference for filling the pointer-field in dvb_frontend. - It saves at least two lines of code per demod-driver, - reduces object size (one less dereference per frontend_ops-access), - be coherent with dvb_tuner_ops, - makes it a little bit easier for newbies to understand how it works and - avoids stupid mistakes because you would have to copy the dvb_frontend_ops always, before you could assign the static pointer directly, which was dangerous. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-05-04Fix CI interface on KNC1 DVBT and DVBC cardsAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> These cards need special handling for CI - reinitialising the frontend device when the CI module is reset. Additionally the tda10021 needs to be set into a different transport stream mode when a CI module is present. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-20Additional frontend_init safety checksAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Don't try and set the tuner ops if the demod was not detected. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-18Convert ttpci/budget-av to refactored tuner codeAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Rename pll calls to appropriate tuner calls. Remove pll functions from demod structures. Hook tuner call into tuner_ops. Add pll gate control calls where appropriate. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-13Fix KNC1 card frontend detectionAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Since I reordered the CI/frontend detection, it turns out the frontend needs to have a GPIO set to power it on; otherwise frontend init fails. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-06Fix oops in budget-av with CIAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Now that the CI code reinitialises the frontend, need to move the CI initialisation to after the frontend init in order to ensure the frontend is always in a good state. Fixes an oops caused by the frontend being NULL as well. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-03-30Fix budget-av CAM resetAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Unfortunately on the budget-av board, the CAM reset line is tied to the frontend reset line, so resetting the CAM also zaps the frontend. This breaks the tda1004x at least, and causes it to fail to tune until the budget-av module is reloaded. This patch adds an exported function to dvb_frontend that allows a card to forcibly reinitialise a frontend. The budget-av now does this on CAM reset, which corrects this problem. Note: other CA interface implementations (e.g. budget-ci) do not need this since they do not tie the CAM reset line to the frontend reset line. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-02-23Support for Satelco EasyWatch DVB-S lightOliver Endriss
From: Thilo Berger <thilo_berger@gmx.net> Support for Satelco EasyWatch DVB-S light. Signed-off-by: Thilo Berger <thilo_berger@gmx.net> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-01-12adding support for knc1 Tv Star dvb-sMichael Krufky
From: Regis Prevot <regis.prevot@anevia.com> - added knc1 tv star dvb-s support with philips tuner sd1878. Signed-off-by: Regis Prevot <regis.prevot@anevia.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
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-11-26Whitespaces cleanups.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-23Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>Andrew de Quincy
ARRRGH!
2005-11-23Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>Andrew de Quincy
I just can't get this right :( Fix my second mistake
2005-11-23Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>Andrew de Quincy
Changed the wrong parameter :(
2005-11-23Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>Andrew de Quincy
Fix voltage switching
2005-11-23Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>Andrew de Quincy
Port code for SU1278/SH2 (TUA6100) from pre-refactored code
2005-11-09Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>Andrew de Quincy
Fixes for the topuptv/SCM mediaguard CAM module in KNC1 CI module
2005-11-08fixed DiSEqC timing for saa7146-based budget cardsOliver Endriss
(speed-up ioctls using SAA7146_I2C_SHORT_DELAY) 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-08-12fix initialization from incompatible pointer typeAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
2005-08-02Enable frontend on KNC plus cards.Andrew de Quincy
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2005-08-02Fixes for CI interfaceAndrew de Quincy
2005-07-24Reverted change - caused more problems on another machineAndrew de Quincy
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2005-07-24Switch to different AGC setting to remove Terratec DVB-T glitches.Andrew de Quincy
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2005-07-08From: Julian ScheelPatrick Boettcher
The / in the driver name (budget dvb /w video in) is not a valid character for device names - removed it, now it works! Same for ttusb-budget. Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Julian Scheel <julian@jusst.de>
2005-06-19Fix for QAM128 in VHF band suggested by Timo Helkiö.Johannes Stezenbach
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2005-05-18adapted to tda1004x driver updateHartmut Hackmann
2005-04-04 budget-av:Kenneth Aafloy
- remove enable_ci, ci interface is assumed to be present if the saa7113 is not found. - reduce the delay when checking for saa7113 - clean up the cam reset according to specifications - turn off Vcc to the cam slot if cam is removed or fails reset - remove cam reset in ciintf_init - clean up printks (KERN_) - move gpio setting into saa7113_init - clean up unreadable frontend_init
2005-04-03patch by Alexander Riedel:Johannes Stezenbach
add support for KNC One Plus DVB-T and similar KNC One cards
2005-03-19 - Patch by Olaf Titz: gcc 2.95 compile fixesKenneth Aafloy
2005-03-17ttpci: follow dvb_register_adapter changes in dvbdev.[ch]Andreas Oberritter
2005-03-08 - Fix for CAMs on Typhoon DVB-S, where it would constantly reset itself.Kenneth Aafloy
2005-02-12patch by Adrian Bunk:Johannes Stezenbach
This patch contains the following possible cleanups: - make needlessly global code static - remove the following EXPORT_SYMBOL'ed but unused function: - bt8xx/bt878.c: bt878_find_by_i2c_adap - remove the following unused global functions: - dvb-core/dvb_demux.c: dmx_get_demuxes - dvb-core/dvb_demux.c: dvb_set_crc32 - remove the following unneeded EXPORT_SYMBOL's: - dvb-core/dvb_demux.c: dvb_dmx_swfilter_packet - dvb-core/dvb_demux.c: dvbdmx_connect_frontend - dvb-core/dvb_demux.c: dvbdmx_disconnect_frontend - dvb-core/dvbdev.c: dvb_class Signed-off-by: Adrian Bunk <bunk@stusta.de>
2004-11-20Added setting to allow inversion of OCLKAndrew de Quincy
2004-11-14 - Fix budget module usage count for frontend/demux devices.Kenneth Aafloy
2004-11-13Fix module usage count problemAndrew de Quincy
2004-11-13Corrected formattingAndrew de Quincy
2004-11-12Enhanced poll_slot_status to support non-IRQ interfacesAndrew de Quincy
2004-11-12Updated to fix problems with some CAMs on KNC1 cardsAndrew de Quincy
2004-11-12Added locking to prevent GPIO problem between polling and IO/attribute memoryAndrew de Quincy
access
2004-11-12Support for KNC1/Cinergy CI modules. Patch by Olivier Gournet and myself.Andrew de Quincy