summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci/av7110.c
AgeCommit message (Collapse)Author
2004-01-05- removed now useless test for current->files in recover_arm()Johannes Stezenbach
- coding style / formatting fixes (mostly whitespace)
2004-01-05- removed some unused fields from struct av7110Johannes Stezenbach
- retab
2004-01-05Split av7110.c into a few separate modules:Johannes Stezenbach
- av7110.c: initialization and demux stuff - av7110_hw.c: lowlevel hardware access and firmware interface - av7110_ca.c: CI and ECD - av7110_av.c: audio/video MPEG decoder and remuxing stuff - av7110_v4l.c: v4l interface It's all still ugly and needs lots of namespace and coding-style cleanups. It's probably broken, too. But it's a start. (My main motivation is easier porting to the V4 API).
2004-01-02- fix release of vbi device with DVB-C cardsMichael Hunold
2003-12-27Memory optimization: do not allocate firmware buffer if firmware is compiled ↵Oliver Endriss
into the driver. Saves 220KB vmem.
2003-12-24- use CONFIG_DVB_AV7110_FIRMWARE_FILE if we need to vfree() the firmwareMichael Hunold
strucure, not the kernel version number
2003-12-21- add Kconfig foo to select a firmware that can be compiled into theMichael Hunold
firmware again - move fdump.c utility from "ttusb-dec" to "ttpci", it's not need by "ttusb-dec" anymore, but by "ttpci" now
2003-12-21- apply dvb-ttpci/av7110 firmware removal from 2.6.0 patch here, too, but:Michael Hunold
the firmware is still compiled into the driver for 2.4 by default, the necessary files are created dynamically from the firmware file. get it from http://www.linuxtv.org/download/dvb/dvb-ttpci-01.fw - revamp fdump utility to be smarter when the source file isn't there
2003-12-08Add a parameter to dvb_filter_pes2ts function to specify whether the packetAlex Woods
is a payload unit start or not.
2003-11-25introduced flag SAA7146_I2C_SHORT_DELAY to speed up I2C accessOliver Endriss
2003-11-25increased I2C speed to 275 kHzOliver Endriss
2003-11-20- move saa7146_set_gpio() from saa7146_vv to saa7146_coreMichael Hunold
- add "new" saa7146_wait_for_debi_done() function, remove other versions from av7110 and budget.ci - make budget-ci use this gpio function and the new wait_...() function, therefore fix BORROWED_FROM_AV7110_H_BUT_REALLY_BELONGS_IN_SAA7146_DEFS_H remark
2003-11-06patch by Karl Herz: add "rgb_on" module paramterJohannes Stezenbach
2003-10-22- remove SAA7146_EXT_SWAP_ODD_EVEN flag + handlingMichael Hunold
- hopefully fix field handling for DVB-S cards with progressive mpeg
2003-10-17- add missing VBI line decoding initialization to saa7113 codeMichael Hunold
2003-10-15Explicit cast of "floating point" number (IMHO the compiler makesMichael Hunold
this automatically) as suggested by Linus Torvalds.
2003-10-15Remove bogux BUG() that I inserted to track down a driver oops.Michael Hunold
2003-10-14Include 2.6 kernel janitor cleanups (eliminate #include duplication, shiftMichael Hunold
includes around) -- I don't care much about this...
2003-10-13Fixed distortions when switching channel while recordingKlaus Schmidinger
2003-10-09- backfeed patches from 2.6.0-test7, which have not gone through our cvs:Michael Hunold
- janitorial fixes (mostly return code handling) - spelling fixes in Kconfig files - line breaks to re-formatting
2003-10-09Add the proper vertical line offset again, I changed this for someMichael Hunold
vbi experiments. This should fix the gargabe lines at the top of the picture with the analog module. Sorry!
2003-10-06- add some debug and safety checks for video/vbi capture buffer handlingMichael Hunold
- fix init/exit of vbi capable devices - add new flag SAA7146_USE_PORT_B_FOR_VBI, so we can distinguish on which video port to apply the vbi workaround - add del_timer(...) for vbi capture queue and vbi_read timers, otherwise the kernel timer schedule oopses - add vbi device handling for dvb-c cards with analog module (does not work yet, have to setup the saa7113 decoder differently)
2003-10-06Rule 1: always compile check even the smallest change.Michael Hunold
2003-10-05Use "dev->has_analog_tuner" to decide when special dvb-c handling isMichael Hunold
required, instead of parsing the subsystem id all the time. The dvb-c detection has to be fixed nevertheless...
2003-10-05Fix DD1_INIT handling of DVB-C w/ analog module installed. Thanks to Jon BurgessMichael Hunold
for spotting this!
2003-09-28some work for DVB-C analog module:Johannes Stezenbach
- experimentally fix frequency offset - initialize msp3400 for analog TV sound
2003-08-30applied 64bit fixes by Pedro Miguel Teixeira <pmsjt@warner.homeip.net>Holger Waechtler
2003-08-22- play_iframe may be used to play stillpicture frames, that can eitherMichael Hunold
by complete i-frames or partial p-frames. In any case, the av7110 needs about 400kB of video data, before the internal video decoder starts displaying anything. for stillframes, this is bad, so we *always* loop writing the frame until the magic amount is reached. stupid, but works...
2003-08-21Port the latest video device changes (multiple read device opens)Michael Hunold
to "dvb-kernel", change the av7110 driver accordingly.
2003-08-11If somebody calls G_TUNER for a DVB-C card w/ analog module, thenMichael Hunold
check for the selected tuner, not if the currently selected channel has a tuner.
2003-07-22- really fix get_stcMichael Hunold
2003-07-16- Use c99 initializersMichael Hunold
2003-07-07Make the "ext_vv_data" informations a per-device information insteadMichael Hunold
of a per-extension information. This is needed for the DVB-C cards, which seem to have swapped field order and need to propagate some video4linux specific stuff for the analog module to work.
2003-07-04fix DMX_GET_STC to get the msb rightJohannes Stezenbach
2003-06-21code review, use adap->num instead of card_num field, card_num and dev_num ↵Holger Waechtler
are deprecated -- to be removed. register network device for bt8xx cards
2003-06-18When I submitted the last patchset for the 2.5 kernel series,Michael Hunold
Alan Cox reformatted the code to follow his coding style when he fixed the merge bugs. This patch now introduces these coding style changes, so that we don't wipe out his changes with the next patchset.
2003-06-17move debug print after variable declarationsJohannes Stezenbach
(patch by Andrew de Quincey)
2003-06-17add some MODULE_PARM_DESC for modinfoJohannes Stezenbach
2003-06-15build fixes. please do a test compile before committing to cvs.Andreas Oberritter
2003-06-15Improved performance when setting palette with full 256 color OSD (untested, ↵Klaus Schmidinger
see DVB for tested version)
2003-06-13read MAC from EEPROM if available, contributed by Michael Glaum <mglaum@kvh.com>Holger Waechtler
2003-06-05Some more stuff regarding the dvb-c analog module:Michael Hunold
the picture is looking good now, although it seems that the fields are still swapped. strange...
2003-06-03Here comes the "dvb-c analog module hack"Michael Hunold
- if the analog module is detected, the saa7113 is initialized and some more v4l2 ioctls are available. you can use "xawtv" now to switch between "dvb" and "analog" input. when you are one the "analog" input, you can tune in analog channels with the cursor keys via v4l2. currently, this is a big hack -- tuning is not mutually exclusive, so "szap" and v4l2 tuning can interfere with each other. the demodulator address is hardcoded to 0x09. Other changes: - changed the saa7146 ioctl parameters, give out the data of the current device open "fh" (=> "file handle"), not the pointer to the device structure "dev". It is "dev = fh->dev". Some stuff does not work: - analog audio does not work. does the msp3400 need to be reprogrammed? - one field is "missing", so the picture is very bad and capturing does not work neither. this needs to be investigated by looking at the programming the windows driver uses for the saa7146
2003-05-27- remove enumeration typedefsMichael Hunold
- change some includes
2003-05-27Here comes a huge cleanup patch in order to get the sources intoMichael Hunold
"kernel shape": I mainly changed all "typedef struct foo_s {...} foo_t" to "struct foo {}". Please don't start a policy war, I know the pros cons of typedefs and structures. We should, however, stick to the coding rules of the kernel: typedefed structs are only used for opaque data types, where the internal representation is irrelevant and we have get()/set() functions for accessing them (ie. spinlock_t)
2003-05-20Some more ppc-compilation fixes:Michael Hunold
- void* arguments can only be casted safely to unsigned long - some debug print fixes where types did not match But: the debi stuff in av7110 needs to be rewritten, because u32 arguments are used as pointers, too... 8-/
2003-05-14add new device id, reported by Daniel Heemann <daniel.heemann@gmx.de>Holger Waechtler
2003-05-12commented out "buffer empty" printkJohannes Stezenbach
2003-05-08changed auto-detection of full-featured cards:Oliver Endriss
| if (crystal chip present) | av7110->adac_type = DVB_ADAC_CRYSTAL; | else if (MSP34xx chip present) | av7110->adac_type = DVB_ADAC_MSP; | else if (av7110->saa->device->subsystem_vendor == 0x110a) | av7110->adac_type = DVB_ADAC_NONE; | else | av7110->adac_type = adac; The adac parameter will only be used if the card cannot be autodetected.
2003-05-07fix blocking in VIDEO_STILLPICTURE when a video PES filter was setJohannes Stezenbach
with DMX_OUT_TS_TAP (recording); return EBUSY instead