summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/dvb-usb.h
AgeCommit message (Collapse)Author
2008-07-08v4l-dvb: remove support for kernels < 2.6.16Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Phase 4 removes the compatibility support for kernels < 2.6.16. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-04-09Adds selectable adapter numbers as per module optionMichael Krufky
From: Janne Grunau <janne-dvb@grunau.be> The adapter_nr module options can be used to allocate static adapter numbers on a driver level. It avoids problems with changing DVB apapter numbers after warm/cold boot or device unplugging and repluging. Each driver holds DVB_MAX_ADAPTER long array of the preferred order of adapter numbers. options dvb-usb-dib0700 adapter_nr=7,6,5,4,3,2,1,0 would result in a reversed allocation of adapter numbers. With adapter_nr=2,5 it tries first to get adapter number 2 and 5. If both are already in use it will allocate the lowest free adapter number. Signed-off-by: Janne Grunau <janne-dvb@grunau.be> Acked-by: Hermann Pitton <hermann.pitton@arcor.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-06-12dibusb-mb: fix broken 'tuner_pass_ctrl' functionalityMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> 'tuner_pass_ctrl' functionality of the dib3000-mb devices was broken in the previous changeset: "dibusb-mb: convert pll handling to properly use dvb-pll" This patch fixes this problem by assigning this functionality to the i2c_gate_ctrl callback Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2007-06-12dvb-usb: kill unused tuner/i2c functionsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> These two functions are no longer being used. kill dvb_usb_tuner_init_i2c kill dvb_usb_tuner_set_params_i2c This functionality has been taken over by dvb-pll Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2007-06-02dvb-pll digitv dvb-usb: Eliminate last user of dvb_pll_configureTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The last user of dvb_pll_configure was the dvb-usb function dvb_usb_tuner_calc_regs(), which was nothing more than a wrapper around dvb_pll_configure(). It's just a copy of the functionality provided by the tuner_ops calc_regs method, and can be deleted. There were two users of dvb_usb_tuner_calc_regs(). One was dvb_usb_tuner_set_params_i2c(), which is converted to use fe->ops.tuner_ops.calc_regs(). The other was the digitv driver. This driver can use one of two demods, mt352 or nxt6000. For the mt352, the driver would set tuner_ops.calc_regs to dvb_usb_tuner_calc_regs(). We can just attach dvb_pll and use the tuner_ops.calc_regs() provided by that module. For the nxt600, the driver would set tuner_ops.set_params to digitv_nxt6000_tuner_set_params. That function would in turn use dvb_usb_tuner_calc_regs(). We convert it to use tuner_ops.calc_regs() instead, and use dvb_pll_attach. The digitv_tuner_attach() needs to know which frontend was attached by digitv_frontend_attach(), since the nxt6000 needs tuner_ops.set_params() to be overridden with digitv_nxt6000_tuner_set_params(). So to do this a digitv_state that says which frontend was used is added to the dvb_usb_device private state field. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-05-04dvb-usb: fix typoMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> replace "streaming_crtl" with "streaming_ctrl" Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-12-16Several stuff backported from 2.6.19-git seriesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> - INIT_WORK replaced by INIT_DELAYED_WORK - struct work_struct replaced by struct delayed_work - callback parameters also changed - SLAB_KERNEL replaced by GFP_KERNEL - linux/suspend.h replaced by linux/freezer.h - on cpia: INIT_WORK replaced by INIT_WORK_NAR - file->f_dentry->d_inode replaced by file->f_path.dentry->d_inode Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-20Power control of the device for dual boardPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Corrected power control of the device for dual boards Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Merged VP702x support to dvb-usb multi inputPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> The fixed support for the VP70x (supports only StarBox2) is now in sync with latest changes in the dvb-usb framework. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Misc. changes, DiB3000MC, MT2060Patrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Changed the attach-function of the dib3000mc-driver to return only one frontend. In case of multiple dib3000-chips on one board, one has to call the i2c-enumeration manually before. Added a field to Microtune 2060 config to output the clock to other tuners/device on a board. Signed-off-by: Patrick Boettcher <pb@linuxtv.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-07-19Remove obsolete #include <linux/config.h>Mauro Carvalho Chehab
From: Jörn Engel <joern@wohnheim.fh-wedel.de> kernel-sync: Kernel adds "-include include/linux/autoconf.h" for every file to be compiled, so, including config.h is not required. Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.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 core dvb-usb pll code to refactored tuner codeAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Rename pll calls to appropriate tuner calls. Add pll gate control calls where appropriate. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
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-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-01-22drivers/media/dvb/: possible cleanupsMichael Krufky
From: Adrian Bunk <bunk@stusta.de> - make needlessly global code static - #if 0 the following unused global functions: - b2c2/flexcop-dma.c: flexcop_dma_control_packet_irq() - b2c2/flexcop-dma.c: flexcop_dma_config_packet_count() Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-09Remove DViCO specific firmware hacks from the generic code.Christopher Pascoe
From: Patrick Boettcher <pb@linuxtv.org> Move the code that patches bluebird firmware before upload from the generic code into the cxusb driver itself. Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
2005-12-04Backport of Dmitry Torokhov's input layer changes at mainline kernelRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> kernel-sync Ported changes by Dmitry Torokhov <dtor_core@ameritech.net> and added backwards compatibility checks for kernels < 2.6.15 Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-11-02To make the integration of future devices easier IPatrick Boettcher
- modified the dvb-usb-part to allow a device-specific firmware download and - added an option to specify whether a device reconnects after a firmware download or not. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-08-16changed the init call to get the dvb_usb_device back immediatly if necessary.Patrick Boettcher
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-06-07added another USB ID pair for the VideoWalker USB DVB-TPatrick Boettcher
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-05-31added isochronous-streaming method.Patrick Boettcher
changed memory (de)allocation behaviour accordingly. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-05-30The solution below wastes a few 100 bytes of space, but I think we canPatrick Boettcher
live with that. The same thing was done in dvb-pll.h. --- gcc-2.95 compile fix. Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2005-05-02preparation for the uDigitv and DViCO USB2.0 boxes: moved pll handling from ↵Patrick Boettcher
dibusb-common to dvb-usb added pll_init to dvb-usb added another dvb_pll_desc for TDA665x
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.
2005-04-20compile fix, when debugging is disabledPatrick Boettcher
2005-04-17- ported all dibusb drivers to fit into the dvb-usb-framewordPatrick Boettcher
- created dvb-pll-entries for the tuner used with the dibusb-drivers - removed all traces of the dibusb driver - adapted the dib3000-frontends to get along with the dvb-pll-changes
2005-04-15Corrected the THIS_MODULE handling for the flexcop-stuff and dvb-usb which ↵Patrick Boettcher
lead to oopses because of misorganized module dependencies.
2005-04-14on fast (or slow) machines it is important for some devices to delay the ↵Patrick Boettcher
actual read on a read operation
2005-04-02re-enabled and improved commonly used remote control code for dvb-usbPatrick Boettcher
2005-03-31- added read_mac_address-callbackPatrick Boettcher
- filling the MAC address into dvb_adapter->proposed_mac Thanks to Andreas Oberritter for pointing out.
2005-03-31- modifications/preparations for port of a driver (dtt200u)Patrick Boettcher
2005-03-30added copyright informationPatrick Boettcher
2005-03-30Added support for the TwinhanDTV Alpha/MagicBox II USB2 DVB-T device inPatrick Boettcher
conjunction with a neat dvb-usb-lib. All dibusb-drivers will be merged to it in the near future.