summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/pluto2
AgeCommit message (Collapse)Author
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-18Convert pluto2 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. 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>
2006-04-07Fix a bug at pluto2 MakefileMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> When pluto2 were selected, all other module dependencies were just discarded. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
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-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-09-13Removed unavoidable error message and related code.Andreas Oberritter
Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
2005-07-07applied dvb-add-pluto2-driver-fix.patch:Andreas Oberritter
From: Andrew Morton <akpm@osdl.org> sparc64: drivers/media/dvb/pluto2/pluto2.c: In function `pluto2_probe': drivers/media/dvb/pluto2/pluto2.c:604: error: `DMA_32BIT_MASK' undeclared (first use in this function) Cc: Andreas Oberritter <obi@linuxtv.org> Cc: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org>
2005-05-18adapted to tda1004x driver updateHartmut Hackmann
2005-05-14generate an irq after max. 8 packets,Andreas Oberritter
disable pid filtering if there are no users, complain if the number of received packets does not match 'nbpackets', print the card's serial number, Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
2005-04-25pluto_fe is obsoleteAndreas Oberritter
2005-04-25pluto2 kbuild fixesAndreas Oberritter
2005-04-25- enable interrupts via pci configuration space directly after enabling the ↵Andreas Oberritter
device as proposed in Documentation/pci.txt - set n_i2c to 3 (tda10046)
2005-03-17pluto2: follow dvb_register_adapter changes in dvbdev.[ch]Andreas Oberritter
2005-03-10cosmeticsAndreas Oberritter
2005-03-09renamed conflicting tda1004x_write_byte to tda10046_write_byteAndreas Oberritter
2005-03-09Makefile and Kconfig updates for pluto2Andreas Oberritter
2005-03-09temporary frontend driverAndreas Oberritter
2005-03-09Experimental pluto2 driver for Satelco Easywatch Mobile Terrestrial Receiver.Andreas Oberritter
The TDA10046 driver (pluto_fe.c) still needs to be merged with tda1004x.c known issues: machine might freeze during bad reception machine might freeze on module unload -> ejecting the cardbus card might help sometimes