summaryrefslogtreecommitdiff
path: root/linux
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-05-14Fixes after dvb_tuner_ops-conversionPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Some of the dvb_tuner_ops-pointer were set before having a dvb_frontend creating. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-05-12Removed blank line to be in sync with kernelMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-11Adjust VBI offset to match value reported in VBI formatMauro Carvalho Chehab
From: Trent Piepho <xyzzy@speakeasy.org> The actual offset of the start of VBI data is incorrectly documented for both the cx2388x and bt8x8. For the cx2388x, it appears to be about 220 to 224 + VBI_V_DEL*2. The driver has been incorrectly reporting an offset of 244. This patch adjusts VBI_V_DEL to 10, so that the offset of 244 is correct. This is the same offset as the bttv driver, and expected by some software. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-09Cx88 NTSC VBI fixesMauro Carvalho Chehab
From: Michael Schimek <mschimek@gmx.at> Hi, VBI (Closed Caption, CC) capturing never worked in NTSC mode with the cx88 driver. They were tested with libzvbi and a patched version of tvtime. Signed-off-by: Michael H. Schimek <mschimek@gmx.at> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-08Compat.h were missing in vivi.c. Fixed.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Without compat.h, it were not compiling for kernel <2.6.15 kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-08merge: http://linuxtv.org/hg/~manu/dvbmathMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-08make the table staticManu Abraham
From: Christoph Pfister <christophpfister@bluemail.ch> Signed-off-by: Christoph Pfister <christophpfister@bluemail.ch> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2006-05-08Add missing includeManu Abraham
From: Manu Abraham <manu@linuxtv.org> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2006-05-07merge: http://linuxtv.org/hg/~mkrufky/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-07revert manu's multiproto patch by his ask.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-07merge: http://linuxtv.org/hg/~manu/dvbmathMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-07merge: http://linuxtv.org/hg/~manu/multiprotoMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-07bug-fix: pvrusb2 must #include <linux/config.h> for compile-time optionsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Added necessary header file in order for kconfig build options to be considered at compile time. Without this patch all options will always be disabled, regardless of whether they are selected or not. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Mike Isely <isely@pobox.com>
2006-05-06cx88: add autodetection for another Twinhan VP-3054 board.Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Added autodetection for PCI subsystem id 1822:0019 to use the card definition for CX88_BOARD_DNTV_LIVE_DVB_T_PRO Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-05-06Add math routines required by DVB demodsManu Abraham
From: Christoph Pfister <christophpfister@bluemail.ch> Signed-off-by: Christoph Pfister <christophpfister@bluemail.ch> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2006-05-05Add frontend support for new Delivery systems and modulationsManu Abraham
-DVB-S2, 8PSK and higher order modulations, some advanced DVB-S2 features require additional support at the demux level -DVB-T, Add support for HP/LP stream selection -DVB-H, Add basic support to the frontend API -DSS, basic frontend API support only, will require additional support at the demux level Ack'd by: Marcel Siegert <mws@linuxtv.org> Acked-by: Andrew de Quincey <adq_dvb@lidskialf.net> Ack'd by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2006-05-05merge: http://linuxtv.org/hg/~quincy/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-04pvrusb2: use encoder firmware filename defined in cx2341x.hMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch removes the explicit definition of the cx23416 encoder firmware image filename, in favor of CX2341X_FIRM_ENC_FILENAME as defined in cx2341x.h Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Mike Isely <isely@pobox.com>
2006-05-04Fix CI interface on KNC1 DVBT and DVBC cardsAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> These cards need special handling for CI - reinitialising the frontend device when the CI module is reset. Additionally the tda10021 needs to be set into a different transport stream mode when a CI module is present. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-05-04cx88-blackbird: use encoder firmware filename defined in cx2341x.hMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Since the filename of the cx23416 encoder firmware image is defined in cx2341x.h, we don't need to explicitly define it in cx88-blackbird.c anymore. This changeset removes BLACKBIRD_FIRM_ENC_FILENAME, replacing all occurrances with CX2341X_FIRM_ENC_FILENAME. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-05-03fix build for older gcc's that dont support compiler macros in a function callMichael Krufky
From: Julian Scheel <julian@jusst.de> This patch fixes the build when using older gcc-versions which do not support compiler-macros in a function-call. Signed-off-by: Julian Scheel <julian@jusst.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-05-03[ALSA] add __devinitdata to all pci_device_idMauro Carvalho Chehab
From: Henrik Kretzschmar <henne@nachtwindheim.de> kernel-sync: Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-02i2c-compat.h were duplicated at linux/include. removing.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This file is meant only to make compatibility with kernel 2.4. Shouldn't stay at linux/*. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-02merge: from masterMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-02Removed obsoleted CVS filesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Those files were used on cvs tree. they make no sense for hg. kenel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-02[PATCH] Last DMA_xBIT_MASK cleanupsMauro Carvalho Chehab
These are the last conversions of pci_set_dma_mask(), pci_set_consistent_dma_mask() and pci_dma_supported() to use DMA_xBIT_MASK constants from linux/dma-mapping.h kernel-sync: Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-02merge: http://linuxtv.org/hg/~mkrufky/blackbirdMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-02Reverted from previous patch since it is not requiredMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-02Fix checking logic for a broken xawtv versionMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> moved from if to ifndef. Also added such tests at gentree script. Gentree updated to its latest version. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-02Pwc-dec23 oops fixMauro Carvalho Chehab
From: akpm@osdl.org <akpm@osdl.org> drivers/media/video/pwc/pwc-dec23.c: In function `pwc_dec23_decompress': drivers/media/video/pwc/pwc-dec23.c:885: warning: null argument where non-null required (arg 2) Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-02Core: ULE fixes and RFC4326 additionsMauro Carvalho Chehab
From: Christian Praehauser <cpraehaus@cosy.sbg.ac.at> Fix some problems regarding support for Unidirectional Lightweight Encapsulation (ULE) in dvbnet.c. The original ULE code was based on a draft. In the meantime, ULE has been published in RFC 4326 (ftp://ftp.rfc-editor.org/in-notes/rfc4326.txt). With these fixes, and some additions (which are included in the patch), the decaps code should now be complient to RFC4326. Signed-off-by: Christian Praehauser <cpraehaus@cosy.sbg.ac.at> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-02Fix CONFIG_VIDEO_VIVI=y build bugMauro Carvalho Chehab
From: Ingo Molnar <mingo@elte.hu> CONFIG_VIDEO_VIVI depends on CONFIG_VIDEO_BUF. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-30cx88-blackbird: pause the encoder during frequency changeMichael Krufky
From: Valentin Zagura <puthre@gmail.com> Added code to cx88-blackbird.c to treat the VIDIOC_S_FREQUENCY ioctl to stop mpeg stream before changing the frequency and restart it after. It seems that the mpeg stream needs to be paused while changing the channel frequency, otherwise the mpeg encoder enters into a bad state, producing artifacts. Signed-off-by: Valentin Zagura <puthre@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-28merge: from ~mkrufky/blackbird.fwMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-28Bt8xx/bttv-cards.c: fix off-by-one errorsMauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> This patch fixes two off-by-one errors spotted by the Coverity checker. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-28Em28xx/: possible cleanupsMauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> This patch contains the following possible cleanups: - make the following needlessly global functions static: - em28xx-core.c: em28xx_accumulator_set() - em28xx-core.c: em28xx_capture_area_set() - em28xx-core.c: em28xx_scaler_set() - em28xx-core.c: em28xx_isocIrq() - remove the following unused EXPORT_SYMBOL's: - em28xx-cards.c: em28xx_boards - em28xx-cards.c: em28xx_bcount - em28xx-cards.c: em28xx_id_table Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-28merge: http://linuxtv.org/hg/~mcisely/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-28merge: http://linuxtv.org/hg/~quincy/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-28Add missing pll gate control callsAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> I'd missed some of these out, breaking the av7110 tuning. I then checked for more and added them in where necessary. They may not actually be necessary in all these locations, but if not, they'll simply have no effect. Add small delay to stv0299 pll gate control to fix tuning problems. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-28Support new dvb-ttusb-budget boards with stv0297Andrew de Quincey
From: Thomas Kaiser <linux-dvb AT kaiser-linux.li> Added config switch to stv0297 to control i2c STOP during write behaviour. Update frontend init in dvb-ttusb-budget. Enable i2c STOP on other users of stv0297. Signed-off-by: Thomas Kaiser <linux-dvb AT kaiser-linux.li> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-28Add isl6421 moduleAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Driver for the ISL6421 LNB chip Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-28Convert lnbp21 to a moduleAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Convert lnbp21.h into a linux kernel module. Fix up previous users to use it. Convert dvb-ttusb-budget to use it. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-27Vivi.c: possible cleanupsMauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> This patch contains the following possible cleanup: - make needlessly global functions static - remove unused #ifndef kzalloc kzalloc() #define - remove inline's from functions Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-27Compilation for DVB_AV7110_FIRMWARE seems to be weirdMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Some systems use a previous config information to generate a default config. This seems to cause troubles on some systems. This patch fixes compilation for AV7110 firmware inside V4L/DVB tree. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-27Fix VIDEO_DEV=m, VIDEO_V4L1_COMPAT=yMauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> If CONFIG_VIDEO_DEV=m and CONFIG_VIDEO_V4L1_COMPAT=y, v4l1-compat should be built as a module (currently, it isn't built at all leading to problems with modules using it). Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-27Patch reverted since it is broken.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-27Disable stv0297_cs2 code from being used normally.Andrew de Quincey
From: Mauro Carvalho Chehab <mchehab@infradead.org> stv0297_cs2 should be merged into the main stv0297. In order not to lose information we have come up with this temporary compromise. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-27merge: http://linuxtv.org/hg/~mkrufky/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-27Make bt866 and ks0127 work at V4L/DVB treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>