summaryrefslogtreecommitdiff
path: root/linux/include
AgeCommit message (Collapse)Author
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-19First try to use pci_consistent_dma() throughout the whole saa7146Michael Hunold
driver subsystem.
2003-05-08- added SEC_VOLTAGE_OFF to the APIJohannes Stezenbach
- implemented SEC_VOLTAGE_OFF for stv0299 and alps_bsrv2
2003-05-06Remove "linux/wrapper.h" -- it has been removed in 2.5 and is notMichael Hunold
needed for 2.4 compilation.
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-24- #include "compat.h" --> #include "dvb_compat.h"Holger Waechtler
- return POLL_ERR in case of filter timeout
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-03-22fixed userspace typesAndreas Oberritter
2003-03-21even more portability stuffHolger Waechtler
2003-03-21many more portability changesHolger Waechtler
2003-03-21 - include "compat.h" always, we definitely need this trashcan...Holger Waechtler
- replaced uint32_t and friends by u32 & co., for now only in frontend.h - everything else will take us in hell when we start to port this driver...
2003-03-20Small changes all over the place:Michael Hunold
- sync Kconfig and Makefiles with 2.5.65 - fix various things in saa7146 because of latest v4l changes in 2.5.65 - makelinks: removed the compat module from the 2.5.x build process - makelinks: removed the linkage of ttusb and bt8xx -- enable this again for the next patches, when ttusb is more stable and the bt8xx related patches have been applied by Gerd Knorr - dvb: removed the compat module from the 2.5.x build process, added #ifdefs around the inclusion of compat.h. this was necessary because having compat code in the newest 2.5.x kernel is awkward. - dvb: move around of dvb_usercopy again. because I removed the compat module from the 2.5.x build process, dvb_usercopy had to be moved to another file - dvb: change MOD_*_USE_COUNT to module_get/module_put in various files, but I'm not sure if I did this right. please review these changes. - dvb: removed the crc32 code from dvb_demux.c, because it's in compat.c, too. - dvb: removed some cruft from dvd_i2c.c, which is present in compat.h - all files: apply small fixes to reflect the new location of some header files
2003-03-20Move important *internal* kernel header files to include/media.Michael Hunold
2003-03-19add a flag FE_CAN_RECOVER to frontend capabilities. When you set this flagHolger Waechtler
kdvb-fe won't try to tune multiple times, it won't try to zigzag, nothing.
2003-03-07added ioctl DMX_GET_STCJohannes Stezenbach
2003-03-07- add _DVB prefix to local defines in public include filesHolger Waechtler
- add explicit dependency rules
2003-02-16#include <time.h>Andreas Oberritter
2003-02-16typoAndreas Oberritter
2003-02-07add complete 'enum xxxx {} xxxx_t' conventions everywhereHolger Waechtler
2003-02-03NET_GET_IF ioctl implementation contributed by <lymes@tiscalinet.it>Holger Waechtler
2003-01-30#include <time.h>Andreas Oberritter
2002-12-26removed comma at end of enumerator listAndreas Oberritter
2002-12-09audio status patch by Honza Petrous <hop@unibase.cz>Holger Waechtler
2002-12-05fixed DMX_GET_PES_PIDS declarationJohannes Stezenbach
2002-11-21added CA_DESCR supportJohannes Stezenbach
2002-11-18add FE_CAN_CLEAN_SETUP bit to avoid unnecessairy zigzag delay when usingHolger Waechtler
demodulators which can set new parameters without artifacts
2002-10-28fix file name in bannerHolger Waechtler
2002-10-17oops, wrong directory...Holger Waechtler
2002-10-17coding styleHolger Waechtler
2002-10-17include filesHolger Waechtler
2007-01-30Change VIDIOC_DBG_[SG]_REGISTER ioctls' register address to 64 bitsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Maybe someday there will be a device with a register address space > 32-bits, or maybe an i2c device which uses a protocol > 4 bytes long to address its registers. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-01-25Make vivi driver to use vmalloced pointersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Before this patch, vivi were simulating a scatter gather DMA transfer. While this is academic, showing how stuff really works on a real PCI device, this means a non-optimized code. There are only two memory models that vivi implements: 1) kernel alloced memory. This is also used by read() method. On this case, a vmalloc32 buffer is allocated at kernel; 2) userspace allocated memory. This is used by most userspace apps. video-buf will store this pointer. a simple copy_to_user is enough to transfer data. The third memory model scenario supported by video-buf is overlay mode. This model is not implemented on vivi and unlikely to be implemented on newer drivers, since now, most userspace apps do some post-processing (like de-interlacing). After this patch, some cleanups may be done at video-buf.c to avoid allocating pages, when the driver doesn't need a PCI buffer. This is the case of vivi and usb drivers. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-01-23Make VIDIOC_INT_[SG]_REGISTER ioctls no longer internal onlyTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The direct register access ioctls were defined as kernel internal only, but they are very useful for debugging hardware from userspace and are used as such. Officially export them. VIDIOC_INT_[SG]_REGISTER is renamed to VIDIOC_DBG_[SG]_REGISTER Definition of ioctl and struct v4l2_register is moved from v4l2-common.h to videodev2.h. Types used in struct v4l2_register are changed to the userspace exportable versions (u32 -> __u32, etc). Use of VIDIOC_DBG_S_REGISTER requires CAP_SYS_ADMIN permission, so move the check into the video_ioctl2() dispatcher so it doesn't need to be duplicated in each driver's call-back function. CAP_SYS_ADMIN check is added to pvrusb2 (which doesn't use video_ioctl2). Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-01-23merge: http://linuxtv.org/hg/~tap/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-01-22Restore VIDIOC_INT_[SG]_REGISTER callsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Add support for these ioctls to the video_ioctl2 system and the cx88 driver. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>