summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/digitv.c
AgeCommit message (Collapse)Author
2006-10-13Fixed DVB-USB-Adapter indentionMauro Carvalho Chehab
From: Patrick Boettcher <pb@linuxtv.org> While converting everything to DVB-USB-Adapter, there was a wrong indention. Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-19cf4dcf5526aa0e0acd02Patrick Boettcher
Multi-input patch for DVB-USB device From: Patrick Boettcher <pb@linuxtv.org> This patch is the first commit of the Multiple Input Patch for the DVB-USB frame work. It changes the DVB-USB-device to be able to have more than one streaming input (e.g. multiple DVB-T sources) on one device. This is a necessary feature for the upcoming DiB7700 driven devices. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-10[PATCH] Nebula DigiTV USB RC supportPatrick Boettcher
From: Allan Third <allan.third@cs.man.ac.uk> Attached is a patch against latest HG which adds remote control support to the DigiTV driver. It works for me; Signed-off-by: Allan Third <allan.third@gmail.com> Signed-off-by: Patrick Boettcher <pb@linuxtv.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-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-04-19Convert calls from _pllbuf() to _calc_reg()Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Johannes Stezenbach suggested this change - definite improvement. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-18Convert digtv 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-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-05FIX: Check if FW was downloaded or not + new firmware filePatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> When a firmware was downloaded dvb_usb_device_init returns NULL for the dvb_usb_device, then nothing should be done with that pointer and device, because it will re-enumerate. A new firmware should be used with digitv devices. It should make "slave"-devices work and others, too. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-01-06Latest patch #ifs were wrong. fixing.Mauro Carvalho Chehab
kernel-sync. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2006-01-06USB: remove .owner field from struct usb_driverMauro Carvalho Chehab
From: Greg Kroah-Hartman <gregkh@suse.de> It is no longer needed, so let's remove it, saving a bit of memory. kernel-sync Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-20From: Adrian Bunk <bunk@stusta.de>Johannes Stezenbach
Small cleanups: - make needlessly global functions static - every file should #include the headers containing the prototypes for it's global functions Signed-off-by: Adrian Bunk <bunk@stusta.de>
2005-10-01[PATCH] I2C: Kill i2c_algorithm.name (1/7)Michael Krufky
The name member of the i2c_algorithm is never used, although all drivers conscientiously fill it. We can drop it completely, this structure doesn't need to have a name. [PATCH] I2C: Kill i2c_algorithm.id (4/7) There are no more users of i2c_algorithm.id, so we can finally drop this structure member. [PATCH] I2C: Kill i2c_algorithm.id (6/7) In theory, there should be no more users of I2C_ALGO_* at this point. However, it happens that several drivers were using I2C_ALGO_* for adapter ids, so we need to correct these before we can get rid of all the I2C_ALGO_* definitions. Note that this also fixes a bug in media/video/tvaudio.c: /* don't attach on saa7146 based cards, because dedicated drivers are used */ if ((adap->id & I2C_ALGO_SAA7146)) return 0; This test was plain broken, as it would succeed for many more adapters than just the saa7146: any those id would share at least one bit with the saa7146 id. We are really lucky that the few other adapters we want this driver to work with did not fulfill that condition. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2005-08-16added support for the NXT6000-based digitv-box.Patrick Boettcher
added .get_tune_settings callback for the NXT6000 to have a min_tune_delay of 500ms Signed-off-by: Svante Olofsson <svante@agentum.com> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-06-28Changed the name-field of the pci_driver and usb_driver structs to the name ofPatrick Boettcher
the module after compilation. It seems that this field is used in some places where special characters are not allowed. Maybe related to: http://www.uwsg.iu.edu/hypermail/linux/kernel/0505.1/0983.html Thanks to Alan Halverson for finding this problem. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-06-08fixed memcpy copying into the wrong destination. Thanks to Allan Third for ↵Patrick Boettcher
reported. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-06-06Some more work on the digitv-usb-driver:Patrick Boettcher
- MT352 initialization and PLL-programming - I2c-transfer fixed. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-05-30From: Thierry Vignaud <tvignaud@mandriva.com>Patrick Boettcher
fix compiling USB DVB drivers (at least with gcc-4): Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-04-29added comments to dvb-usb.h to better describe the dvb-usb structurePatrick Boettcher
renamed some fields
2005-04-29never test any change you make with old drivers, neverPatrick Boettcher
2005-04-29added key-mapping for the a800 (Thanks to Glen Harris)Patrick Boettcher
changed remote-control-key-types and functions (saved about 80 lines code)
2005-04-27- more work on the nebula digitv USBPatrick Boettcher
- following a small change in the other drivers
2005-04-27- removed the field which specified the delay between the two transfer of a ↵Patrick Boettcher
read operation (not unused, didn't help) - correct the maximal number of feed for each device (up to now it was always 255 even if the device was only able to handle 16 pids) - added preliminary remote control support for the AVerTV USB2 A800 - changed the remote-control-struct for the NEC-protocol
2005-04-22corrected a typo in umt-010.cPatrick Boettcher
Added a new driver for the µDigiTV USB2.0 DVB-T receiver made by Nebula Electronics. It isn't working yet, but with the help of Allan Third it will be very soon. Thanks.