summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-12-29Major cleanup: the goal is to get rid of the budget card <=> saa7146.o <=> ↵Michael Hunold
videodev.o dependency, so we can later split up the av7110 driver into a av7110 and budget card driver. I tested this on 2.4.18-3 (original RedHat 7.3 kernel) and 2.5.53. Changes in detail: saa7146: - fixed the unitialised timer warnings - split saa7146.o into saa7146.o and saa7146_vv.o: all videodev (ie. v4l) related stuff is now encapsulated in saa7146_vv.o. the extension (ie. mxb or dvb-ttpci) now has to make sure to register the v4l devices via helper functions provided by saa7146_vv mxb: - changes to make the driver compile with the new saa7146 and saa7146_vv parts - fix the vbi bypass issue for MXBs with saa7146, rev. 1 card av7110: - changes to make the driver compile with the new saa7146 and saa7146_vv parts - some changes related to the upcoming av7110 <=> budget splitup, but they are commented out - changed the saa7146 PAL values to experimental values that look good to me, but kept the old values as a comment. where are the original values from? there is a big black border on most channels on the left side which annoyed me... - changed from video/generic_usercopy() to dvb_usercopy() and put this into the source code, not into compat.c - moved the crc_32* stuff from compat.c to the source file where it is used - now compat.[ch] was removed completely, all references were deleted from all other files. other: - updated the README and TODO files - changed "makelinks" to remove alps_bsru6 stuff from kernel when making the symlinks - fixed the build files in "build-2.4" - fixed all other files needed for 2.5.x kernel build
2002-12-28Added fix for fidbirq() related crashes for budget cards: simply ignoreMichael Hunold
obviously bogus dmapos values.
2002-12-28- added timeout handling for i2c_writeout(); it seems that theJohannes Stezenbach
SAA7146 does not generate an I2C error irq when we are probing for a non-existant device (so there's neither an ACK nor a NACK at the end of the address phase) - don't request the I2C error irq anymore, since it isn't currently being handled; we just wait for the /BUSY irq or timeout; if there were errors during transmission they will still be detected from the status register after the /BUSY irq - added some more debug to hw_interrupt() TODO: I think SAA7146_I2C_TIMEOUT is too large; 10ms should do?
2002-12-28don't hang uninterruptibly when opening the frontend deviceJohannes Stezenbach
and something goes very wrong with the kdvb-fe thread
2002-12-26removed comma at end of enumerator listAndreas Oberritter
2002-12-25As promised, I changed the "retry-loop" to the style of the "old" saa7146Michael Hunold
driver. I doesn't do any harm for my analog drivers and apparently fixes some bugs related to some frontends/tuners, who expect certain start/stop cycles. Please check if these tuners work now...
2002-12-23generic stv0299 driver by Peter Schildmann <peter.schildmann@web.de>Holger Waechtler
replaces the old BSRU6 driver..
2002-12-23Removed some leftover bogus debugging messages, cleaned up the TODOMichael Hunold
file to reflect the latest changes.
2002-12-23For some unobvious reason, analog cards (ie. the MXB) and digital cardsMichael Hunold
(ie. the av7110) handle the odd/even fields differently. I added a new field to the extension, which holds special flags of the extension and the device. I declared the MXB way of handling fields as "normal", so the av7110 extension sets SAA7146_EXT_SWAP_ODD_EVEN here. @Holger: I added some superfluous "struct saa7146_dev *dev" variables back to some functions. These cause ugly warnings at compile time, I admit, but they are necessary if you want to use the debug macros to trace a saa7146 register for example. Please leave them in for now -- I need this when I switch between old-DVB / old-MXB <=> new-DVB / new-MXB drivers and try to hack out the differences.
2002-12-23Changed the debug messages to use a similar system like saa7146, it'sMichael Hunold
possible to create a complete call trace now. (You can #if 0 this out, if you are concerned about runtime drawbacks...)
2002-12-23Official patch for "get_ac3_info()" by Holger.Michael Hunold
(applied by me because he's already at home...)
2002-12-22Fixed one wrong IER_DISABLE (look at the commented out version below,Michael Hunold
copy & paste error), removed duplicate dvb_register_i2c_bus() call, removed all references to RPS0, it's not used at all. (this fixes the capturing problems)
2002-12-22Changed i2c_writeout() and the irq handler to use a waitqueueMichael Hunold
instead of busy waiting for an i2c transaction to finish. Left the old method in there. if you need it (or if i screwed up), set "use_i2c_irq" to zero in saa7146_i2c.c to get the old behaviour.
2002-12-22EXPORT_NO_SYMBOLS is no longer needed in drivers.Michael Hunold
2002-12-22"get_ac3info" is referenced by av7110.o, but the symbol is notMichael Hunold
exported. Holger, you made a change a few days ago, introducing av7110_ipack.c and this. If this is intended, you should give it a new name with the "dvb" prefix.
2002-12-20Reintroduce video_copy - it's still needed by dvb-coreFlorian Schirmer
2002-12-20Compat stuff for 2.4Florian Schirmer
2002-12-20Remove stale exportsFlorian Schirmer
2002-12-20- move ipack handling into av7110_ipack.[hc]Holger Waechtler
- more namespace cleaning
2002-12-20 - fix the not-checked-return value at start_feed() bugHolger Waechtler
- code review + simplification - use const pointers in section and ts callbacks
2002-12-20Removed the dependecy to i2c-core from saa7146 and av7110,Michael Hunold
changed mxb to (un)register the i2c adapter by itself
2002-12-20fix saa7146 debug settingJohannes Stezenbach
2002-12-20cure for:Johannes Stezenbach
saa7146.h:34: warning: `BUG_ON' redefined /usr/src/linux-2.4.20/include/linux/kernel.h:197: warning: this is the location of the previous definition
2002-12-20More compile fixes to allow a flawless static build, changed theMichael Hunold
READMEs accordingly, compile fixes for the mxb driver.
2002-12-19Necessary changes for static build.Michael Hunold
2002-12-19Necessary fixes to the saa7146_core to allow the driver toMichael Hunold
be build statically into the kernel.
2002-12-19__devexit_p(saa7146_remove_one)Holger Waechtler
2002-12-19removed bogus whitespacesHolger Waechtler
2002-12-19allow statically built kernelHolger Waechtler
2002-12-19use down_interruptible()Holger Waechtler
2002-12-19make 'standard' staticHolger Waechtler
2002-12-19static declarations where possibleHolger Waechtler
2002-12-19Remove __stringify define, because it's in include/linux/stringify.h.Michael Hunold
2002-12-19The IER should be cleared in config_a_device, otherwise it's possible thatMichael Hunold
unwanted interrupts are raised. (copy & paste bug)
2002-12-17stop fe thread without FE_SLEEP if shutdown timeout is 0Andreas Oberritter
2002-12-17Misc. build fixes (beautification, remove some unnecessary printks)Michael Hunold
for the new saa7146 core, the mxb driver and the saa7111 driver.
2002-12-17Add the video4linux driver for the "Multimedia eXtension Board",Michael Hunold
an analogue tv card based on the saa7146. Warning: Makefile and Kconfig will most likely be changed by Gerd Knorr as well, so be sure to change these accordingly. Warning2: "saa7111" is already available in the kernel, but needs to be modified, as well as "video_decoder" in include/linux
2002-12-17Some build fixes. Removed "makecrosslinks" because it won't workMichael Hunold
anymore.
2002-12-17Remove most of the compatiblilty crap from "compat.h", the newMichael Hunold
saa7146 does not need the stuff any more. Propagate these changes to some of the files. Remove unnecessary stuff from the Makefile,
2002-12-17Change the av7110 to use the new saa7146 core, necessary changesMichael Hunold
to the Makefile.
2002-12-17Remove old saa7146 driver core used for the av7110.Michael Hunold
2002-12-17Add the new saa7146 driver core to media/common.Michael Hunold
2002-12-09audio status patch by Honza Petrous <hop@unibase.cz>Holger Waechtler
2002-12-06 - rename kdvb-fe to kdvb-fe-%i:%i (adapter/id)Holger Waechtler
- rename arm_mon thread to kdvb-av7110 - don't start high priority frontend thread before first tuning
2002-12-05fixed DMX_GET_PES_PIDS declarationJohannes Stezenbach
2002-12-05get the fe->thread thing rightHolger Waechtler
2002-12-05applied patch suggested by Oliver Endriss <o.endriss@gmx.de> in order to avoidHolger Waechtler
race conditions while starting threads
2002-12-04call reparent_to_init() after daemonize ()Holger Waechtler
2002-11-27apply fix by Micael Beronius <micael.beronius@telia.com> in order to release theHolger Waechtler
reset bit in autoinversion code
2002-11-26one more parenthesis bug fixHolger Waechtler