summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci/av7110.c
AgeCommit message (Collapse)Author
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
2003-02-20ensure that poll_wait() is always called in poll()Holger Waechtler
2003-02-19- don't use etags target for default builds -- I don't have etags installed. ↵Holger Waechtler
You can still explictily run 'make tags' - fixed a type in av7110.c introduced in my previous commit
2003-02-19add vendor/device id for nexus cardsHolger Waechtler
2003-02-18ring buffer cleanupOliver Endriss
2003-02-15added av7110_ir_init/exit calls to make remote control work againOliver Endriss
2003-02-13outcom sanity checks and code readability reviewHolger Waechtler
2003-02-11firmware update from DVB HEAD (CI link layer, new FW version number,Johannes Stezenbach
"too old" warning)
2003-02-11- restructured build-2.4 stuff so it is no longer necessary toJohannes Stezenbach
copy videodev.h and videodev2.h to /usr/src/linux/include/ - merged av7110.c error message and COM_DEBUG stuff from DVB-HEAD - added a insmod.sh which uses modules from pwd, to avoid 'make install'
2003-02-11apply fix ring_buffer_free() logic in ci_ll_reset() contributed by Oliver ↵Holger Waechtler
Endriss <o.endriss@gmx.de>
2003-02-09fixed a missing 'return' statement (reported by Oliver Endriss ↵Klaus Schmidinger
<o.endriss@gmx.de>)
2003-02-07Fixed overwriting slot number in CA_GET_SLOT_INFO.Klaus Schmidinger
2003-01-17apply fix by <emard@softhome.net> in order to set demux_id correctlyHolger Waechtler