summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/b2c2
AgeCommit message (Collapse)Author
2006-03-18Make hotplug automatically load the b2c2-flexcop-usb modulePatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> There was no MODULE_DEVICE_TABLE for the b2c2-flexcop-usb module. This makes it impossible for hotplug to load the module automatically, when such a device is connected. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-02-09drivers/media/dvb/frontends/mt312.c: cleanupsMichael Krufky
From: Adrian Bunk <bunk@stusta.de> This patch contains the following possible cleanups: - update the Kconfig help to mention the VP310 - merge vp310_attach and mt312_attach into a new vp310_mt312_attach to remove some code duplication Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
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-22Fix printk type warningMichael Krufky
From: Randy Dunlap <rdunlap@xenotime.net> Fix printk type warning: drivers/media/dvb/b2c2/flexcop-pci.c:164: warning: format '%08x' expects type 'unsigned int', but argument 4 has type 'dma_addr_t' Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
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-21rename dvb_pll_tbmv30111in to dvb_pll_samsung_tbmvMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-21Kill nxt2002 in favor of the nxt200x moduleMichael Krufky
From: Michael Krufky <mkrufky@m1k.net> - Kill nxt2002 module in favor of nxt200x. - Repair broken nxt2002 support in the nxt200x module. - Make the flexcop driver use nxt200x instead of the nxt2002 module for the Air2PC 2nd generation PCI card. - Remove the nxt2002 module from cvs and kernel build. Signed-off-by: Michael Krufky <mkrufky@m1k.net> CC: Kirk Lapray <kirk.lapray@gmail.com> CC: Taylor Jacob <rtjacob@earthlink.net> CC: Jean-Francois Thibert <jeanfrancois@sagetv.com>
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>
2006-01-06Latest patch #ifs were wrong. fixing.Mauro Carvalho Chehab
kernel-sync. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-13[PATCH] Decrease number of pointer derefs in flexcop-fe-tuner.cPatrick Boettcher
From: Jesper Juhl Here's a small patch to decrease the number of pointer derefs in drivers/media/dvb/b2c2/flexcop-fe-tuner.c Benefits of the patch: - Fewer pointer dereferences should make the code slightly faster. - Size of generated code is smaller - Improved readability -- orig: text data bss dec hex filename 3072 424 0 3496 da8 drivers/media/dvb/b2c2/flexcop-fe-tuner.o patched: text data bss dec hex filename 3041 424 0 3465 d89 drivers/media/dvb/b2c2/flexcop-fe-tuner.o -- Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-12-08keep #if 0 for existent code when genreating kernel patchesMauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-07#elifs replaced since gentree.pl script is not able to handle elifs.Mauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-26Whitespaces cleanups.Mauro Carvalho Chehab
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-11-13[PATCH] fix b2c2 dvb undefined symbolMichael Krufky
This fixes drivers/built-in.o: In function `flexcop_frontend_init': : undefined reference to `lgdt330x_attach' [ Side note: I really dislike that dvb people want to include every possible frontend into the kernel - I only need the mt312 one for my Skystar2 card. I'd highly appreciate it this would be made selectable again... ] git commit: 44e6f84e3597905816a0440e7218d2ed072120da Signed-off-by: Prakash Punnoor <prakash@punnoor.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-15Added support for Air2PC/AirStar 2 ATSC 3rd generation (HD5000)Michael Krufky
Signed-off-by: Taylor Jacob <rtjacob@earthlink.net> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-03Remove broken stv0299 enhanced tuning codeAndrew de Quincy
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-10adding special stv0297-driver for the Technisat/B2C2 CableStar2 PCI and USBPatrick Boettcher
devices (USB untested) This driver could also be used with other stv0297-based cards, but someone has to do it. The CableStar2's stv0297-driver is tested with QAM32/64/128/256 and has a very nice reception-qualitiy. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-07-26Update w.r.t stv0297 frontend driver changes.Andrew de Quincy
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2005-07-16Pass a pointer to the i2c bus to the pll callbacks (stv0299 only).Andreas Oberritter
It was not possible to tell which i2c bus should be used if an adapter has multiple frontends on multiple i2c buses.
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-27gcc-2.95 compile fix (ISO C90 forbids mixed declarations and code)Johannes Stezenbach
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2005-06-22no-data (IRQ-stop) problem (partially) fixed by resetting register 0x300 at ↵Patrick Boettcher
each data_rcv-stop small change in register-struct restructured code in dma-handling (added some comments regarding FCIIb limitations) debug-messages and irq-watchdog (disabled by default, but maybe needed later) added Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-06-12add big-endian register definitions for running on a PowerPC. (Thanks to ↵Patrick Boettcher
Paavo Hartikainen for testing) Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-05-15added support for the Broadcom BCM3510 ATSC (8VSB/16VSB & ITU J83 AnnexB FEC ↵Patrick Boettcher
QAM64/256) demodulator used in the first generation of Air2PC ATSC PCI-cards/USB-boxes made by B2C2. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-05-11Fixed DiSeqC switching, which was wrongly taking over from skystar2.c.Patrick Boettcher
Thanks to Joerg Riechardt for finding the bug and testing the Fix. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-05-05drop obsolete skystar2 driver (superseeded by flexcop-pci)Johannes Stezenbach
2005-05-05merge whitespace cleanups from kernel treeJohannes Stezenbach
2005-04-28- rewrote the i2c-reading-part (no more ack-error ignoring, which was ↵Patrick Boettcher
inherited from the skystar2-driver) - some minor cleanups
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-11corrected the hw-filtering again. (Don't do things before breakfast)...Patrick Boettcher
2005-04-11- enabled the HW PID by default for the PCI cardsPatrick Boettcher
- correct the TS demux parsing when PID filter is enabled (and thus the timer IRQ) - rewrote the PID-filter and FULLTS control part in flexcop-hw-filter (thanks to Krzysztof Matula for pointing that out)
2005-04-07- fixed interrupt-sharing and added a spinlock to the irq-callback (was ↵Patrick Boettcher
broken due the rewrite and my foolishness), Thanks to Pascal Riekenberg for pointing out)
2005-04-07whitespace cleanup for the flexcop-driver, no functional changePatrick Boettcher
2005-03-31reading MAC address directly into dvb_adapter->proposed_macPatrick Boettcher
2005-03-21Patch by Vadim CatanaPatrick Boettcher
- driver receives many null TS packets (pid=0x1fff). They occupy the limited USB bandwidth and this leads to loss of video packets. Enabling the null packet filter fixes this. - packets that flexcop sends to USB have a 2 byte header that has to be removed. - sometimes a TS packet is split between different urbs. These parts have to be combined in a temporary buffer. Thanks a lot.
2005-03-19 - Patch by Olaf Titz: gcc 2.95 compile fixesKenneth Aafloy
2005-03-17b2c2: follow dvb_register_adapter changes in dvbdev.[ch]Andreas Oberritter
2005-03-13From : http://kerneljanitors.org/TODOJohannes Stezenbach
- convert from pci_module_init to pci_register_driver Signed-off-by: Christophe Lucas <c.lucas at ifrance.com> Signed-off-by: Domen Puncer <domen@coderock.org>
2005-03-11- patch by Amit Gud (unify the spinlock initialization)Patrick Boettcher
- debug parameter can be changed via sysfs by root now
2005-03-09 - kfree(NULL) is safeKenneth Aafloy
2005-03-09- moved the flexcop-driver-suite to linux/driversPatrick Boettcher
- adapted build-2.6 (removed skystar2 from insmod.sh) - corrected some bugs in Kconfig - tried compilation with linux 2.6.11 (as module and as compiled-in-driver)
2005-03-05removed all traces of the USB driver in linux/driver../b2c2 dirPatrick Boettcher
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>
2005-02-10- fixed MAC address reading (eeprom address to read, was not correctly set, ↵Patrick Boettcher
respectively overwritten)
2005-02-06added a note to inform people about b2c2/ in dvb-kernel rootPatrick Boettcher
2005-01-30Updated email addressRoberto Ragusa
2005-01-26remove duplicated pci_release_region() etc.Johannes Stezenbach
2005-01-21various backport from 2.6.11-rc1:Michael Hunold
- replace static spinlock initializations with spin_lock_init() - add le16_to_cpu() macros to various values aquired via USB - add __user annotations to user space pointers