summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci/av7110.c
AgeCommit message (Collapse)Author
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
2003-05-06Add a new "dvb_functions.c" and populate it with theMichael Hunold
"kernel_thread_setup()" (now: dvb_kernel_thread_setup()) and dvb_usercopy() function. Because of the fact that we want to separate the dvb subsystem, it's sometimes necessary to have some wrapper functions (for example dvb_delay() or dvb_kernel_thread_setup()) to encapsulate linux kernel facilities that can't be expressed as a one-liner. The place for such functions is "dvb_functions.c". By this, we can get rid of "dvb_compat.h" for 2.5 completely. Hooray! I hope I did not break everything again, some cleanup is expected for the build-template stuff, though.
2003-04-30- introduce dvb_functions.h in order to make the dvb subsystemMichael Hunold
less dependent on the linux kernel. here is the place to store additional dvb_* functions, which encapsulate linux kernel functionality which cannot be expressed as a one-liner - rename ddelay() to dvb_delay(), move it to dvb_functions.h - change all files to include dvb_functions.h instead of dvb_compat.h - compile fix for the saa7111 driver
2003-04-29try to get the DVB-C volume control thing right, probe the MSP3400 only for ↵Holger Waechtler
DVB-C cards
2003-04-28apply patch proposed by Oliver Endriss <o.endriss@gmx.de> to solve the audioHolger Waechtler
problems in conjunction with the MSP3400 volume control for non-DVB-C cards
2003-04-28don's send burst after DiSEqC commands, reported by Wolfgang Thiel ↵Holger Waechtler
<w-thiel@gmx.net>
2003-04-27Fixed setting the PCR PIDKlaus Schmidinger
2003-04-26Revert ddelay() cleanup, discuss this first with Holger.Michael Hunold
2003-04-25fix syntax errors to get it compile again.Holger Waechtler
2003-04-25Lots of cosmetic changes in order to sync the CVS withMichael Hunold
the version that made it into the 2.5.68 kernel. - remove unnecessary c++-style comments - fixed some line breaks and the style function headers are formatted: please don't argue with me about these changes, I don't care how they are formatted. - remove newline breaks between memory allocation and the return value check Some more interesing stuff: - remove ddelay() functions completly, replace with set_current_state() and manual schedule_timeout() calls. - made some init data for the mxb driver static and global (patch already send to lkml) Some crucial changes: - inherit some return values Mr. Alan Cox has changed -- please review
2003-04-24assume ADAC_TI in case of failed audio module initialisation and keep debi lockHolger Waechtler
in debiirq (oops case). patch contributed by Artur Skawina <as@telkab.pl>
2003-04-24fix for VIDEO_STILLIMAGE to allow removal of the I-frameJohannes Stezenbach
with VIDEO_STOP w/o having to close the device
2003-04-24- #include "compat.h" --> #include "dvb_compat.h"Holger Waechtler
- return POLL_ERR in case of filter timeout
2003-04-23enable msp3400 volume control for vendor id 0x13c2, too. Reported by Andreas ↵Holger Waechtler
Kool <akool@akool.de>
2003-04-23volume control patch for msp3400 by Tobias Bratfisch <tobias.dvb@bratfisch.net>Holger Waechtler
2003-04-23fixed awkward locking bug for video event queueJohannes Stezenbach
2003-04-22- removed the compatibility crap around KBUILD_MODNAME from all drivers,Michael Hunold
use KBUILD_BASENAME for 2.4 instead ­ some changes to the i2c core to make it work with both 2.4 and late 2.5 kernels (not done yet -- only interesting for analog drivers) - add MODULE_DEVICE_TABLE to all drivers, so that pci "hotplug" can detect the devices automatically. Alan Cox says, that we should use this to load the firmware (not done yet) - fix the long standing "insmod/rmmod with multiple budget cards" bug -- it was a double kfree() call...
2003-04-22As announced last week:Johannes Stezenbach
Video API change for VIDEO_EVENT_SIZE_CHANGED and VIDEO_GET_SIZE ioctl, and VIDEO_FORMAT_221_1. Implemented video events for VIDEO_EVENT_SIZE_CHANGED (use poll(2) with POLLPRI) and ioctl VIDEO_GET_SIZE.
2003-04-19Reporting LL support in CA_GET_CAP depending on actual FW versionKlaus Schmidinger
2003-04-15remove name/vendor/id strings, these caused only troubles everywhere and ↵Holger Waechtler
nobody really needs them...
2003-04-12fixed race condition between ChangePIDs() and av7110_before_after_tune()Oliver Endriss
when tuning to a new transponder with vdr, the audio pid was not passed to the ARM firmware under some circumstances
2003-04-10merge firmware fix for DMX_GET_STC from DVB CVSJohannes Stezenbach
2003-04-08merge DMX_GET_STC implementation from DVB driverJohannes Stezenbach
2003-04-03ChangePIDs(): always set PCR-pid.Oliver Endriss
This fixes the A/V sync problems with LL-firmware, if only video or audio pids are changed.
2003-04-01restore IR control word after arm crashOliver Endriss
2003-03-21- more portability changes, move ddelay() into compat.hHolger Waechtler
- introduce kernel_thread_setup() function to encapsulate linux process model related stuff
2003-03-19scale volume settings conforming to the TLC320AD80C data sheet,Holger Waechtler
thanks to Thomas Breuer <tb@tb-electronic.de> for analyzing this!!
2003-03-17added module parameter "hw_sections"Andreas Oberritter
0: get ts section packets from arm and filter them using the software demux 1: let the arm filter sections in hardware (default) software demux is more stable - it does not crash the arm under high load ;)
2003-03-02s/av7710/av7110/;Andreas Oberritter
2003-02-26fixed slot_typeAndreas Oberritter
2003-02-26small fix to audio playback poll() ringbufferJohannes Stezenbach
(untested, please review)
2003-02-24pes_play(): apply fix provided by Regis Bossut <rbossut(at)auchan(dot)com>:Oliver Endriss
do not sync on (invalid) stream ids 0xf0..0xff