summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
AgeCommit message (Collapse)Author
2008-04-26backported kernel changeset cbfa6f2a684e9fb7d6a5025b3893b8f93112683cMauro Carvalho Chehab
From: Tobias Klauser <tklauser@distanz.ch> DVB: Storage class should be before const qualifier The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-26A few CodingStyle fixesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-26Remove dvb-core/KconfigMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Their contents were moved into drivers/media/Kconfig. Remove the uneeded Kconfig. kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-26Move other terrestrial tuners to common/tunersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Those tuners are currently used only under media/dvb. However, they can support also analog TV. Better to move them to the same place as the other hybrid tuners. This would make easier to use those tuners also by analog drivers. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-26reorganize some DVB-S Kconfig itemsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> There are some DVB-S tuners together with DVB-S tags, while others together with tuners. Better to have all of them together. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-26From: Mauro Carvalho Chehab <mchehab@infradead.org>Mauro Carvalho Chehab
Move tuners to common/tuners There were several issues in the past, caused by the hybrid tuner design, since now, the same tuner can be used by drivers/media/dvb and drivers/media/video. This patch moves those common tuners into a common dir. It also moves saa7146 driver into drivers/media/video, where other hybrid drivers are placed. Kconfig items were rearranged, to split V4L/DVB core from their drivers. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-25merge: http://www.linuxtv.org/hg/~stoth/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-24s5h1411: Adding support for this ATSC/QAM demodulatorSteven Toth
From: Steven Toth <stoth@hauppauge.com> This adds full support for this demodulator. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-04-25 mt312.h: dubious one-bit signed bitfieldMauro Carvalho Chehab
From: Harvey Harrison <harvey.harrison@gmail.com> Make it unsigned (0/1) rather than signed (0/-1). Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-25 xc3028_{agc,bw}_config namespace fixMauro Carvalho Chehab
From: Adrian Bunk <bunk@kernel.org> This patch fixes the following build error: <-- snip --> ... LD drivers/media/built-in.o drivers/media/dvb/built-in.o:(.data+0x1be6c): multiple definition of `xc3028_agc_config' drivers/media/video/built-in.o:(.data+0x36500): first defined here drivers/media/dvb/built-in.o:(.data+0x1be9c): multiple definition of `xc3028_bw_config' drivers/media/video/built-in.o:(.data+0x36530): first defined here make[3]: *** [drivers/media/built-in.o] Error 1 <-- snip --> Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-24drx397xD: fix math usageMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> The previous code were using a div64 math specific to i386. Replace for an asm-generic one. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-08-09This patch adds support for the Micronas DRX3975D/DRX3977D DVB-TMauro Carvalho Chehab
demodulator. The module needs an external firmware file. The module has been tested on a Pinnacle 330e, but with modules that are currently not part of the linux-dvb tree. So consider this highly experimental, don't use this code unless you are an experienced kernel developer. Signed-off-by: Henk Vergonet <henk.vergonet@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-22tda10048: Adding an SNR tableSteven Toth
From: Steven Toth <stoth@hauppauge.com> Trying to improve the SNR reporting. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-04-22dib7000p: Add output mode param to the attach structMauro Carvalho Chehab
From: Steven Toth <stoth@hauppauge.com> This allows future drivers to select the most appropriate output mode. Signed-off-by: Steven Toth <stoth@hauppauge.com> Reviewed-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-21merge: http://linuxtv.org/hg/~endriss/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-21merge: http://linuxtv.org/hg/~hhackmann/v4l-dvb/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-21tuner-xc2028: Several fixes to SCODEMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This patch fixes several issues on SCODE: 1) The extracting tool weren't generating the proper tags for SCODE. This has almost no effect, since those tags shouldn't be used; 2) DIBCOM52 were using a wrong IF. It should be 5200, instead of 5700; 3) seek_firmware were wanting an exact match for firmware type. This is wrong. As result, no SCODE firmware were loaded; 4) A few files were including the wrong file for seeking demod firmwares; 5) XC3028_FE_DEFAULT can be used, if user doesn't want to load a firmware. However, this weren't documentated. This feature require more testing. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-21budget: Support for Activy budget card with BSBE1 tunerOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Add support for Activy budget card with BSBE1 tuner, subsystem id 0x1131:0x4f60. Low band and DiSEqC support should work now (BSBE1 and BSRU6 tuner). Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-21stv0299: Fixed some typosOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Fixed some typos. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-20stv0299: Add flag to turn off OP0 outputOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Add flag to turn off OP0 output. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-20bsbe1: Use settings recommended by the manufacturerOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Reworked the BSBE1 tuner support in bsbe1.h to follow the ALPS-recommended parameters more closely. Tested with BSBE1-based Activy cards and TT DVB-S rev 2.3. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-20dvb-core: Implement DMX_SET_BUFFER_SIZE for dvrOliver Endriss
From: Andrea Odetti <mariofutire@gmail.com> Implementation of DMX_SET_BUFFER_SIZE for dvr. Synchronization of the code of DMX_SET_BUFFER_SIZE for demux and dvr. Signed-off-by: Andrea Odetti <mariofutire@gmail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-20dvb-core: Fix DMX_SET_BUFFER_SIZE in case the buffer shrinksOliver Endriss
From: Andrea Odetti <mariofutire@gmail.com> This patch fixes the bug in DMX_SET_BUFFER_SIZE for the demux. Basically it resets read and write pointers to 0 in case they are beyond the new size of the buffer. Signed-off-by: Andrea Odetti <mariofutire@gmail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-18Adding support for the NXP TDA10048HN DVB OFDM demodulatorSteven Toth
From: Steven Toth <stoth@hauppauge.com> Adding support for the NXP TDA10048HN DVB OFDM demodulator Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-04-18au8522: fix a small bug introduced by Checkpatch cleanupMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-18CodingStyle fixes for au8522 and au0828Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-17au8522: CleanupSteven Toth
From: Steven Toth <stoth@hauppauge.com> au8522: Cleanup Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-04-14tda826x: Calculate cut off fequency from symbol rateHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> This patch makes the tuner work with transonders providing higher symbol rates. It was contributed by Oliver Endriss Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2008-04-13tda10086 coding stlye fixesHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> This patch replaces the c++ style comments. No functional changes Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2008-04-10au8522: consolidate mse2snr_lookup functionsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> consolidate au8522_qam256_mse2snr_lookup, au8522_qam64_mse2snr_lookup and au8522_vsb_mse2snr_lookup into a single function, au8522_mse2snr_lookup. Pass the mse2snr table into au8522_mse2snr_lookup depending on the modulation type. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-09au8522: Added SNR support and basic cleanupSteven Toth
From: Steven Toth <stoth@hauppauge.com> au8522: Added SNR support and basic cleanup Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-04-10tda10086: make the xtal frequency a configuration optionHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> Some DVB-S boards, i.e. with the SD1878 tuner, use a 4 MHz reference frequency. This reqires a different setup of the clock PLL. This patch adds an enum to the tda10086_config struct and sets the proper values for the boards. This patch also fixes the DVB-S section of the MD7134_BRIDGE_2 Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
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>
2008-04-11merge:http://linuxtv.org/hg/~endriss/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-09budget: Add support for Fujitsu Siemens DVB-T Activy BudgetOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Implement support for Fujitsu Siemens DVB-T Activy Budget, sub-system id 0x1131:0x5f61. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-09budget-av: Fix CI interface on (some) KNC1 DVBS cardsOliver Endriss
From: Christoph Pfister <pfister@linuxtv.org> Quoting the commit introducing reinitialise_demod (3984 / by adq): "These cards [KNC1 DVBT and DVBC] need special handling for CI - reinitialising the frontend device when the CI module is reset." Apparently my 1894:0010 also needs that fix, because once you initialise CI/CAM you lose lock. Signed-off-by: Christoph Pfister <pfister@linuxtv.org> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-09budget-av: Fix support for certain camsOliver Endriss
From: Christoph Pfister <pfister@linuxtv.org> The current ci implementation doesn't accept 0xff when reading data bytes (address == 0), thus breaks cams which report a buffer size of 0x--ff like my orion one. Remove the 0xff check altogether, because validation is really the job of a higher layer. Signed-off-by: Christoph Pfister <pfister@linuxtv.org> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-08media/dvb/ttusb-dec replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-08media/dvb/ttusb-budget replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-08media/dvb/ttpci replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-08media/dvb/frontends replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-08media/dvb/dvb-usb replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-08media/dvb/dvb-core replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-08media/dvb/cinergyT2 replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-08media/dvb/bt8xx replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-08media/dvb/b2c2 replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-05au8522: add function au8522_read_mseMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> add function au8522_read_mse, which will be used to compute snr TO DO: mse2snr Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-05au8522: fix au8522_read_ucblocks for qamMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> ucblocks are reported in separate registers for vsb & qam Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-02s5h1409: fix blown-away bit in function s5h1409_set_gpioMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Preserve all other bits when setting gpio. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-04-02au8522: replace __FUNCTION__ with __func__Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> replace __FUNCTION__ with __func__ and clean associated checkpatch.pl warnings. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>