summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/dvb-usb-dvb.c
AgeCommit message (Collapse)Author
2006-05-19merge: http://linuxtv.org/hg/~pb/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.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-13Remove the spagetti code gotos that aren't usefulAndrew de Quincey
From: Trent Piepho <xyzzy@speakeasy.org> Some code had pointless gotos that just didn't make any sense. They didn't make the code smaller, or faster, or easier to understand. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-10Add sysfs device links to dvb devicesAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Currently in /sys/class/dvb/dvbX.demuxY/ we have: dev uevent With the patch, we have (for a PCI DVB device): dev device -> ../../../devices/pci0000:00/0000:00:1e.0/0000:03:0d.0 uevent So userspace tools can (finally) work out which physical device a DVB adapter refers to. Previously you had to kinda look through dmesg and hope that it hadn't been dumped out of the buffer. This makes debugging a lot easier if the system has been up for a long time! This is done by adding an extra 'struct device *' parameter to dvb_register_adapter(). It will work with any kind of standard linux 'device'. Additionally, if someone has an embedded system which does things differently, they can simply supply 'NULL' and the behaviour will be as before - the link will simply not appear. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Ack'd-by: Manu Abraham <manu@linuxtv.org> Acked-by: Michael Krufky <mkrufky@linuxtv.org>
2005-08-27Fixed race between submitting streaming URBs in the driver and starting thePatrick Boettcher
actual transfer in hardware (demodulator and USB controller) which sometimes lead to garbled data transfers. URBs are now submitted first, then the transfer is enabled. Dibusb clones are now fully functional again. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-07-02corrected some typos.Patrick Boettcher
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-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-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-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-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.